arrow
Return

FunSp: countering binary code similarity detection through function splitting

delete2026-05-01
delete0
PRE
AI
W
Wei, Ran
H
Hui Shu *
F
Fei Kang
X
Xiong, Xiaobing
杨岚 cover
杨岚 (Lan Yang)
L
Li, Cong
DOI:10.1093/comjnl/bxag054delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Binary code similarity detection (BCSD) poses a significant threat to software security by enabling reverse engineers to identify critical functions in binaries. Code obfuscation is a primary defense, yet existing techniques often incur high performance overhead and introduce recognizable patterns. To address these limitations, we present FunSp, a lightweight code obfuscation method based on function splitting at the compiler intermediate representation level. FunSp partitions a function's control flow graph into multiple subgraphs via dominator-tree analysis, repairs inter-subgraph data dependencies, reconstructs control flow, and finally rewrites the code to produce semantically equivalent sub-functions. This approach redistributes basic blocks across subfunctions without injecting substantial redundant code, thereby minimizing overhead. Experimental results show that FunSp effectively undermines state-of-the-art BCSD models, reducing Recall@1 to 0.016 in a 10 000-function pool. It maintains practicality, introducing a mean code expansion ratio of 1.353 $ imes $ and a runtime overhead of 12.7%. Compared with Obfuscator-LLVM and Tigress, FunSp reduces code bloat by 73.5% and runtime overhead by 5.5%.
Keywords:
function split
code obfuscation
binary code similarity detection
dominator tree
UniASM: Binary code similarity detection without fine-tuning
err2025-05-01
err0
PREAI
errGu, Yeming; Shu, Hui; Kang, Fei; Hu, Fan
errShare
errSave
A Lightweight Cross-Version Binary Code Similarity Detection Based on Similarity and Correlation Coefficient Features
err2020-01-01
err9
errOAAI
errGuo, Hui; Huang, Shuguang; Huang, Cheng; Zhang, Min; Pan, Zulie; Shi, Fan; Huang, Hui; Hu, Donghui; Wang, Xiaoping
errShare
errSave
A Survey of Binary Code Similarity
err2021-04-17
err50
errOAAI
errUl Haq, Irfan; Caballero, Juan
errShare
errSave
IoTSim: Internet of Things-Oriented Binary Code Similarity Detection with Multiple Block Relations
errSENSORS
IF3.5
err2023-09-11
err2
errOAAI
errLuo, Zhenhao; Wang, Pengfei; Xie, Wei; Zhou, Xu; Wang, Baosheng
errShare
errSave
CrossCode2Vec: A unified representation across source and binary functions for code similarity detection
err2025-03-01
err0
PREAI
errYu, Gaoqing; An, Jing; Lyu, Jiuyang; Huang, Wei; Fan, Wenqing; Cheng, Yixuan; Sui, Aina
errShare
errSave
errShare
errSave
HAformer: Semantic fusion of hex machine code and assembly code for cross-architecture binary vulnerability detection
err2024-10-01
err0
PREAI
errJiang, Xunzhi; Wang, Shen; Gong, Yuxin; Yu, Tingyue; Liu, Li; Yu, Xiangzhan
errShare
errSave

Journal

C
COMPUTER JOURNAL
IF:
1.5
Papers:
103
Citations:
17

Organization

No organization information available
Cited Papers

Cited Papers

Obfuscator-LLVM -- Software Protection for the Masses
err2015-05-01
err0
PREAI
errPascal Junod; Julien Rinaldini; Johan Wehrli; Julie Michielin
errShare
errSave
Investigating Graph Embedding Neural Networks with Unsupervised Features Extraction for Binary Analysis
err2019-01-01
err0
errOAAI
errLuca Massarelli; Giuseppe A. Di Luna; Fabio Petroni; Leonardo Querzoni; Roberto Baldoni
errShare
errSave
Generating Effective Software Obfuscation Sequences With Reinforcement Learning
err2022-05-01
err3
PREAI
errWang, Huaijin; Wang, Shuai; Xu, Dongpeng; Zhang, Xiangyu; Liu, Xiao
errShare
errSave
TIGRESS: Trustful Inference of Gene REgulation using Stability Selection
err2012-11-22
err0
errOAAI
errAnne-Claire Haury; Fantine Mordelet; Paola Vera-Licona; Jean-Philippe Vert
errShare
errSave
The Impossibility of Obfuscation with Auxiliary Input or a Universal Simulator
err2014-01-01
err0
PREAI
errBitansky,Nir; Canetti,Ran; Cohn,Henry; Goldwasser,Shafi; Kalai,Yael Tauman; Paneth,Omer; Rosen,Alon
errShare
errSave
A Graph Game Model for Software Tamper Protection
err2007-01-01
err0
PREAI
errDedić,Nenad; Jakubowski,Mariusz; Venkatesan,Ramarathnam
errShare
errSave
errShare
errSave
researcher View more