Neural Machine Translation Inspired Binary Code Similarity Comparison beyond Function Pairs
Not on the map. Why?
Abstract (arXiv)
Binary code analysis allows analyzing binary code without having access to the corresponding source code. A binary, after disassembly, is expressed in an assembly language. This inspires us to approach binary analysis by leveraging ideas and techniques from Natural Language Processing (NLP), a rich area focused on processing text of various natural languages. We notice that binary code analysis and NLP share a lot of analogical topics, such as semantics extraction, summarization, and classification. This work utilizes these ideas to address two important code similarity comparison problems. (I) Given a pair of basic blocks for different instruction set architectures (ISAs), determining whether their semantics is similar or not; and (II) given a piece of code of interest, determining if it is contained in another piece of assembly code for a different ISA. The solutions to these two problems have many applications, such as cross-architecture vulnerability discovery and code plagiarism detection. We implement a prototype system INNEREYE and perform a comprehensive evaluation. A comparison between our approach and existing approaches to Problem I shows that our system outperforms them in terms of accuracy, efficiency and scalability. And the case studies utilizing the system demonstrate that our solution to Problem II is effective. Moreover, this research showcases how to apply ideas and techniques from NLP to large-scale binary code analysis.
Key facts. Cited by 25 papers in the map (data through 7 Oct 2026). First posted on arXiv 8 Aug 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 7; 2022: 6; 2023: 4; 2024: 1; 2025: 3; 2026: 4.
25 papers.
Sort:
By area:
- 2021A Survey of Machine Learning for Computer Architecture and Systemscited by 53
- 2021PalmTree: Learning an Assembly Language Model for Instruction Embeddingcited by 49
- 2026MalTool: Malicious Tool Attacks on LLM Agentscited by 17
- 2022BinBert: Binary Code Understanding with a Fine-tunable and Execution-aware Transformercited by 8
- 2021Eth2Vec: Learning Contract-Wide Code Representations for Vulnerability Detection on Ethereum Smart Contractscited by 7
- 2021Semantic-aware Binary Code Representation with BERTcited by 6
- 2022Multi-View Graph Representation for Programming Language Processing: An Investigation into Algorithm Detectioncited by 6
- 2022Pre-Training Representations of Binary Code Using Contrastive Learningcited by 6
- 2023EMBERSim: A Large-Scale Databank for Boosting Similarity Search in Malware Analysiscited by 6
- 2021XFL: Naming Functions in Binaries with Extreme Multi-label Learningcited by 5
- 2021Callee: Recovering Call Graphs for Binaries with Transfer and Contrastive Learningcited by 4
- 2022A Survey of Deep Learning Models for Structural Code Understandingcited by 4
13 more
- 2023FASER: Binary Code Similarity Search through the use of Intermediate Representationscited by 4
- 2022FuncFooler: A Practical Black-box Attack Against Learning-based Binary Code Similarity Detection Methodscited by 3
- 2022UniASM: Binary Code Similarity Detection without Fine-tuningcited by 3
- 2024Dynamic Neural Control Flow Execution: An Agent-Based Deep Equilibrium Approach for Binary Vulnerability Detectioncited by 2
- 2023VEXIR2Vec: An Architecture-Neutral Embedding Framework for Binary Similaritycited by 1
- 2025A Deep Dive into Function Inlining and its Security Implications for ML-based Binary Analysiscited by 1
- 2026Fool Me If You Can: On the Robustness of Binary Code Similarity Detection Models against Semantics-preserving Transformationscited by 1
- 2021PredCoin: Defense against Query-based Hard-label Attackcited by 0
- 2023Pluvio: Assembly Clone Search for Out-of-domain Architectures and Libraries through Transfer Learning and Conditional Variational Information Bottleneckcited by 0
- 2025Bridging the PLC Binary Analysis Gap: A Cross-Compiler Dataset and Neural Framework for Industrial Control Systemscited by 0
- 2025Esim: EVM Bytecode Similarity Detection Based on Stable-Semantic Graphcited by 0
- 2026Attacking the First-Principle: A Black-Box, Query-Free Targeted Mimicry Attack on Binary Function Classifierscited by 0
- 2026SoK: AI-Augmented Binary Reversingcited by 0
- 2026SoK: AI-Augmented Binary Reversing16 Jun 2026
- 2026Attacking the First-Principle: A Black-Box, Query-Free Targeted Mimicry Attack on Binary Function Classifiers18 May 2026
- 2026Fool Me If You Can: On the Robustness of Binary Code Similarity Detection Models against Semantics-preserving Transformations13 Feb 2026
- 2026MalTool: Malicious Tool Attacks on LLM Agents12 Feb 2026
- 2025A Deep Dive into Function Inlining and its Security Implications for ML-based Binary Analysis16 Dec 2025
- 2025Esim: EVM Bytecode Similarity Detection Based on Stable-Semantic Graph17 Nov 2025
- 2025Bridging the PLC Binary Analysis Gap: A Cross-Compiler Dataset and Neural Framework for Industrial Control Systems27 Feb 2025
- 2024Dynamic Neural Control Flow Execution: An Agent-Based Deep Equilibrium Approach for Binary Vulnerability Detection3 Apr 2024
- 2023VEXIR2Vec: An Architecture-Neutral Embedding Framework for Binary Similarity1 Dec 2023
- 2023FASER: Binary Code Similarity Search through the use of Intermediate Representations5 Oct 2023
- 2023EMBERSim: A Large-Scale Databank for Boosting Similarity Search in Malware Analysis3 Oct 2023
- 2023Pluvio: Assembly Clone Search for Out-of-domain Architectures and Libraries through Transfer Learning and Conditional Variational Information Bottleneck20 Jul 2023
13 more
- 2022UniASM: Binary Code Similarity Detection without Fine-tuning28 Oct 2022
- 2022Pre-Training Representations of Binary Code Using Contrastive Learning11 Oct 2022
- 2022FuncFooler: A Practical Black-box Attack Against Learning-based Binary Code Similarity Detection Methods26 Aug 2022
- 2022BinBert: Binary Code Understanding with a Fine-tunable and Execution-aware Transformer13 Aug 2022
- 2022A Survey of Deep Learning Models for Structural Code Understanding3 May 2022
- 2022Multi-View Graph Representation for Programming Language Processing: An Investigation into Algorithm Detection25 Feb 2022
- 2021Callee: Recovering Call Graphs for Binaries with Transfer and Contrastive Learning2 Nov 2021
- 2021XFL: Naming Functions in Binaries with Extreme Multi-label Learning28 Jul 2021
- 2021Semantic-aware Binary Code Representation with BERT10 Jun 2021
- 2021A Survey of Machine Learning for Computer Architecture and Systems16 Feb 2021
- 2021PredCoin: Defense against Query-based Hard-label Attack4 Feb 2021
- 2021PalmTree: Learning an Assembly Language Model for Instruction Embedding21 Jan 2021
- 2021Eth2Vec: Learning Contract-Wide Code Representations for Vulnerability Detection on Ethereum Smart Contracts7 Jan 2021
- 2026MalTool: Malicious Tool Attacks on LLM Agentscited by 17
- 2026MalTool: Malicious Tool Attacks on LLM Agents12 Feb 2026
- 2021A Survey of Machine Learning for Computer Architecture and Systemscited by 53
- 2021PalmTree: Learning an Assembly Language Model for Instruction Embeddingcited by 49
- 2022BinBert: Binary Code Understanding with a Fine-tunable and Execution-aware Transformercited by 8
- 2021Eth2Vec: Learning Contract-Wide Code Representations for Vulnerability Detection on Ethereum Smart Contractscited by 7
- 2021Semantic-aware Binary Code Representation with BERTcited by 6
- 2022Multi-View Graph Representation for Programming Language Processing: An Investigation into Algorithm Detectioncited by 6
- 2022Pre-Training Representations of Binary Code Using Contrastive Learningcited by 6
- 2023EMBERSim: A Large-Scale Databank for Boosting Similarity Search in Malware Analysiscited by 6
- 2021XFL: Naming Functions in Binaries with Extreme Multi-label Learningcited by 5
- 2021Callee: Recovering Call Graphs for Binaries with Transfer and Contrastive Learningcited by 4
- 2022A Survey of Deep Learning Models for Structural Code Understandingcited by 4
- 2023FASER: Binary Code Similarity Search through the use of Intermediate Representationscited by 4
12 most cited of 24 All 24 (JSON)
- 2026SoK: AI-Augmented Binary Reversing16 Jun 2026
- 2026Attacking the First-Principle: A Black-Box, Query-Free Targeted Mimicry Attack on Binary Function Classifiers18 May 2026
- 2026Fool Me If You Can: On the Robustness of Binary Code Similarity Detection Models against Semantics-preserving Transformations13 Feb 2026
- 2025A Deep Dive into Function Inlining and its Security Implications for ML-based Binary Analysis16 Dec 2025
- 2025Esim: EVM Bytecode Similarity Detection Based on Stable-Semantic Graph17 Nov 2025
- 2025Bridging the PLC Binary Analysis Gap: A Cross-Compiler Dataset and Neural Framework for Industrial Control Systems27 Feb 2025
- 2024Dynamic Neural Control Flow Execution: An Agent-Based Deep Equilibrium Approach for Binary Vulnerability Detection3 Apr 2024
- 2023VEXIR2Vec: An Architecture-Neutral Embedding Framework for Binary Similarity1 Dec 2023
- 2023FASER: Binary Code Similarity Search through the use of Intermediate Representations5 Oct 2023
- 2023EMBERSim: A Large-Scale Databank for Boosting Similarity Search in Malware Analysis3 Oct 2023
- 2023Pluvio: Assembly Clone Search for Out-of-domain Architectures and Libraries through Transfer Learning and Conditional Variational Information Bottleneck20 Jul 2023
- 2022UniASM: Binary Code Similarity Detection without Fine-tuning28 Oct 2022
12 newest of 24 All 24 (JSON)