DocumentCode :
1885003
Title :
Matching Control Flow of Program Versions
Author :
Nagarajan, Vijay ; Gupta, Rajesh ; Xiangyu Zhang ; Madou, Marc ; De Sutter, Bjorn
Author_Institution :
Univ. of California, Riverside
fYear :
2007
fDate :
2-5 Oct. 2007
Firstpage :
84
Lastpage :
93
Abstract :
In many application areas, including piracy detection, software debugging and maintenance, situations arise in which there is a need for comparing two versions of a program that dynamically behave the same even though they statically appear to be different. Recently dynamic matching [18] was proposed by us which uses execution histories to automatically produce mappings between instructions in the two program versions. The mappings then can be used to understand the correspondence between the two versions by a user involved in software piracy detection or a comparison checker involved in debugging of optimized code. However, if a program´s control flow is substantially altered, which usually occurs in obfuscation or even manual transformations, mappings at instruction level are not sufficient to enable a good understanding of the correspondence. In this paper, we present a comprehensive dynamic matching algorithm with the focus on call graph and control flow matching. Our technique works in the presence of aggressive control flow transformations (both interprocedural such as function Mining/outlining and intraprocedural such as control flow flattening) and produces mappings of interprocedural and intraprocedural control flow in addition to mapping between instructions. We evaluated our dynamic matching algorithms by attempting to match original program with versions that were subjected to popular obfuscation and control flow altering transformations. Our experimental results show that the control flow mappings produced are highly accurate and complete, for the programs considered.
Keywords :
computer crime; program debugging; software maintenance; aggressive control flow transformations; call graph; comprehensive dynamic matching algorithm; matching control flow; piracy detection; program versions; software debugging; software maintenance; Application software; Automatic control; Computer crime; Heuristic algorithms; History; Impedance matching; Manuals; Programming profession; Software debugging; Software maintenance;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Maintenance, 2007. ICSM 2007. IEEE International Conference on
Conference_Location :
Paris
ISSN :
1063-6773
Print_ISBN :
978-1-4244-1256-3
Electronic_ISBN :
1063-6773
Type :
conf
DOI :
10.1109/ICSM.2007.4362621
Filename :
4362621
Link To Document :
بازگشت