Decompile Research of PowerPC Assembly Program

Yan-zhao LIU,Yin-liang ZHAO,Wan-jie WU
DOI: https://doi.org/10.3969/j.issn.1673-629X.2015.08.001
2015-01-01
Abstract:Decompilation is the process of converting binary program or assembly program into high level code with good readability, which plays a vital role in code understanding,code maintenance and code safety verification. In this paper,introduce a decompilation framework based on PowerPC assembly program and its main techniques. The framework consists of the frontend, which includes the loading of the assembly programs,the semantic description and the decoding of the instruction set,the middle end,which includes data flow analysis,type analysis and control flow analysis,and the back end,which is responsible for code generation. The main techniques consist of translation of switch sentence,goto sentence of elimination by code duplication and translation of instruction idiom. Experimen-tal results show that the generated high level code improves in both structure and readability,there’ s a guiding significance in code under-standing.
What problem does this paper attempt to address?