Callee: Recovering Call Graphs for Binaries with Transfer and Contrastive Learning

计算机科学 杠杆(统计) 学习迁移 模糊测试 人工智能 假阳性悖论 调用图 二进制数 传输(计算) 深层神经网络 机器学习 理论计算机科学 深度学习 程序设计语言 软件 操作系统 算术 数学
作者
Wenyu Zhu,Zhiyao Feng,Zihan Zhang,Jianjun Chen,Zhijian Ou,Min Yang,Chao Zhang
标识
DOI:10.1109/sp46215.2023.10179482
摘要

Recovering binary programs’ call graphs is crucial for inter-procedural analysis tasks and applications based on them. One of the core challenges is recognizing targets of indirect calls (i.e., indirect callees). Existing solutions all have high false positives and negatives, making call graphs inaccurate. In this paper, we propose a new solution Callee combining transfer learning and contrastive learning. The key insight is that, deep neural networks (DNNs) can automatically identify patterns concerning indirect calls. Inspired by the advances in question-answering applications, we utilize contrastive learning to answer the callsite-callee question. However, one of the toughest challenges is that DNNs need large datasets to achieve high performance, while collecting large-scale indirect-call ground truths can be computational-expensive. Therefore, we leverage transfer learning to pre-train DNNs with easy-to-collect direct calls and further fine-tune DNNs for indirect-calls. We evaluate Callee on several groups of targets, and results show that our solution could match callsites to callees with an F1-Measure of 94.6%, much better than state-of-the-art solutions. Further, we apply Callee to two applications – binary code similarity detection and hybrid fuzzing, and found it could greatly improve their performance.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
bear050462完成签到 ,获得积分10
1秒前
2秒前
3秒前
jja881完成签到,获得积分20
3秒前
王锐完成签到,获得积分10
3秒前
4秒前
上官若男应助wq采纳,获得20
4秒前
李爱国应助噗咔咔ya采纳,获得10
5秒前
5秒前
科研黑猫完成签到,获得积分10
5秒前
5秒前
三桥aq发布了新的文献求助10
6秒前
6秒前
6秒前
6秒前
没事放放羊完成签到,获得积分20
6秒前
6秒前
6秒前
7秒前
香蕉觅云应助李昕123采纳,获得10
8秒前
8秒前
8秒前
9秒前
闪闪含灵完成签到,获得积分10
9秒前
ddwdwdwdddw完成签到,获得积分10
9秒前
9秒前
9秒前
10秒前
10秒前
11秒前
大模型应助zhaoyantai采纳,获得10
11秒前
12秒前
周涛完成签到,获得积分10
13秒前
冷静初蓝发布了新的文献求助10
14秒前
坚定尔蓝发布了新的文献求助10
14秒前
ddwdwdwdddw发布了新的文献求助10
14秒前
小米发布了新的文献求助10
15秒前
王金金发布了新的文献求助10
15秒前
熙熙攘攘发布了新的文献求助10
15秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Handbook of pharmaceutical excipients, Ninth edition 5000
Aerospace Standards Index - 2026 ASIN2026 3000
Digital Twins of Advanced Materials Processing 2000
Polymorphism and polytypism in crystals 1000
Signals, Systems, and Signal Processing 610
Discrete-Time Signals and Systems 610
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 纳米技术 有机化学 物理 生物化学 化学工程 计算机科学 复合材料 内科学 催化作用 光电子学 物理化学 电极 冶金 遗传学 细胞生物学
热门帖子
关注 科研通微信公众号,转发送积分 6039643
求助须知:如何正确求助?哪些是违规求助? 7770373
关于积分的说明 16227396
捐赠科研通 5185621
什么是DOI,文献DOI怎么找? 2775054
邀请新用户注册赠送积分活动 1757877
关于科研通互助平台的介绍 1641936