亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

Semantic Understanding of Source and Binary Code based on Natural Language Processing

计算机科学 源代码 程序设计语言 编译程序 二进制数 二进制代码 系统代码 理论计算机科学 算法 解码方法 算术 低密度奇偶校验码 数学
作者
Zhongtang Zhang,Shengli Liu,Qichao Yang,Shichen Guo
标识
DOI:10.1109/imcec51613.2021.9482032
摘要

With the development of open source projects, a large number of open source codes will be reused in binary software, and bugs in source codes will also be introduced into binary codes. In order to detect the reused open source codes in binary codes, it is sometimes necessary to compare and analyze the similarity between source codes and binary codes. One of the main challenge is that the compilation process can generate different binary code representations for the same source code, such as different compiler versions, compilation optimization options and target architectures, which greatly increases the difficulty of semantic similarity detection between source code and binary code. In order to solve the influence of the compilation process on the comparison of semantic similarity of codes, this paper transforms the source code and binary code into LLVM intermediate representation (LLVM IR), which is a universal intermediate representation independent of source code and binary code. We carry out semantic feature extraction and embedding training on LLVM IR based on natural language processing model. Experimental results show that LLVM IR eliminates the influence of compilation on the syntax differences between source code and binary code, and the semantic features of code are well represented and preserved.

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
7秒前
科研通AI2S应助科研通管家采纳,获得10
7秒前
白华苍松发布了新的文献求助10
13秒前
14秒前
香蕉觅云应助tt采纳,获得10
15秒前
26秒前
27秒前
tt发布了新的文献求助10
30秒前
33秒前
35秒前
xin发布了新的文献求助10
38秒前
米饭儿完成签到 ,获得积分10
39秒前
58秒前
白华苍松发布了新的文献求助10
1分钟前
1分钟前
科研通AI6应助xin采纳,获得30
1分钟前
1分钟前
百里幻竹发布了新的文献求助10
1分钟前
Shicheng完成签到,获得积分10
1分钟前
1分钟前
yuon发布了新的文献求助10
1分钟前
1分钟前
Lucas应助tt采纳,获得10
1分钟前
李爱国应助Jerry采纳,获得10
1分钟前
1分钟前
浮游应助zhangyuanyue1234采纳,获得10
1分钟前
2分钟前
白华苍松发布了新的文献求助10
2分钟前
shhoing应助科研通管家采纳,获得10
2分钟前
领导范儿应助TZMY采纳,获得10
2分钟前
2分钟前
2分钟前
白华苍松发布了新的文献求助10
2分钟前
2分钟前
TZMY发布了新的文献求助10
2分钟前
yuon完成签到,获得积分10
2分钟前
2分钟前
2分钟前
nessa完成签到 ,获得积分10
2分钟前
Criminology34应助de采纳,获得10
2分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
List of 1,091 Public Pension Profiles by Region 1581
以液相層析串聯質譜法分析糖漿產品中活性雙羰基化合物 / 吳瑋元[撰] = Analysis of reactive dicarbonyl species in syrup products by LC-MS/MS / Wei-Yuan Wu 1000
Biology of the Reptilia. Volume 21. Morphology I. The Skull and Appendicular Locomotor Apparatus of Lepidosauria 600
The Scope of Slavic Aspect 600
Foregrounding Marking Shift in Sundanese Written Narrative Segments 600
Red Book: 2024–2027 Report of the Committee on Infectious Diseases 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 物理化学 基因 遗传学 催化作用 冶金 量子力学 光电子学
热门帖子
关注 科研通微信公众号,转发送积分 5538641
求助须知:如何正确求助?哪些是违规求助? 4625711
关于积分的说明 14596757
捐赠科研通 4566378
什么是DOI,文献DOI怎么找? 2503216
邀请新用户注册赠送积分活动 1481345
关于科研通互助平台的介绍 1452701