Neutron: an attention-based neural decompiler

来源 :网络空间安全科学与技术(英文版) | 被引量 : 0次 | 上传用户:lovelywd
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
Decompilation aims to analyze and transform low-level program language (PL) codes such as binary code or assembly code to obtain an equivalent high-level PL.Decompilation plays a vital role in the cyberspace security fields such as software vulnerability discovery and analysis,malicious code detection and analysis,and software engineering fields such as source code analysis,optimization,and cross-language cross-operating system migration.Unfortunately,the existing decompilers mainly rely on experts to write rules,which leads to bottlenecks such as low scalability,development difficulties,and long cycles.The generated high-level PL codes often violate the code writing specifications.Further,their readability is still relatively low.The problems mentioned above hinder the efficiency of advanced applications (e.g.,vulnerability discovery) based on decompiled high-level PL codes.In this paper,we propose a decompilation approach based on the attention-based neural machine translation (NMT) mechanism,which converts low-level PL into high-level PL while acquiring legibility and keeping functionally similar.To compensate for the information asymmetry between the low-level and high-level PL,a translation method based on basic operations of low-level PL is designed.This method improves the generalization of the NMT model and captures the translation rules between PLs more accurately and efficiently.Besides,we implement a neural decompilation framework called Neutron.The evaluation of two practical applications shows that Neutron's average program accuracy is 96.96%,which is better than the traditional NMT model.
其他文献
对病人的病情进行观察是急诊护理中的一个重要内容,急诊患者随时都有可能出现生命的危险,通过对患者病情的观察可以及时发现病情变化情况,从而降低疾病所带来的风险,进一步为患者
期刊
水库工程作为我国水旱灾害防御体系的重要组成部分,对防洪减灾、供水、灌溉等方面至关重要,采取非工程措施支撑水库大坝安全管理必不可少.以湖北省吴岭水库为研究对象,基于水
对于6A系统,机车走行部检测子系统属于较为重要的部分之一,通过数据分析软件可对机车走行过rn程中各部件的状态进行预警,并为机车检修作业工作者提供技术参考,可保证装配该系统的
日常生活中,经常可以看到很多病人迫切的希望可以药到病除,一旦他们觉得用药后并没有取得满意的效果,很快就会更换药物,或者听其他患者说某种药物起效快,就快速的换药。另外,有些患
期刊