Abstract:
This paper proposes a generic module analysis algorithm for code at assembly level in majority of processors with different architectures. A formal description for the algorithm and the recording method for module analysis results are given. Experimental data based on the implementation of the algorithm in binary code assistant analysis system (BCAAS) demonstrate that the algorithm can be used towards binary code in different kinds of processors and achieves relatively high speed and accuracy.
Key words:
Program comprehension,
Control flow,
Basic block,
Disassembly,
Binary analysis
摘要: 提出了一种对主流微处理器汇编级代码在汇编级进行模块分析的算法,给出了该算法的形式化描述和模块分析结果的记录方法,根据该算法在汇编级代码辅助分析系统中的应用情况取得了实验数据。实验表明,该算法在多款处理器目标代码的分析过程中都有较高的模块分析速度与准确度。
关键词:
程序理解,
控制流,
基本块,
反汇编,
二进制分析
CLC Number:
JIANG Liehui; ZHOU Bo; FEI Qinfu; HE Hongqi; HAN Xiaokun; ZHANG Youwei. Design of Recursive Module Analysis Algorithm for Code at Assembly Level[J]. Computer Engineering, 2007, 33(11): 44-46.
蒋烈辉;周 博;费勤福;何红旗;韩小琨;张有为. 一种递归式汇编级代码模块分析算法设计[J]. 计算机工程, 2007, 33(11): 44-46.