Pith. sign in

REVIEW 2 cited by

SAFE: Self-Attentive Function Embeddings for Binary Similarity

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 1811.05296 v4 pith:7FU6E7GJ submitted 2018-11-13 cs.CR cs.LG

classification cs.CRcs.LG
keywords binaryfunctionssafesimilarityembeddingsfunctionsolutionsanalysis
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

The binary similarity problem consists in determining if two functions are similar by only considering their compiled form. Advanced techniques for binary similarity recently gained momentum as they can be applied in several fields, such as copyright disputes, malware analysis, vulnerability detection, etc., and thus have an immediate practical impact. Current solutions compare functions by first transforming their binary code in multi-dimensional vector representations (embeddings), and then comparing vectors through simple and efficient geometric operations. However, embeddings are usually derived from binary code using manual feature extraction, that may fail in considering important function characteristics, or may consider features that are not important for the binary similarity problem. In this paper we propose SAFE, a novel architecture for the embedding of functions based on a self-attentive neural network. SAFE works directly on disassembled binary functions, does not require manual feature extraction, is computationally more efficient than existing solutions (i.e., it does not incur in the computational overhead of building or manipulating control flow graphs), and is more general as it works on stripped binaries and on multiple architectures. We report the results from a quantitative and qualitative analysis that show how SAFE provides a noticeable performance improvement with respect to previous solutions. Furthermore, we show how clusters of our embedding vectors are closely related to the semantic of the implemented algorithms, paving the way for further interesting applications (e.g. semantic-based binary function search).

Discussion (0). Sign in to comment.

Forward citations

Cited by 2 Pith papers

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

  1. Beyond Embeddings: Interpretable Feature Extraction for Binary Code Similarity

    cs.AI 2025-09 conditional novelty 6.0 of 10

    LLM-generated structured assembly features achieve cross-architecture and cross-optimization binary code similarity retrieval competitive with trained embeddings, and a hybrid method beats both.

  2. Practical Source Code Recovery from Binary Functions Using Anchor-Based Retrieval and LLM Reasoning

    cs.SE 2026-07 conditional novelty 5.5 of 10

    Anchor-based retrieval plus LLM re-ranking recovers source functions for 95.2% of instructions in a stripped tcpdump binary against a curated database, but only 35.5% average coverage via GitHub search.

Pith tools