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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
汉堡包应助不医人采纳,获得10
1秒前
小雨发布了新的文献求助10
2秒前
爆米花应助Steven采纳,获得10
2秒前
2秒前
newnew完成签到,获得积分10
2秒前
2秒前
3秒前
3秒前
ding应助磐xst采纳,获得10
6秒前
原野完成签到,获得积分10
6秒前
科研通AI6应助Nancy采纳,获得10
6秒前
6秒前
huilin发布了新的文献求助10
6秒前
7秒前
niNe3YUE应助薄荷采纳,获得10
7秒前
7秒前
何木萧完成签到,获得积分10
7秒前
丫丫完成签到,获得积分10
9秒前
Ava应助缥缈傥采纳,获得10
9秒前
10秒前
11秒前
11秒前
量子星尘发布了新的文献求助10
11秒前
huilin完成签到,获得积分10
12秒前
wenjing发布了新的文献求助10
13秒前
aaa发布了新的文献求助10
13秒前
是个哑巴完成签到,获得积分10
13秒前
Chicophy发布了新的文献求助10
13秒前
14秒前
洪山老狗发布了新的文献求助10
14秒前
15秒前
shengch0234完成签到,获得积分10
15秒前
量子星尘发布了新的文献求助10
15秒前
碧蓝之柔完成签到,获得积分10
16秒前
16秒前
伞下铭发布了新的文献求助10
17秒前
tree发布了新的文献求助10
17秒前
毕业完成签到,获得积分10
17秒前
DMPK完成签到,获得积分10
17秒前
仁爱的冰夏完成签到,获得积分10
18秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Translanguaging in Action in English-Medium Classrooms: A Resource Book for Teachers 700
Exploring Nostalgia 500
Natural Product Extraction: Principles and Applications 500
Exosomes Pipeline Insight, 2025 500
Qualitative Data Analysis with NVivo By Jenine Beekhuyzen, Pat Bazeley · 2024 500
Advanced Memory Technology: Functional Materials and Devices 400
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 计算机科学 有机化学 物理 生物化学 纳米技术 复合材料 内科学 化学工程 人工智能 催化作用 遗传学 数学 基因 量子力学 物理化学
热门帖子
关注 科研通微信公众号,转发送积分 5667047
求助须知:如何正确求助?哪些是违规求助? 4883873
关于积分的说明 15118527
捐赠科研通 4825937
什么是DOI,文献DOI怎么找? 2583643
邀请新用户注册赠送积分活动 1537807
关于科研通互助平台的介绍 1496002