Differencing Algorithm for Decompilation Code and Source Code

曹孟春,陈凯明
DOI: https://doi.org/10.3969/j.issn.1000-3428.2009.04.013
2009-01-01
Abstract:There are many differences between the codes produced by existing decompilers and the corresponding source codes.To find and understand these differences can help to improve and refine the design of decompiler.This paper presents a differencing algorithm for decompilation code and source code of a C program.This algorithm is based on syntax tree matching method.A new C program intermediate representation is defined and a dynamic expression matching method is proposed to improve the accuracy of the syntax tree matching method.Experimental results show that this algorithm is able to find out most differences between decompilation code and source code.
What problem does this paper attempt to address?