首页 | 本学科首页   官方微博 | 高级检索  
     

PPC和MIPS指令集下二进制代码中函数参数个数的识别方法
作者姓名:尹小康  刘鎏  刘龙  刘胜利
作者单位:数学工程与先进计算国家重点实验室,河南 郑州 450001
基金项目:国家重点研发计划基金(2016YFB0801505);科技委基础加强项目(2019-JCJQ-ZD-113)
摘    要:函数参数个数的识别有助于函数原型的恢复,是进行数据流分析以及其他安全分析的基础。为了提高对函数参数个数识别的准确率,提出一种依据函数调用关系的投票机制来确定函数参数个数的算法——Findargs。Findargs从PPC和MIPS指令集的函数调用特点出发,利用函数调用关系和参数传递分析,识别函数参数的个数,为函数原型的恢复提供帮助。为了评估Findargs的识别效果,选取大型的二进制文件进行了测试,并与radare2进行了对比。实验结果表明,Findargs具有更高的准确率。对于PPC指令集,其准确率达到90.3%;对于MIPS指令集,其准确率为86%。

关 键 词:静态分析  函数调用分析  参数个数识别  投票机制  

Function argument number identification in stripped binary under PPC and MIPS instruction set
Authors:Xiaokang YIN  Liu LIU  Long LIU  Shengli LIU
Affiliation:State Key Laboratory of Mathematical Engineering and Advanced Computing,Zhengzhou 450001,China
Abstract:The identification of the number of function argument contributes to the recovery of the function prototype and is the basis for data flow analysis and other security analysis.In order to improve the accuracy of the recognition of the number of function parameters,an algorithm (Findargs) which determines the number of parameters of the function according to the voting mechanism of the function call relationship was proposed.Findargs starts from the function call characteristics of PPC and MIPS instruction set,and uses function call relationship combined with argument pass analysis to identify the number of function arguments,which can help to recover function prototype.In order to evaluate the recognition effect of Findargs,a large binary file was selected and tested it with radare2.The experiments results show that Findargs has higher accuracy,and the accuracy rate for PPC instruction set reaches 90.3%.For MIPS instruction set,the accuracy rate is 86%.
Keywords:static analysis  function call resolve  argument number identification  voting mechanism  
点击此处可从《》浏览原始摘要信息
点击此处可从《》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号