DIRE:一种反编译标识符的神经网络方法
DIRE: A Neural Approach to Decompiled Identifier Naming
摘要:
反编译器是检查没有相应源代码的二进制文件的最常用工具之一。它将二进制文件转换为高级代码,反转编译过程。反编译器可以重建在编译过程中丢失的大部分信息(例如,结构和类型信息)。不幸的是,它们不能重构语义上有意义的变量名,而这可以提高代码的可理解性。我们提出了反编译标识符重命名引擎(DIRE),一种新的概率技术变量名称恢复,使用词法和结构信息恢复的反编译器。我们还提出了一种用于生成语料库的技术,该语料库适合于训练和评估反编译代码重命名的模型,我们使用该技术创建了一个由164,632个从GitHub挖掘的C项目生成的唯一x86-64二进制文件组成的语料库。我们的研究结果表明,在这个语料库中,DIRE可以预测变量名称相同的原始源代码中的名称高达74.3%的时间。
英文摘要:
The decompiler is one of the most common tools for examining binaries without corresponding source code. It transforms binaries into high-level code, reversing the compilation process. Decompilers can reconstruct much of the information that is lost during the compilation process (e.g., structure and type information). Unfortunately, they do not reconstruct semantically meaningful variable names, which are known to increase code understandability. We propose the Decompiled Identifier Renaming Engine (DIRE), a novel probabilistic technique for variable name recovery that uses both lexical and structural information recovered by the decompiler. We also present a technique for generating corpora suitable for training and evaluating models of decompiled code renaming, which we use to create a corpus of 164,632 unique x86-64 binaries generated from C projects mined from GitHub. Our results show that on this corpus DIRE can predict variable names identical to the names in the original source code up to 74.3% of the time.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。