Title :
A Control Flow Graph Reconstruction Method from Binaries Based on XML
Author :
Yin Wenjian ; Jiang Liehui ; Yin Qing ; Zhou Lina ; Li Jizhong
Author_Institution :
Nat. Digital Switching Syst. Eng. & Technol. Res. Center, Zhengzhou, China
Abstract :
The first step of decompilation and other reverse analysis for binary codes is constructing control flow graph of program. Due to the loss of structure in compiled code, extracting a control flow graph from an executable is not simply a matter. The usual way which scans the branch instructions in the disassembly file and creates the CFG can not suitable for multiply architecture and file format. This paper analyzes the structure of assembly program and designs a data information description language based on XML-reverse meta language, which is to describe structured disassembling information and then brings forward the control flow graph reconstruction algorithm. This method abstracts disassembly representations and supports multiple architectures. The testing result shows that this method can reconstruct control flow graph of binaries effectively.
Keywords :
XML; data flow analysis; data flow graphs; program assemblers; program compilers; program control structures; XML; assembly program; binary codes; data flow analysis; data information description language; program control flow graph reconstruction method; reverse meta language; Abstracts; Algorithm design and analysis; Assembly; Binary codes; Data mining; Flow graphs; Information analysis; Reconstruction algorithms; Testing; XML; Control Flow Graph; Decompilation; Reverse Meta Language; XML;
Conference_Titel :
Computer Science-Technology and Applications, 2009. IFCSTA '09. International Forum on
Conference_Location :
Chongqing
Print_ISBN :
978-0-7695-3930-0
Electronic_ISBN :
978-1-4244-5423-5
DOI :
10.1109/IFCSTA.2009.176