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
刚刚
莫mo完成签到 ,获得积分10
刚刚
刚刚
1秒前
2秒前
桐桐应助抹茶芝士酸奶采纳,获得10
3秒前
3秒前
科研通AI6应助科研小魏采纳,获得10
4秒前
莫mo关注了科研通微信公众号
4秒前
4秒前
5秒前
充电宝应助panda_123采纳,获得10
5秒前
6秒前
6秒前
6秒前
芒果爸爸发布了新的文献求助10
7秒前
7秒前
10秒前
10秒前
行走人生发布了新的文献求助30
11秒前
11秒前
eryu25完成签到 ,获得积分10
11秒前
wmtttttt发布了新的文献求助10
11秒前
所所应助周伊采纳,获得10
12秒前
13秒前
以鹿之路发布了新的文献求助10
14秒前
张骥发布了新的文献求助20
14秒前
猕猴桃完成签到,获得积分10
15秒前
jbg完成签到 ,获得积分10
16秒前
海绵宝宝发布了新的文献求助10
16秒前
16秒前
16秒前
DrQyQ发布了新的文献求助10
17秒前
hh发布了新的文献求助10
17秒前
Akim应助zqgxiangbiye采纳,获得10
18秒前
土豆泥泥关注了科研通微信公众号
20秒前
Akim应助科研通管家采纳,获得10
20秒前
星辰大海应助酷炫萃采纳,获得10
20秒前
毛豆爸爸应助科研通管家采纳,获得20
20秒前
111发布了新的文献求助10
20秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Binary Alloy Phase Diagrams, 2nd Edition 8000
Encyclopedia of Reproduction Third Edition 3000
Comprehensive Methanol Science Production, Applications, and Emerging Technologies 2000
From Victimization to Aggression 1000
Translanguaging in Action in English-Medium Classrooms: A Resource Book for Teachers 700
Exosomes Pipeline Insight, 2025 500
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 计算机科学 有机化学 物理 生物化学 纳米技术 复合材料 内科学 化学工程 人工智能 催化作用 遗传学 数学 基因 量子力学 物理化学
热门帖子
关注 科研通微信公众号,转发送积分 5649821
求助须知:如何正确求助?哪些是违规求助? 4779250
关于积分的说明 15050421
捐赠科研通 4808796
什么是DOI,文献DOI怎么找? 2571853
邀请新用户注册赠送积分活动 1528134
关于科研通互助平台的介绍 1486877