Chinese Journal of Network and Information Security ›› 2020, Vol. 6 ›› Issue (4): 95-103.doi: 10.11959/j.issn.2096-109x.2020047

• Papers • Previous Articles     Next Articles

Function argument number identification in stripped binary under PPC and MIPS instruction set

Xiaokang YIN,Liu LIU,Long LIU,Shengli LIU()   

  1. State Key Laboratory of Mathematical Engineering and Advanced Computing,Zhengzhou 450001,China
  • Revised:2019-10-13 Online:2020-08-15 Published:2020-08-13
  • Supported by:
    The National Key R&D Program of China(2016YFB0801505);Science & Technology Commission Foundation Strengthening Project(2019-JCJQ-ZD-113)

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%.

Key words: static analysis, function call resolve, argument number identification, voting mechanism

CLC Number: 

No Suggested Reading articles found!