Title :
Program Normalization for Removing Code Variations
Author :
Wang Tiantian ; Su Xiaohong ; Ma Peijun
Author_Institution :
Dept. of Comput. Sci., Harbin Inst. of Technol., Harbin
Abstract :
Code variations are widely believed to impede program analysis. This paper introduces a program normalization approach to remove code variations. Semantic-preserving transformations are performed on the system dependence graphs of programs. As a result, various syntactically different but semantically equivalent constructs are transformed to the same system dependence graph representation, so that code variations are removed. This approach establishes a good framework for testing the semantic equivalence of source codes and it can facilitate program analysis.
Keywords :
graph theory; program diagnostics; code variations; program analysis; program normalization; semantic-preserving transformations; source code semantic equivalence; system dependence graphs; Computer languages; Computer science; Control systems; Impedance; Programming profession; Software engineering; Switches; Testing; code variation removal; program normalization; program transformation; system dependence graph;
Conference_Titel :
Computer Science and Software Engineering, 2008 International Conference on
Conference_Location :
Wuhan, Hubei
Print_ISBN :
978-0-7695-3336-0
DOI :
10.1109/CSSE.2008.957