arrow
返回

Finding Substitutable Binary Code By Synthesizing Adapters

delete2021-08-01
delete0
PRE
AI
V
Vaibhav Sharma *
K
Kesha Hietala
S
Stephen McCamant
DOI:10.1109/TSE.2019.2931000delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Independently developed codebases typically contain many segments of code that perform same or closely related operations (semantic clones). Finding functionally equivalent segments enables applications like replacing a segment by a more efficient or more secure alternative. Such related segments often have different interfaces, so some glue code (an adapter) is needed to replace one with the other. In previous work, we presented an algorithm that searches for replaceable code segments by attempting to synthesize an adapter between them from some finite family of adapters; it terminates if it finds no possible adapter. In this work, we compare binary symbolic execution-based adapter search with concrete adapter enumeration based on Intel's Pin framework, and explore the relation between size of adapter search space and total search time. We present examples of applying adapter synthesis for improving security of binary functions and switching between binary implementations of RC4. We present two large-scale evaluations: (1) we run adapter synthesis on more than 13,000 function pairs from the Linux C library, and (2) we reverse engineer fragments of ARM binary code by running more than a million adapter synthesis tasks. Our results confirm that several instances of adaptably equivalent binary functions exist in real-world code, and suggest that adapter synthesis can be applied for automatically replacing binary code with its adaptably equivalent variants.
Keyword:
Tools
Binary codes
Libraries
Security
Task analysis
Reverse engineering
Computer science
Symbolic execution
equivalence checking
program synthesis
binary analysis
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

err分享
err收藏
A Semantics-Based Hybrid Approach on Binary Code Similarity Comparison
err2021-06-01
err14
errOAAI
errHu, Yikun; Wang, Hui; Zhang, Yuanyuan; Li, Bodong; Gu, Dawu
err分享
err收藏
err分享
err收藏
Binary-Code Obfuscations in Prevalent Packer Tools
err2013-07-11
err93
errOAAI
errRoundy, Kevin A.; Miller, Barton P.
err分享
err收藏
Binary Code Representation With Well-Balanced Instruction Normalization
err2023-01-01
err3
errOAAI
errKoo, Hyungjoon; Park, Soyeon; Choi, Daejin; Kim, Taesoo
err分享
err收藏

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
3.0K
被引数:
1.3W

机构

U
University of Minnesota Twin Cities
学者数:
260
论文数: 154
被引数: 2.5W
引用论文

引用论文

Topoisomerase II alpha and TLE3 as predictive markers of response to anthracycline and taxane-containing regimens for neoadjuvant chemotherapy in breast cancer
err2014-11-01
err0
errOAAI
errTommaso Susini; Barbara Berti; Carlo Carriero; Ketty Tavella; Jacopo Nori; Ermanno Vanzi; Cecilia Molino; Mariarosaria Di Tommaso; Marco Santini; Valeria Saladino; Simonetta Bianchi
err分享
err收藏
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
学者 查看更多内容