Pith. sign in

REVIEW 2 cited by

Neural Machine Translation Inspired Binary Code Similarity Comparison beyond Function Pairs

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 1808.04706 v2 pith:QJXQOIRB submitted 2018-08-08 cs.SE cs.CLcs.CRcs.PL

Neural Machine Translation Inspired Binary Code Similarity Comparison beyond Function Pairs

classification cs.SE cs.CLcs.CRcs.PL
keywords codebinaryanalysiscomparisonideassystemapproachassembly
verification ladder T0 review T1 audit T2 compute T3 formal T4 reserved
0 comments
Share X Bluesky LinkedIn Reddit HN
read the original abstract

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.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. RINSER: Accurate API Prediction Using Masked Language Models

    cs.CY 2025-09 conditional novelty 6.0

    RINSER uses a masked-language model trained on API codeprints (assembly context around API calls) to predict Windows API names, reporting 85.77% accuracy on normal and 82.88% on stripped binaries, and finding 65 APIs ...

  2. FlowMalTrans: Unsupervised Binary Code Translation for Malware Detection Using Flow-Adapter Architecture

    cs.CR 2025-08 conditional novelty 6.0

    FlowMalTrans uses normalizing flows to map basic blocks across ISAs, letting a single X86-64-trained malware detector handle code from six other architectures.