2021 Volume E104.D Issue 3 Pages 370-380
It is well-known that pushdown systems (PDS) effectively preserve regularity. This property implies the decidability of the reachability problem for PDS and has been applied to automatic program verification. The backward regularity preservation property was also shown for an extension of PDS by adding registers. This paper aims to show the forward regularity preservation property. First, we provide a concise definition of the register model called register pushdown systems (RPDS). Second, we show the forward regularity preservation property of RPDS by providing a saturation algorithm that constructs a register automaton (RA) recognizing $\post^{\ast}_\calP(L(\calA))$ where $\calA$ and $\calP$ are a given RA and an RPDS, respectively, and $\post^{\ast}_\calP$ is the forward image of the mapping induced by $\calP$. We also give an example of applying the proposed algorithm to malware detection.