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
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
隐形曼青应助念姬采纳,获得10
1秒前
2秒前
2秒前
4秒前
清风完成签到,获得积分10
4秒前
5秒前
6秒前
赫赫完成签到 ,获得积分10
6秒前
霸气的煜祺完成签到,获得积分10
7秒前
跳跃的晓兰完成签到,获得积分20
7秒前
刘长绪发布了新的文献求助10
7秒前
lzlz199829发布了新的文献求助10
7秒前
dakjdia发布了新的文献求助10
7秒前
dsgvdf发布了新的文献求助20
7秒前
量子星尘发布了新的文献求助10
8秒前
8秒前
排骨饭发布了新的文献求助10
9秒前
思源应助slowpoke采纳,获得10
9秒前
懵懂的妙竹完成签到,获得积分10
10秒前
李健的粉丝团团长应助ZLPY采纳,获得10
10秒前
bkagyin应助albertxin采纳,获得10
10秒前
Zysplus发布了新的文献求助10
11秒前
爆米花应助靖哥哥采纳,获得10
11秒前
12秒前
lunhui6453完成签到 ,获得积分10
12秒前
思源应助dsgvdf采纳,获得10
12秒前
邓肖帅完成签到,获得积分10
12秒前
zike发布了新的文献求助10
12秒前
spc68应助001采纳,获得10
13秒前
尤涅若发布了新的文献求助10
14秒前
lzlz199829完成签到,获得积分10
14秒前
紫熊发布了新的文献求助10
14秒前
14秒前
呆萌发布了新的文献求助10
14秒前
空无完成签到,获得积分10
15秒前
小蚂蚁发布了新的文献求助80
15秒前
15秒前
16秒前
活泼的鸣凤完成签到,获得积分20
18秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
List of 1,091 Public Pension Profiles by Region 1581
Encyclopedia of Agriculture and Food Systems Third Edition 1500
以液相層析串聯質譜法分析糖漿產品中活性雙羰基化合物 / 吳瑋元[撰] = Analysis of reactive dicarbonyl species in syrup products by LC-MS/MS / Wei-Yuan Wu 1000
Lloyd's Register of Shipping's Approach to the Control of Incidents of Brittle Fracture in Ship Structures 800
Biology of the Reptilia. Volume 21. Morphology I. The Skull and Appendicular Locomotor Apparatus of Lepidosauria 600
Pediatric Nutrition 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 物理化学 基因 遗传学 催化作用 冶金 量子力学 光电子学
热门帖子
关注 科研通微信公众号,转发送积分 5547929
求助须知:如何正确求助?哪些是违规求助? 4633375
关于积分的说明 14630983
捐赠科研通 4574989
什么是DOI,文献DOI怎么找? 2508795
邀请新用户注册赠送积分活动 1485047
关于科研通互助平台的介绍 1456075