Star on GitHubStar3.8k stars

RESEARCH & EVIDENCE

Reverse engineering papers & benchmarks

Explore 442 papers on reverse engineering and software reconstruction, newest year first within each section.

Suggest a paperBrowse repositoriesPaper BibTeX ↓

We check each paper against its primary sources.

Reverse-engineering agent evaluation

14 papers

Humans vs. Machines: A Comparison With AI Agents in Software Reverse Engineering

2026arXivPreprint

Compares human and LLM-agent understanding and navigation on the same static reverse-engineering challenges, then studies how binary representations consume context windows.

Scope & authors

Scope & limitations

Understanding is graded on two compact challenges; the separate 4,000-binary study measures context capacity, while task-solving accuracy is assessed only in the challenges. The interface is static IDA/MCP without dynamic execution, and prior exposure to challenge source remains an acknowledged validity threat.

Authors & citation

Samuele Doria; Stefano De Rosa; Ruoyu Wang; Zion Leonahenahe Basque; Eleonora Losiouk; Simone Aonzo

BibTeX

3 sources · checked 

Training Language Model Agents to Find Vulnerabilities with CTF-Dojo

2026ICML 2026Conference paper

CTF-Dojo is an execution environment for training LLM agents on capture-the-flag tasks: 658 challenges from 50 competitions held between 2011 and 2025, taken from pwn.college's CTF Archive and containerized with Docker. Its CTF-Forge pipeline prompts DeepSeek-V3-0324 to write each challenge's Dockerfile, docker-compose file and challenge metadata; across three independent runs, 650 challenges consistently built and answered on their expected ports. Qwen3-Coder and DeepSeek-V3-0324 agents in the EnIGMA+ scaffold, capped at 40 turns, collected trajectories. Matched CTFtime writeups served as hints during collection and were removed afterwards, and ports, paths, distractor code and other runtime details were randomized per rollout. Rejection-sampling fine-tuning of Qwen3 8B, 14B and 32B on 486 flag-capturing trajectories from 274 solved challenges raises average Pass@1 on InterCode-CTF, NYU CTF Bench and Cybench by up to 11.6 points; the 32B model reaches 31.9%.

Scope & authors

Scope & limitations

The environments span CTF categories: of the 658 challenges, 228 are cryptography, 163 pwn, 123 reverse engineering, 85 miscellaneous, 38 forensics and 21 web. Among the 274 challenges with successful trajectories, cryptography is the largest category (141), followed by reverse engineering (52). Benchmark gains are reported per benchmark over 323 tasks, at temperature 0 with 40 turns, not per category, so they do not measure reverse-engineering accuracy. Decontamination matched competition and challenge names and removed 3 overlapping challenges; the authors note that it cannot exclude broader similarity between tasks. Only 150 challenges (23%) matched a writeup, all trajectories come from two teacher models, and only supervised fine-tuning is studied; the authors name the static 658-challenge scale as a limit. Hashed flag checkers in the upstream archive can be wrong, and the authors report four such bugs. The repository code is CC BY-NC 4.0. It holds CTF-Forge, the metadata and writeup-matching scripts and a challenge index, but not the challenge files, which are cloned separately from pwn.college's CTF Archive and are not covered by the repository license. The reviewed tree has no trajectories or trained weights, and writeups must be collected separately. Capturing a flag does not show recovered program structure.

Authors & citation

Terry Yue Zhuo; Dingmin Wang; Hantian Ding; Varun Kumar; Zijian Wang

BibTeX

11 sources · checked 

Reveree: Diagnosing LLM Reverse-Engineering Agents

2026arXivPreprint

Evaluates reverse-engineering agent traces through flag recovery, eight analysis milestones and action profiles. Deterministic checks and an outcome-blinded LLM judge help locate failures beyond a single solve-rate score.

Scope & authors

Scope & limitations

Uses 88 public CTF challenges and nine models; all four prompting strategies are compared on four models. Evaluation fixes the D-CIPHER harness and uses one attempt per setting. One expert checks 15 traces; agreement on judged comprehension stages is 53/60. Recall and surface-perturbation probes do not eliminate contamination.

Authors & citation

Hadjer Benkraouda; Hongyu Cai; Berkay Celik; Gang Wang

BibTeX

3 sources · checked 

The Next Challenge for Agentic Cybersecurity: A Realistic, Contamination-Free Reverse Engineering Benchmark

2026arXivPreprint

Introduces SRE-Bench, with privately authored programs and protected binary variants, to study agent recovery of program semantics while reducing training-data contamination.

Scope & authors

Scope & limitations

The revised study reports 19 programs, 262 binary instances, and 1,572 graded tasks. Binaries and task instances are not publicly released; access is through an evaluation service. Contamination control is the authors’ methodology, with no independent audit reported.

Authors & citation

Jeremy Spence; Nicholas Assaderaghi; Feng Xiao; Jinhao Zhu; Nikil Ravi; Xiangyu Qi; Matthew Jagielski; Raluca Ada Popa; Eric Wallace; Guannan Wei; Yangruibo Ding; Zhuo Zhang

BibTeX

2 sources · checked 

Automatically Attacking Software Reverse Engineering AI Agents

2026ECCWS 2026Conference paper

A proof of concept for indirect prompt injection against Cline/GhidraMCP binary-analysis agents. An adapted AutoDAN generates embedded strings that make the agent describe different behavior. The authors demonstrate four small C programs with Qwen3-8B and transfer the examples to GPT-OSS-120B.

Scope & authors

Scope & limitations

Four illustrative programs, each with one or two functions; no repeated-trial success rate, realistic malware corpus or defense evaluation. The reported decompiler setting truncates strings beyond 2,048 characters. Reliability across other models and complex binaries remains unverified.

Authors & citation

Brian Crawford; Justin Phillips; Patrick McClure

BibTeX

5 sources · checked 

CrackMeBench: Binary Reverse Engineering for Agents

2026arXivPreprint

Evaluates agents on executable-checked CrackMe tasks: infer validation logic from binaries and submit an accepted input or artifact, while recording tool use, time, and scoring attempts.

Scope & authors

Scope & limitations

The v0 study uses 12 generated tasks and eight public calibration tasks, Linux x86-64 ELF binaries, a shell interface, and a five-minute budget. Its evaluation uses compact educational tasks; performance on large applications remains untested. No paper-linked public artifact URL was verified.

Authors & citation

Isaac David; Arthur Gervais

BibTeX

2 sources · checked 

Towards LLM-Resistant Software Protection: Agent Failure Patterns in CTF Reverse Engineering

2026Workshop on Binary Analysis Research (BAR) 2026Conference paper

Runs Claude Code, Codex CLI and ChatGPT-5.2 Pro on 24 crackme-style challenges selected from 15 international CTF events held in 2025, and attributes their failures to stages of an Observe–Comprehend–Plan loop and to three protection effects: concealment, complication and misdirection. From the failure logs, the authors derive four recurring weaknesses (training bias, over-trust in observations, context limitation and plan persistence). They rerun both CLI agents without a decompiler and compare outcomes with in-competition solve rates.

Scope & authors

Scope & limitations

The study covers 24 locally solvable Linux x86-64 ELF crackmes and three commercial agents (Claude Opus 4.5 and GPT-5.1-Codex-Max in the CLI tools, and an undisclosed ChatGPT model), evaluated in December 2025 with network access; runs that consulted public write-ups were excluded. The binaries are small relative to real-world software, and malware analysis and vulnerability discovery are out of scope. Each configuration had at most three attempts with early stopping, which the authors call noisy; success means printing the correct flag or finding an accepted input. Weakness labels come from qualitative analysis of these runs’ logs by two evaluators and apply to those runs. ChatGPT-5.2 Pro ran in an uncontrolled web sandbox and is excluded from the decompiler comparison. Solve rates are among teams that solved at least one challenge, unavailable for six tasks, and may include LLM-assisted teams. Training-data exposure remains a validity threat, and the paper does not publish its assembled challenge set, run logs or code.

Authors & citation

Ryutaro Nishizaka; Yudai Fujiwara; Takuya Shimizu; Kazushi Kato; Yuichi Sugiyama

BibTeX

5 sources · checked 

ProgramBench: Can Language Models Rebuild Programs From Scratch?

2026NeurIPS 2026Conference accepted

Evaluates black-box program reconstruction across 200 tasks: agents query an executable and read its documentation, then independently implement a codebase whose behavior is checked by generated tests.

Scope & authors

Scope & limitations

Binary inspection, decompilation, and internet access are forbidden during inference. Passing finite tests measures behavior on those tests; complete behavioral equivalence and original-source recovery remain unverified. Later live-leaderboard runs are separate from the reviewed arXiv results.

Authors & citation

John Yang; Kilian Lieret; Jeffrey Ma; Parth Thakkar; Dmitrii Pedchenko; Sten Sootla; Emily McMilin; Pengcheng Yin; Rui Hou; Gabriel Synnaeve; Diyi Yang; Ofir Press

BibTeX

12 sources · checked 

Decompiling the Synergy: An Empirical Study of Human–LLM Teaming in Software Reverse Engineering

2026NDSS 2026Conference paper

Studies how human analysts work with LLM assistance during static software reverse engineering. A survey of 153 practitioners informed six LLM features built into an instrumented IDA Pro plugin. Then 48 participants (24 self-reported novices and 24 experts) analyzed two CTF-style binaries, with the features enabled on one randomly assigned challenge. From graded writeups, interaction logs and surveys, the authors report 18 findings: novice understanding rose by about 98% to expert levels while experts gained little, known-algorithm functions were triaged up to 2.4× faster, and artifact recovery rose by at least 66%, alongside harmful hallucinations.

Scope & authors

Scope & limitations

A human study of LLM-assisted analysis; autonomous agents and LLM decompilation accuracy lie outside its evaluation. It uses two unobfuscated C challenges of 26 functions each, static analysis in IDA Pro only (no debuggers or symbolic execution), researcher-written prompts, and a choice of GPT-4o, GPT-4o-Mini, GPT-4-Turbo, Claude-3-5-Sonnet or Gemini-Pro. The 2024–2025 sessions retain 48 of 51 participants; expertise is self-reported, and understanding is a rubric score of writeups graded by two researchers. LLM-created artifacts showed no correlation with better understanding, and three LLM users reported a nonexistent buffer overflow that an LLM had suggested; the vulnerability-finding feature was negatively correlated with understanding. Individual observations, writeups and survey responses are not released, even on request; aggregated data is available only on request.

Authors & citation

Zion Leonahenahe Basque; Samuele Doria; Ananta Soneji; Wil Gibbs; Adam Doupé; Yan Shoshitaishvili; Eleonora Losiouk; Ruoyu Wang; Simone Aonzo

BibTeX

10 sources · checked 

Cyber-Zero: Training Cybersecurity Agents without Runtime

2026ICLR 2026Conference paper

Cyber-Zero synthesizes training trajectories for capture-the-flag (CTF) agents from public writeups instead of running the challenges. Writeups collected from CTFtime through the CTF Archives repository are cleaned, filtered and completed with DeepSeek-V3-0324, which fills in missing metadata and extracts flags; after removing 47 challenges that overlap the evaluation benchmarks, the corpus holds 6,188 writeups for 4,610 challenges from 543 competitions in six categories, 2017–2025. Two DeepSeek-V3-0324 personas then simulate each solve: a CTF player that sees only the challenge content, and a Bash terminal that sees the writeup and flag, invents plausible command output and may inject hints, which are removed before training. Trajectories use the EnIGMA scaffold format and are kept only if they reach the exact flag, pass format checks and are judged by an LLM filter to follow the writeup's approach. Qwen3, Qwen2.5-Instruct and SWE-agent-LM models are fine-tuned on 9,464 of these trajectories and evaluated with EnIGMA+, the authors' parallel version of EnIGMA, on InterCode-CTF, NYU CTF Bench and Cybench. The fine-tuned Qwen3-32B (Cyber-Zero-32B) rises from 20.3% to 33.4% average Pass@1, the 13.1-point gain reported in the abstract.

Scope & authors

Scope & limitations

No training trajectory was executed: command outputs are simulated by an LLM that knows the writeup and flag, and trajectories are filtered by exact flag match, format checks and an LLM judge rather than by running commands. The authors acknowledge that the corpus may contain incorrect command traces and fabricated flags, that they report no quantitative error analysis, and that the simulated traces exclude interactive tools such as gdb, Python shells and browsers. The writeups and the evaluation tasks span six general CTF categories; the three test benchmarks hold 323 runnable tasks, 84 of them reverse engineering; aggregate Pass@1 summarizes all categories; reverse-engineering accuracy was not measured separately by that aggregate. Results are single greedy Pass@1 runs in the authors' EnIGMA+ scaffold with a 40-turn cap, on benchmark copies the authors repaired; 17 tasks could not be set up. Contamination control removed 47 overlapping challenges by manual comparison. The flag metric records challenge completion; recovery of program structure was outside the evaluation. The repository is archived and licensed CC BY-NC 4.0, and its benchmark README states that the bundled benchmark content remains the property of its original creators.

Authors & citation

Terry Yue Zhuo; Dingmin Wang; Hantian Ding; Varun Kumar; Zijian Wang

BibTeX

9 sources · checked 

CREBench: Evaluating Large Language Models in Cryptographic Binary Reverse Engineering

2026COLM 2026Conference paper

Benchmarks cryptographic binary reverse engineering across algorithm recognition, key or IV extraction, wrapper reconstruction, and flag recovery using 432 controlled challenges.

Scope & authors

Scope & limitations

The corpus combines 48 algorithms, three insecure key-use scenarios, and three difficulty levels. It excludes professional-grade obfuscators such as Tigress and O-LLVM; results should not be generalized to heavily protected arbitrary binaries.

Authors & citation

Baicheng Chen; Yu Wang; Ziheng Zhou; Xiangru Liu; Juanru Li; Yilei Chen; Tianxing He

BibTeX

9 sources · checked 

EnIGMA: Interactive Tools Substantially Assist LM Agents in Finding Security Vulnerabilities

2025ICML 2025Conference paper

EnIGMA extends SWE-agent for capture-the-flag challenges with interactive agent tools that keep a gdb debugging session or a pwntools server connection open across turns, alongside decompile and disassemble commands, an LM summarizer for long outputs, and category-specific demonstrations and guidelines. It is evaluated with four LMs on 390 challenges from NYU CTF, InterCode-CTF, Cybench and a HackTheBox set the authors collected. The paper ablates tools, summarizers and demonstrations, and analyzes solution leakage and “soliloquizing”, where the model writes its own observations instead of acting in the environment.

Scope & authors

Scope & limitations

The benchmarks mix cryptography, forensics, pwn, reverse engineering, web and miscellaneous tasks (104 of the 390 are reverse engineering); aggregate solve rates such as 13.5% on NYU CTF cover all categories. The per-category table reports 17.65% on NYU CTF’s 51 reverse-engineering challenges with Claude 3.5 Sonnet. Results are pass@1 with a $3 per-instance cost cap and 2024 models (GPT-4 Turbo, GPT-4o, Claude 3.5 Sonnet and LLaMA 3.1 405B Instruct); the NYU CTF baseline comparison uses pass@5. Many challenges have public write-ups, and the authors’ leakage and soliloquy measures are heuristics; on 21 later CSAW 2024 challenges the best configurations solved 2. Solving a CTF shows a captured flag, not recovered program structure or source.

Authors & citation

Talor Abramovich; Meet Udeshi; Minghao Shao; Kilian Lieret; Haoran Xi; Kimberly Milner; Sofija Jancheska; John Yang; Carlos E Jimenez; Farshad Khorrami; Prashanth Krishnamurthy; Brendan Dolan-Gavitt; Muhammad Shafique; Karthik R Narasimhan; Ramesh Karri; Ofir Press

BibTeX

12 sources · checked 

Cybench: A Framework for Evaluating Cybersecurity Capabilities and Risks of Language Models

2025ICLR 2025Conference paper

Cybench turns 40 professional-level capture-the-flag tasks from four competitions (HackTheBox Cyber Apocalypse 2024, SekaiCTF 2022–23, GlacierCTF and HKCert) into runnable agent tasks. Each task has a description, starter files, a Kali Linux container for the agent with task servers in Docker, and the time the first human team needed to solve it, from 2 minutes to 24 hours 54 minutes. Each task is also split into subtasks that grade intermediate steps. The authors evaluate eight models with a structured bash agent and compare four scaffolds for GPT-4o and Claude 3.5 Sonnet. Without subtask guidance, the best agents solved only tasks whose first human solve took at most 11 minutes, and Claude 3.5 Sonnet reached 17.5% unguided success.

Scope & authors

Scope & limitations

Only 6 of the 40 tasks are reverse engineering; the rest are cryptography (16), web (8), forensics (4), miscellaneous (4) and pwn (2), so aggregate rates measure performance across all 40 tasks, while reverse engineering accounts for 6 tasks. In the unguided structured-bash runs, six or seven of the eight models solved the two easiest reversing tasks (first human solves in 2 and 6 minutes), and none solved the other four. Results cover 2024 models (GPT-4o, o1-preview, Claude 3 Opus, Claude 3.5 Sonnet, Gemini 1.5 Pro, Llama 3 and 3.1, Mixtral 8x22b) with the authors' scaffolds: 15 iterations unguided or 5 per subtask, short memory, no decompiler tools, one attempt in the main comparison and the best of three in the scaffold comparison. First-solve times come from competition records, and are not directly comparable across competitions. The authors judge train–test overlap by model knowledge cutoffs and cannot rule it out for Claude 3.5 Sonnet. CTF tasks are short, small-codebase competition problems, and capturing a flag demonstrates task success while recovered program structure remains unassessed.

Authors & citation

Andy K. Zhang; Neil Perry; Riya Dulepet; Joey Ji; Celeste Menders; Justin W. Lin; Eliot Jones; Gashon Hussein; Samantha Liu; Donovan Jasper; Pura Peetathawatchai; Ari Glenn; Vikram Sivashankar; Daniel Zamoshchin; Leo Glikbarg; Derek Askaryar; Mike Yang; Teddy Zhang; Rishi Alluri; Nathan Tran; Rinnara Sangpisit; Polycarpos Yiorkadjis; Kenny Osele; Gautham Raghupathi; Dan Boneh; Daniel E. Ho; Percy Liang

BibTeX

10 sources · checked 

NYU CTF Bench: A Scalable Open-Source Benchmark Dataset for Evaluating LLMs in Offensive Security

2024NeurIPS 2024 Datasets and BenchmarksConference paper

NYU CTF Bench packages 200 manually validated challenges from CSAW CTF qualifying and final rounds held between 2017 and 2023, spanning cryptography, forensics, pwn, reverse engineering, web and miscellaneous tasks, with challenge.json metadata and Docker images for server-side challenges. The paper also presents an automated framework that gives LLMs function-calling tools for shell commands, file creation, Ghidra disassembly and decompilation, flag checking and giving up. It evaluates five LLMs and compares their scores with human teams at CSAW 2022 and 2023.

Scope & authors

Scope & limitations

Of the 200 challenges, 51 are reverse engineering (31 qualifying and 20 final); overall solve rates cover every challenge category. All challenges come from one competition series, categories are imbalanced, and the remaining 367 of the initial 567 challenges, including incident-response tasks, are excluded pending validation. The baseline counts a challenge as solved if any of five attempts succeeds, within a 48-hour limit per model; no statistical tests were run. Among GPT-3.5, GPT-4, Claude 3, Mixtral and LLaMA, the best reverse-engineering rate was 9.80% (GPT-4), and the open models solved nothing. The human comparison uses competition scores from four CSAW events, and the public repository has continued to change after publication, so later runs may not match the paper’s challenge set or framework.

Authors & citation

Minghao Shao; Sofija Jancheska; Meet Udeshi; Brendan Dolan-Gavitt; Haoran Xi; Kimberly Milner; Boyuan Chen; Max Yin; Siddharth Garg; Prashanth Krishnamurthy; Farshad Khorrami; Ramesh Karri; Muhammad Shafique

BibTeX

9 sources · checked 

Decompilation and symbol recovery

272 papers

ICALL-BENCH: Benchmarking LLM Interprocedural Reasoning in Binary Programs

2026arXivPreprint

ICALL-BENCH measures whether language models and agents can follow interprocedural meaning in compiled binaries, using indirect-call target recovery as the probe. The abstract says the benchmark covers 50 real-world C and C++ programs built with different compilers.

Scope & authors

Scope & limitations

arXiv:2610.37871v1 reports a benchmark of 50 real-world programs.

Authors & citation

Shenglong Yao; Zirui Liu; Xiangchi Yuan; Wenke Lee

BibTeX

3 sources · checked 

BUSTA: Teaching Small Language Models to Reason About Binary Execution

2026arXivPreprint

BUSTA trains small language models to infer input register values from an x86-64 basic block and desired output register state. It evaluates knowable-register prediction accuracy against base and frontier models.

Scope & authors

Scope & limitations

The evaluation focuses on inverse execution of x86-64 basic blocks and register values.

Authors & citation

Ritika Poddar; Aidan Fennelly; Deirdre Murphy; Eric Wolos; Corre L. Steele; Michael Doyle

BibTeX

1 source · checked 

VulDec: Vulnerability Detection in Binaries via Neural Decompilation

2026arXivPreprint

VulDec pairs real-world assembly and C code with CWE labels and uses neural decompilation to detect binary vulnerabilities. It evaluates code recovery across architectures and detection on a realistic test set.

Scope & authors

Scope & limitations

The evaluation covers multiple architectures and an in-distribution test set with a 3% vulnerability rate.

Authors & citation

Francesco Crescenzo Grasso; Pietro Liguori; Roberto Natella; Domenico Cotroneo

BibTeX

1 source · checked 

Rethinking Neural Decompilation: Candidate Selection as the Hidden Bottleneck

2026ICICS 2026Conference paper

The paper compares methods for selecting LLM4Decompile's reconstructed code candidates and evaluates fine-tuning on an OLLVM-obfuscated binary dataset.

Scope & authors

Scope & limitations

The evaluation covers LLM4Decompile on HumanEval-Decompile, ExeBench, and the ExeBench-Obfuscated dataset.

Authors & citation

Felix Mächtle; Gautham Sriram; Manjil Neupane; Nils Loose; Thomas Eisenbarth

BibTeX

3 sources · checked 

ATLAS: A Multi-Agent Framework for Lifting Binary to Canonical Compiler IR

2026arXivPreprint

ATLAS lifts optimized disassembly to canonical LLVM IR using region-level retrieval and agents that iteratively repair IR with compiler diagnostics and runtime checks.

Scope & authors

Scope & limitations

Evaluation covers HumanEval-Decompile and MBPP programs compiled for ARM, x86-64, and RISC-V, using re-executability, CFG similarity, pointer-flow precision, and downstream analyzability.

Authors & citation

Xiaoao Zhu; Ni Zhang; Jie Ren; Zhiqiang Li; Jie Zheng; Zhanyong Tang; Zheng Wang

BibTeX

1 source · checked 

VMSpec: A Decompiler-based Approach against Virtual Machine Obfuscation

2026arXivPreprint

VMSpec automatically builds VM processor specifications that let decompilers recover the behavior of VM-obfuscated programs. It evaluated 147 benchmark programs and six malware domain generation algorithms.

Scope & authors

Scope & limitations

The evaluation covers benchmark programs obfuscated with configurations of Tigress and Code Virtualizer, plus six malware domain generation algorithms.

Authors & citation

Fabian Kilger; Leonard Auer; Manuel Andreas

BibTeX

1 source · checked 

ExeBench-FHD: Addressing Fidelity Issues in Decompiler Evaluation

2026arXivPreprint

The paper identifies nine fidelity issues in ExeBench and introduces ExeBench-FHD, adding assembly, data, wrapper and warning fields to improve LLM decompiler evaluation.

Scope & authors

Scope & limitations

The evaluation measures GPT 6 Sol's re-execution rate at -O2 on four architectures, including functions that read data sections, mix parameter types or have unused parameters.

Authors & citation

Akarsh Ashok; Dinil Mon Divakaran; Vivek Balachandran

BibTeX

1 source · checked 

A Neuro-Symbolic Reasoning Engine for Compilation-Free Patch Presence Testing

2026arXivPreprint

SyLares converts source code and decompiled pseudocode into SMT-LIB equivalence queries, using an LLM to align code and Z3 to decide whether a patch is present.

Scope & authors

Scope & limitations

The scope is patch-presence testing across source code and decompiled pseudocode. The reported 20% symbolic-channel success rate concerns the earlier Lares framework.

Authors & citation

Siyuan Li; Jiayi Zhou; Zhiyuan Xia; Weijie Wang; Yaowen Zheng; Weiran Tang; Hong Li; Hongsong Zhu; Shanqing Guo

BibTeX

1 source · checked 

Locate, Then Reason: End-to-End Patch Presence Testing in Stripped Binaries

2026arXivPreprint

Locates patch-relevant code in stripped binaries using instruction-aligned retrieval and caller/callee context, then uses an LLM to screen candidate matches and compare patch-specific behavior with vulnerable and patched references.

Scope & authors

Scope & limitations

Patch presence testing requires the known source patch and vulnerable/patched reference binaries; source recovery and undisclosed-vulnerability discovery are outside the evaluation. Evaluation covers 62 CVEs from four C/C++ projects, 124 reference and 496 target binaries, restricted to x86-64, GCC/Clang configurations and one reported reasoning model. The evaluation uses balanced labels; deployment prevalence was not measured. Public patches may be in training data. Uncertain and missing-localization outcomes are reported separately, but binary metrics map them to vulnerable and negative outcomes, respectively; selected accuracy excludes both.

Authors & citation

Huaijin Wang; Tongda Wang; Zhibo Liu; Yue Zhang; Shuai Wang; Pengfei Hu; Jianzhong Liu; Fangtian Zhong; Shaohua Wang

BibTeX

3 sources · checked 

InterType: Breaking the Single-Function Barrier in Neural Binary Type Inference

2026arXivPreprint

InterType adds caller-callee data flow to a Transformer for variable type recovery in stripped binaries. It evaluates on coreutils binaries compiled at O0 through O3.

Scope & authors

Scope & limitations

The evaluation uses coreutils binaries at O0 through O3. The reported recall comparison is for O1: 91.76% for InterType versus 89.00% for CodeArt.

Authors & citation

Shan Wang; Tianming Cui; Stephen McCamant; Antonia Zhai; Pen-Chung Yew

BibTeX

1 source · checked 

Recall-Oriented Precise Binary-to-Source Function Matching

2026arXivPreprint

BScout matches decompiled functions to a source corpus using chunked embeddings and inlining-aware training. Existing matches provide positional clues to expand candidates; LLM selection and structural filters refine the resulting correspondences.

Scope & authors

Scope & limitations

BinKit-BCSA covers 3,904 small-utility binaries; Large-10 covers larger projects only at x86-64/O2. Some anomaly thresholds come from FreeCAD in Large-10. Incomplete ground truth, sparse anchors and source-corpus coverage limit conclusions. Function chunks are encoded independently, and extra refinement trades precision and cost against recall. The method retrieves correspondences between binary functions and source; source recovery and semantic equivalence remain unverified.

Authors & citation

Junlin Li; Jianjun Huang; Wei You; Bin Liang

BibTeX

2 sources · checked 

Decoding What iOS Location Services Send to Apple: An LLM Is an Unreliable Analyst but a Useful Toolmaker

2026arXivPreprint

Compares direct LLM recovery of Apple PBCodable schemas with an AI-written Extractor checked against compiled synthetic fixtures, published descriptors and captured traffic. It shows how plausible recovered schemas can silently decode values incorrectly.

Scope & authors

Scope & limitations

The direct-agent study uses 17 seeds with 7,788 field occurrences, 4,987 distinct. Apple's true schemas remain unpublished; synthetic tests share the recovered template's assumptions. Traffic comes from one jailbroken iPhone 8 on iOS 16.7.11. Matching fields in newer OS binaries does not verify their network behavior. The maintained code also documents estimated or unresolved fields.

Authors & citation

Douglas Leith

BibTeX

4 sources · checked 

SoK: Are LLMs Reliable at Source Code Recovery? A Taxonomy and Empirical Evaluation

2026arXivPreprint

This SoK organizes LLM-assisted source-recovery designs and separates compilation, readability, structural and behavioral metrics. Its controlled study varies architecture, compiler optimization and symbol availability, with smaller ablations for input representation, model roles and source language.

Scope & authors

Scope & limitations

The 45,000 cases are variants of 500 underlying functions; the study has 500 distinct functions. Input/language ablations use 50 functions; translated language variants were produced with an LLM and checked using finite I/O tests. The study assumes a derivable call interface, is prompt-sensitive and leaves ExeBench pretraining exposure possible. Test agreement and relocation-masked byte matching have different assumptions.

Authors & citation

Varun Kohli; Lee Bing Cheng; Nur Hazim Ghazali; Gao Yuze; Daryl Poon; Dinil Mon Divakaran

BibTeX

4 sources · checked 

The CodeInverter Suite: Structure- and Data-Aware Binary Decompilation with Efficient LLMs

2026ASE 2026Conference paper

CodeInverter studies function-level LLM decompilation using control-flow graphs and memory-to-data mappings extracted with IDA/objdump. It presents a prompt workflow, training corpus and model family, evaluated through compilation, benchmark input/output tests and edit similarity.

Scope & authors

Scope & limitations

Evaluation covers individual C functions under 32/64-bit GCC settings. Whole-program recovery, aggressive optimization and protected binaries remain limitations. The text reports one epoch (15 steps), while the pinned launch example sets one epoch and 100 warmup steps; the exact training schedule remains unresolved.

Authors & citation

Peipei Liu; Jian Sun; Rongkang Sun; Li Chen; Zhaoteng Yan; Xiaoling Zhang; Dawei Wang; Dapeng Sun; Peizheng Zhang; Dan Li

BibTeX

12 sources · checked 

Instruction Alignment for Binary Code Representation Learning

2026ASE '26Conference paper

The paper adds instruction alignment as an auxiliary objective for binary code representation learning and evaluates its effect on function retrieval accuracy and similarity judgments.

Scope & authors

Scope & limitations

The study focuses on instruction alignment and function-level binary embeddings, using compiler debug information for alignment supervision.

Authors & citation

Huaijin Wang; Shuai Wang

BibTeX

3 sources · checked 

HyBinMAS: LLM-Powered Hybrid Analysis for Function Name Recovery of Stripped Binaries

2026ASE '26Conference paper

HyBinMAS refines function names and summaries using static evidence, call-graph context, and runtime feedback. Across five architectures, it reports an average F1 score of 0.343.

Scope & authors

Scope & limitations

The evaluation covers five architectures, an ARM-64 benchmark of over 8,000 binary functions, and a controlled subset comparing hybrid with static-only analysis.

Authors & citation

Chenxi Wang; Lei Xu; Xincheng He; Gaozhan Yu; Ye Wang

BibTeX

2 sources · checked 

Beyond Text Matching: Towards Reference-Free Evaluation for Human-Oriented Binary Reverse Engineering

2026ASE 2026Conference paper

BinJudgeBench collects expert judgments for function naming, binary-code summaries and decompilation refinement. BinJudge learns to select a judge configuration for each input and task, evaluating agreement with human scores rather than executable correctness.

Scope & authors

Scope & limitations

The router uses five-fold validation on 1,233 annotated outputs. Initial annotators are three authors, with an independent industrial expert checking a subset. Human scores are subjective, and fluent unsupported answers can mislead judges. Correlation on these tasks measures agreement with human ratings; program equivalence and replacement of human review remain unverified.

Authors & citation

Xiuwei Shang; Li Hu; Xiao Jiang; Jieke Shi; Junda He; Zhou Yang; Shaoyin Cheng; Guoqiang Chen; Weiming Zhang; David Lo

BibTeX

5 sources · checked 

Decompiling Quantum Assembly into Structured Programs

2026arXivPreprint

Quelle recovers library calls, loops, functions and symbolic parameters from compiled OpenQASM. It removes routing artifacts, proposes structured reconstructions and checks them against circuit semantics, retaining gate-level fallbacks when recovery fails.

Scope & authors

Scope & limitations

Scope is quantum circuits with ideal-device semantics, not original-source identity. Dense checks use a 1e-6 tolerance; larger circuits additionally trust rewrite bookkeeping, an unchecked wide H-conjugation identity and QCEC. Dynamic circuits and timed-out checks remain unverified. Algorithm naming needs templates, and deliberate obfuscation is outside the evaluated scope.

Authors & citation

Pingchuan Ma; Zhantong Xue; Zongjie Li; Qixin Zhang; Yuxuan Du; Zhaoyu Wang; Yuguang Zhou; Shuai Wang; Xiaoqin Zhang

BibTeX

3 sources · checked 

ASAP: Assembly-Source Aligned Pseudocode Refinement For Binary Decompilation

2026arXivPreprint

ASAP aligns assembly and source representations during training, compresses assembly features into tokens, and supplies them alongside decompiler pseudocode to an LLM refiner. Masking and an assembly-advantage objective encourage the refiner to use low-level evidence.

Scope & authors

Scope & limitations

Evaluation uses C adaptations of HumanEval and MBPP, x86-64 GCC 11.4 at O0–O3, and Ghidra 11.0.3 pseudocode. Re-execution means passing supplied tests; equivalence remains to be established. Identifier/comment recovery falls outside the dedicated components, and frontier-scale model training receives limited evaluation.

Authors & citation

Yujian Zhuang; Dehong Gao; Qichao Zhang; Qijing Lai; Jiaxin Wang; Libin Yang; Xiaoyan Cai

BibTeX

2 sources · checked 

Faultless: A Program Equivalence Technique for Validating and Evaluating Neural Decompilers

2026arXivPreprint

Compares neural-decompiler C output with deterministic decompilation or reference functions using symbolic execution and a specialized memory model. It supports both analyst-facing validation and model evaluation without requiring the surrounding codebase.

Scope & authors

Scope & limitations

Function-level checks abstract away side-effect ordering and some compiler details; configurable options further relax return, argument and type conditions. The implementation has explicit heap-related soundness limitations and requires compatible loop structure; unsupported C features and context-independent dependency assumptions also limit coverage. Failure to establish equivalence leaves the relationship unresolved. Evaluations use filtered realtype and ExeBench function pairs.

Authors & citation

Luke Dramko; Claire Le Goues; Edward Schwartz

BibTeX

7 sources · checked 

Between the Commits: Process, Error, and Claim Reliability in a Wholly AI-Authored Codebase

2026arXivPreprint

Studies development of the Extractor reverse-engineering tool through commits, available session logs and code-provenance tracing. Taxonomies separate instruction intent, change triggers and agent claims, exposing errors corrected before commits that ordinary repository history misses.

Scope & authors

Scope & limitations

One codebase with human-directed work, no human-coded comparison. The 14.3% figure counts 15 of 105 audited generation events, including test defects and stale tests. The per-source-line and shipped-code defect rates are unreported. LLM scoring has sampled human calibration; transcripts are incomplete and the archive omits per-response evidence bundles. The related schema-recovery results lack independent corroboration from this companion study.

Authors & citation

Douglas Leith

BibTeX

4 sources · checked 

Echo: Learning-based Matching Decompilation using Trusted Back Translation

2026arXivPreprint

Echo iteratively generates source and compiler configurations, recompiles candidates, and uses assembly differences to guide configuration search and code refinement. It evaluates matching on function benchmarks and selected functions from a Mirai binary.

Scope & authors

Scope & limitations

Matching means equality of normalized function assembly under evaluated compilation settings. Tests cover selected x86 GCC/LLVM settings and 62 Mirai functions; the harness reports results for those finite tests. Long optimized functions and configurations outside the searched space remain limitations.

Authors & citation

Jun Bi; Xiangxin Fang; Aarsh Chaube; José Wesley De Souza Magalhães; Rodrigo C. O. Rocha; Michael O'Boyle

BibTeX

2 sources · checked 

A Memorization Floor for LLM Refinement of Decompiled Code

2026arXivPreprint

Studies whether LLM refinement of decompiled C recovers identifiers from input evidence or prior knowledge. Within-item ablations and output-matched chance baselines test naming gains on textbook and newly authored functions, including a second-model replication.

Scope & authors

Scope & limitations

The study uses 25 textbook and 20 author-written small functions, GCC/Ghidra on x86-64, and one prompt per model. Operations remain visible, and the ablation also changes idiom-recognition cues; the bounded null leaves memorization and input use unresolved. No registered hypothesis was confirmed; the correctness measure failed its discrimination gate; original T3 per-item artifacts were lost and re-executed, changing precision. Most findings use one refiner, and the later second-model extension is distinct from the initial preregistration.

Authors & citation

Muhammad Asjad

BibTeX

6 sources · checked 

No Bit Left Behind: Using Brute-Force Lifting to Achieve Fully Static Binary Recompilation

2026arXivPreprint

The system lifts every byte offset of an x86-64 binary as a potential branch target into LLVM IR, then uses a dispatch table for unresolved branches. It evaluates static cross-compilation to AArch64.

Scope & authors

Scope & limitations

The prototype covers lifting x86-64 binaries to LLVM IR and fully static cross-compilation to AArch64.

Authors & citation

Tianjiao Huang; Po-An Chen; Nick Baron; Michael Franz

BibTeX

1 source · checked 

Recompilation Is Not Enough: Test-Guided Decompiled-C Repair

2026arXivPreprint

Compiler feedback guides build repair of decompiled C; smoke checks and official tests guide behavioral repair. On 104 Coreutils 9.5 binaries, 91 rebuilt binaries passed the test gate.

Scope & authors

Scope & limitations

The preliminary static-enriched evaluation covers 104 Coreutils 9.5 binaries with available decompiler exports and deterministic exact-output smoke comparisons.

Authors & citation

Yuhan Huang; Puzhuo Liu; Jianlei Chi

BibTeX

1 source · checked 

Type recovery in stripped binaries: a comprehensive survey of inference tools and methods

2026Automated Software EngineeringJournal article

This survey reviews type recovery for stripped binaries, where compilation has discarded high-level types, variables, and data layouts. It covers inference tools and methods that try to restore that information during reverse engineering.

Scope & authors

Scope & limitations

The fetched publisher PDF is the 2026 Automated Software Engineering article. Received and accepted dates printed in the PDF are not used as the publication date.

Authors & citation

Raisul Arefin; Ryan Vrecenar; Samuel Mulder

BibTeX

3 sources · checked 

When LLM Decompilers Recompile More and Preserve Less

2026arXivPreprint

Decompile-Diverge builds function-level behavioral comparisons from source-derived drivers and fuzzed reference inputs. The study compares reconstructed functions on the same inputs and examines divergences and missing crashes that compilation and supplied tests can miss.

Scope & authors

Scope & limitations

The oracle requires reference source, supported inputs and buildable harnesses. It compares a finite corpus and bounded observable state; Matched reports agreement on the finite input corpus and bounded observable state. Nine of 300 GitHub reference functions failed harness builds, leaving 291. Some types/functions are excluded. DeGPT-Qwen uses a substituted backend in place of the DeGPT model from the original publication.

Authors & citation

Chang Liu; Edward Raff; Kristopher Micinski

BibTeX

2 sources · checked 

Decoupling is a Necessity: Transformation-Agnostic Decompiled Code Recovery under Optimization and Obfuscation

2026arXivPreprint

ReSource refines decompiled functions affected by compiler optimization and obfuscation. Its stages retrieve guidance from a Semantic Distortion Database, predict a control-flow skeleton, and refine names and formatting. Evaluation measures code similarity and retrieval of the corresponding original function from a source corpus.

Scope & authors

Scope & limitations

Function-level similarity and retrieval are the study’s proxy measures; compilability, executable equivalence and complete program recovery remain unverified. Section 5.2 notes missing global context and untested custom obfuscation. The author-linked artifact page describes a simplified dataset and explicitly says the database-construction and control-flow-prediction modules are not yet available.

Authors & citation

Zhiping Zhou; Xiaohong Li; Ruitao Feng; Yao Zhang; Yuekang Li; Wenbu Feng

BibTeX

5 sources · checked 

STILL: Recovering Lowered STL Semantics for LLM-assisted C++ Decompilation

2026arXivPreprint

STILL predicts function-level STL container presence from stripped control-flow graphs and turns those predictions into compact hints for LLM refinement of Ghidra output. StlBench supplies controlled labels for five container classes.

Scope & authors

Scope & limitations

The interface covers map, queue, set, string and vector, not full variable types, template arguments, nesting, iterators or std::array. Experiments use g++/x86-64/libstdc++ with angr and Ghidra; transfer to other toolchains is unverified. Test-suite executability is the measured outcome; equivalence remains unverified, and hint benefits depend on the downstream model and adaptation.

Authors & citation

Xiaohan Wang; Kevin Leach

BibTeX

2 sources · checked 

The Evolution of Binary Decompilation in the Modern Era: A Taxonomy, Literature Review, and Future Perspectives

2026arXivPreprint

This survey maps traditional, dynamic, matching and neural decompilation approaches, then organizes type recovery, control-flow restructuring, naming and refinement tasks alongside evaluation metrics and benchmark choices. An accompanying repository provides the reviewed literature list.

Scope & authors

Scope & limitations

The search ends in December 2025 and focuses on peer-reviewed studies of C-origin binaries. Selection and categorization involve manual judgment. Reported tool capabilities describe the implementations in surveyed publications; current implementations may differ. It is a literature synthesis covering the selected publications through December 2025; cross-tool performance benchmarking and 2026 preprints fall outside that coverage.

Authors & citation

Omar Abusabha; Sungjae Hwang

BibTeX

5 sources · checked 

Static Detection of Post-Quantum Cryptographic Algorithms in Stripped Binaries for Digital Forensic Examination and Migration Assurance

2026arXivPreprint

Kestrel identifies ML-KEM and ML-DSA in stripped binaries by matching number-theoretic transform constant tables. It evaluated four implementation lineages, build transformations, Linux binaries, and a disk image.

Scope & authors

Scope & limitations

The analysis covers ML-KEM and ML-DSA, including stripped and transformed binaries, a production Linux system, and a forensic disk-image trial.

Authors & citation

Muhammad Shaheer Bin Junaid

BibTeX

1 source · checked 

Behavior Specification-Guided Program Synthesis for Binary Deobfuscation

2026arXivPreprint

BinMirror uses execution traces and interaction snapshots as behavioral specifications to synthesize source code from obfuscated binaries and validate it against runtime observations.

Scope & authors

Scope & limitations

The evaluation covers 1.5 million synthetically obfuscated binaries and reports 74.5% unit-test Pass@1 under extreme obfuscation.

Authors & citation

Kangchen Zhu; Shangwen Wang; Zhiliang Tian; Zhouyang Jia; Xiaoling Li; Jun Ma; Jie Yu; Xiaoguang Mao

BibTeX

1 source · checked 

Beyond Source: An Empirical Study of Python Bytecode Security Risks

2026arXivPreprint

Studies bytecode in PyPI artifacts, evaluates version-aware decompilers on CPython 3.8–3.14 files, and tests decompiler robustness, interpreter behavior, and source-level reproduction.

Scope & authors

Scope & limitations

The evaluation covers collected PyPI artifacts, selected decompilers, CPython 3.8–3.14 bytecode, and adversarially mutated bytecode.

Authors & citation

Baihong Chen; Tian Xie; Wen Li

BibTeX

1 source · checked 

N2NMatcher: Towards Inlining-Resilient Binary Decomposition and Module Matching

2026arXivPreprint

N2NMatcher predicts stable function anchors, decomposes binaries into modules, and matches them with graph embeddings. Experiments compare decomposition quality and matching accuracy with existing methods.

Scope & authors

Scope & limitations

The work focuses on program-level binary code similarity under function inlining, using opcode sequences, control-flow structures, and function-call context.

Authors & citation

Ang Jia; He Jiang; Zhipeng Yang; Zhilei Ren; Xiaochen Li

BibTeX

1 source · checked 

Statistical Analysis of Executability and Program Equivalence in Decompilation for IoT Vulnerability Detection

2026arXivPreprint

Proposes nine structural, behavioral, and semantic metrics for decompilation quality and statistically evaluates 19,625 results from 318 OpenWrt programs produced by five methods.

Scope & authors

Scope & limitations

The evaluation covers 318 OpenWrt programs, 19,625 decompilation results, and five methods: one rule-based and four LLM-based.

Authors & citation

Minami Yoda; Jialong Li; Yasuyuki Tahara; Yuichi Sei; Yutaka Matsuno

BibTeX

1 source · checked 

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

2026arXivPreprint

The pipeline extracts anchors from binary functions, retrieves candidate source snippets, and uses an LLM to rank matches. It evaluates instruction coverage on a stripped, optimized tcpdump binary.

Scope & authors

Scope & limitations

The evaluation covers a stripped, optimized tcpdump binary using a high-fidelity source database and a GitHub-based retrieval database.

Authors & citation

Charles Edward Gagnon; Steven H. H. Ding; Philippe Charland; Benjamin C. M. Fung

BibTeX

1 source · checked 

REFORGE: A Method for Benchmarking LLMs' Reverse Engineering Capabilities in Decompiled Binary Function Naming

2026arXivPreprint

REFORGE is a method for building a benchmark of whether language models can name functions in decompiled binary code. It tracks provenance from C source through compilation, debug information, alignment, and decompilation so that uncertain alignments stay visible.

Scope & authors

Scope & limitations

The paper describes the benchmark-building pipeline and records uncertain function alignments; the record has no linked public code artifact.

Authors & citation

Nicolas Koller; Andreas U. Schmidt

BibTeX

3 sources · checked 

Evaluating Neural Decompilation of Dart AOT Binaries: Fine-Tuning, Metric Validity, Specification Leakage, and Reliability

2026arXivPreprint

Evaluates neural decompilation of Dart AOT binaries using execution tests, shared-candidate metrics, a metadata-removal intervention, graph perturbations, and repeated decoding.

Scope & authors

Scope & limitations

The evaluation covers six archived adapter-baseline comparisons, 141 reference-certified tasks for metric analysis, a paired intervention, graph perturbations, and five decoding seeds on MF-174.

Authors & citation

Raafat Abualazm; Ayman AboElhassan; Amr G. Wassal

BibTeX

1 source · checked 

Lifting Optimized Binaries to Canonical Compiler IR via Structure-Aware Retrieval and Iterative Verification

2026ACL 2026Conference paper

BRIDGE lifts stripped, optimized x86-64 and ARM64 functions, given as llvm-objdump disassembly, to LLVM IR. Its target is the unoptimized IR that a fixed clang -O0 configuration emits for the original source. Offline, it builds a retrieval database from 69,253 ExeBench functions compiled at -O0 to -O3, using LLVM pseudo-probe instrumentation to align assembly fragments with the matching -O0 IR regions. At inference it splits each function's angr-recovered control-flow graph into control-flow segments such as loops and if–else regions, retrieves the three nearest aligned assembly–IR pairs per segment from a FAISS index of Nova-1.3B embeddings, and prompts a hosted general-purpose LLM (DeepSeek-chat) to write the IR. Up to five refinement rounds then feed LLVM verifier and compiler diagnostics and unit-test failures back to the model. On HumanEval-Decompile and MBPP compiled with Clang 19 at -O0 to -O3, average re-executability is 65.2% and 65.4% on x86-64 and 45.6% and 42.1% on ARM64. The rule-based MCTOLL reaches 62.1% and 64.9% on x86-64, and the five directly prompted API LLMs reach at most 21.5%.

Scope & authors

Scope & limitations

Evaluation is function-level on short benchmark programs: HumanEval-Decompile and an MBPP subset, with inputs of 2 to 628 assembly instructions, built by the authors with one LLVM/Clang 19 toolchain on Linux. Canonical means matching one fixed clang -O0 configuration, not recovering the original source. Refinement and the re-executability metric both use the unit tests these benchmarks supply; the authors note that such test oracles are rarely available in practical reverse engineering. On x86-64 HumanEval-Decompile, re-executability falls from 65.2% to 60.8% with LLM-generated tests and to 53.5% with no tests. Output still diverges structurally from the reference: average edit similarity stays below 50%, and exact control-flow-graph matches reach 25.9% on that benchmark. The pipeline calls a hosted LLM API, as do the LLM baselines; results are geometric means of five runs and can shift as hosted models change. Forklift and LLM Compiler FTD are excluded from the baselines because the authors treat them as lifting compiler-emitted assembly text, and MCTOLL is compared only on x86-64. Other instruction sets need a rebuilt retrieval database. BRIDGE produces LLVM IR. The code repository has no license.

Authors & citation

Xiaoao Zhu; Jie Ren; Zhiqiang Li; Jie Zheng; Zhanyong Tang; Zheng Wang

BibTeX

11 sources · checked 

Multimodal Representation Learning for Binary Code Similarity Analysis: A Systematic Review and Conceptual Framework

2026Information Dynamics and ApplicationsJournal article

This article systematically reviews multimodal representation learning for binary code similarity analysis and outlines a conceptual framework for that task. The subject is how learned representations compare binary code.

Scope & authors

Scope & limitations

The summary is limited to the title, byline, and venue on the fetched PDF plus the Crossref date. Model results in the paper were not reproduced.

Authors & citation

Rupesh Kohli; Harish Parshuram Bhabad; Atmeshkumar Subhashbhai Patel; Vijay M. Rakhade; Nandini S. Patil; Vedant Kadlag

BibTeX

3 sources · checked 

Fool Me If You Can: On the Robustness of Binary Code Similarity Detection Models against Semantics-Preserving Transformations

2026Proceedings of the ACM on Software Engineering (FSE 2026)Journal article

The paper builds asmFooler to test whether learned binary code similarity detection (BCSD) models keep matching functions after semantics-preserving changes. From 620 baseline x86-64 ELF binaries (coreutils, binutils, PuTTY, nginx, SPEC2006 and others, built with Clang at O0–O3), it generates 9,565 variants using in-place instruction rewriting, basic-block reordering, Obfuscator-LLVM, semantic NOPs and junk code, and it adds a greedy search for dead-code sequences that make dissimilar functions look similar. Across Genius, Gemini, Asm2Vec, SAFE, Trex and BinShot, robustness depends on each model's preprocessing, architecture and features: block reordering drops BinShot's recall from 0.972 to 0.036 but lowers it by under 0.05 for the CFG-based Genius and Gemini. The false-positive attack reaches up to 100% success with 14.75 inserted instructions on average.

Scope & authors

Scope & limitations

All samples are x86-64 ELF binaries compiled by the authors from open-source packages and SPEC2006; some packages failed to compile or transform, and the in-place transformation is non-deterministic and not formally verified. The six models evaluated (Genius, Gemini, Asm2Vec, SAFE, Trex and BinShot) exclude jTrans and LLM-based similarity models, so the findings are not shown to transfer to newer or LLM-based systems. Results depend on the transformation budgets the authors set to fit each model's input limits, and semantic NOPs and junk code are inserted only at function entry. Packing, encryption, string obfuscation and commercial protectors such as VMProtect and Themida are out of scope, and adversarial training is left to future work.

Authors & citation

Jiyong Uhm; Minseok Kim; Michalis Polychronakis; Hyungjoon Koo

BibTeX

5 sources · checked 

MirrorCode: AI can rebuild entire programs from behavior alone

2026arXivPreprint

Tests reimplementation of 25 command-line programs using execute-only reference access, documentation and visible examples. Separate scoring environments compare exact outputs on visible and held-out end-to-end tests.

Scope & authors

Scope & limitations

Targets are scoped, deterministic, stateless programs with text output. Test agreement is not universal equivalence or code-quality assessment. A memorization screen flags possible exposure for 17 targets. Large inference budgets and scaffold choices limit comparisons with cheaper benchmarks; three targets remain private.

Authors & citation

Tom Adamczewski; David Owen; David Rein; Florian Brand; Giles Edkins; Allen Hart; Daniel O'Connell

BibTeX

5 sources · checked 

OASIF: An Efficient Obfuscation-Aware Self-Improving Framework for LLM-Based Assembly Code Instruction Following and Comprehension

2026arXivPreprint

OASIF trains a code LLM to understand obfuscated assembly using a compact encoder, a projector, instruction tuning, and self-improving reinforcement learning.

Scope & authors

Scope & limitations

Evaluation covers three commercial VM-based obfuscators on VMISA-Bench, seven BCSD benchmarks, HumanEval, VulBench, and HumanEval-Decompile.

Authors & citation

Xinyi Wang; Rongze Chen; Ke Wang; Qiyuan Chen; Yanming Liu; Xiang Li; Chunfu Jia

BibTeX

1 source · checked 

SBridge: Identifying Source-to-Binary Function Similarity via Cross-Domain Control Block Matching

2026arXivPreprint

SBridge matches source functions to binary functions using control blocks such as conditionals and loops. On 3,904 BinKit C/C++ binaries, it achieved 75.13% recall@1 and 80.98% recall@5.

Scope & authors

Scope & limitations

The evaluation identifies binary functions identical to input source functions in 3,904 real-world C/C++ binaries from BinKit.

Authors & citation

Heedong Yang; Jeongwoo Lee; Hajin Yun; Seunghoon Woo

BibTeX

1 source · checked 

DEVELOPMENT OF A MULTIDIMENSIONAL FACETED TAXONOMY OF MALWARE OBFUSCATION TECHNIQUES

2026Cybersecurity Education Science TechniqueJournal article

This article develops a multidimensional faceted taxonomy of malware obfuscation techniques. Its abstract says existing classifications do not jointly describe classical obfuscation and newer variants.

Scope & authors

Scope & limitations

The fetched PDF is primarily in Ukrainian. The English title, author names, and date come from Crossref, and the English abstract statement above is the Crossref abstract. The taxonomy was not reapplied to a malware corpus.

Authors & citation

Nazarii Chetvertukha; Viktor Otenko

BibTeX

3 sources · checked 

SoK: AI-Augmented Binary Reversing

2026arXivPreprint

A systematization-of-knowledge survey of machine-learning, LLM and agentic approaches to binary reversing. Version 2 collects 246 papers published since 2015, found through keyword searches of 11 security, software-engineering and AI venues plus citation snowballing, and organizes them into 22 domains by inference task: from code-boundary detection and recovery of function names, types and struct layouts to code similarity, malware and vulnerability analysis, and decompilation. Its taxonomy links conventional triage, static, dynamic and security-testing analyses to AI pipelines through the binary-derived artifacts they exchange, and it derives 12 insights and open directions such as binary-aligned ground truth and goal-driven agentic reversing.

Scope & authors

Scope & limitations

A literature systematization with no new experiments, benchmark or tool; it classifies and summarizes reported results without reproducing them. The corpus covers papers available up to July 31, 2026, applies citation thresholds that fall from 12 for 2015–2016 papers to 2 for 2025–2026 papers, excludes methods that need source code at inference time, and leaves out Android and interpreted-language bytecode. Detailed per-stage tables draw on 88 top-venue studies rather than the full corpus. It is an arXiv preprint with no stated venue.

Authors & citation

Yujeong Kwon; Yiyue Zhang; Kexin Pei; Dokyung Song; Hyungjoon Koo

BibTeX

5 sources · checked 

Binary Decompilation LLM with Feedback-Driven Multi-Turn Refinement

2026arXivPreprint

AutoDecompiler trains function-level decompilation models to revise assembly- or pseudocode-derived outputs using compilation, execution and I/O feedback. Its reinforcement-learning design combines diagnostic feedback with rewards for valid code, tested behavior, syntax and data-flow structure.

Scope & authors

Scope & limitations

Evaluation uses C adaptations of HumanEval and MBPP with validation feedback; finite tests leave general equivalence unverified. HumanEval also informs reward-weight selection, and base-model pretraining exposure cannot be ruled out. Refinement is context-limited, whole-program dependencies are not recovered, and unseen toolchains or protected binaries remain limitations.

Authors & citation

Peipei Liu; Jian Sun; Mingzhe Xing; Yicheng Zeng; Zhaoteng Yan; Lixiao Zhang; Li Chen; Dan Li

BibTeX

6 sources · checked 

LLM Agent-Assisted Reverse Engineering with Quantitative Readability Metrics

2026arXivPreprint

Uses a composite Quantitative Readability Score (QRS) to guide agents refining decompiled C. Lexical familiarity, structural simplicity and coding idioms are combined with a binary-structure similarity gate. Experiments compare refinement with and without shell access on 210 simple C binaries.

Scope & authors

Scope & limitations

Structural similarity is the measured outcome. QRS both guides and evaluates refinement; human readability validation remains future work. The selected synthetic corpus limits generalization. Recovering compilable, behaviorally correct code from difficult binaries is outside the claimed contribution.

Authors & citation

Neil Archibald; Ruben Thijssen

BibTeX

2 sources · checked 

Data Flows in You: Benchmarking and Improving Static Data-flow Analysis on Binary Executables

2026Proceedings of the ACM Asia Conference on Computer and Communications SecurityConference paper

This paper introduces a labeled benchmark for static data-flow analysis on binary executables and uses it to compare existing analysis engines. The arXiv abstract describes microbenchmark cases plus dynamically observed flows from real executables.

Scope & authors

Scope & limitations

Crossref dates a conference version in 2026-06. The fetched full text is arXiv:2506.00313v1, and the abstract's case counts were not recomputed.

Authors & citation

Nicolaas Weideman; Sima Arasteh; Mukund Raghothaman; Jelena Mirkovic; Christophe Hauser

BibTeX

4 sources · checked 

CoDe-R: Refining Decompiler Output with LLMs via Rationale Guidance and Adaptive Inference

2026IJCNN 2026Conference paper

CoDe-R refines decompiler output by training a model to recover algorithmic intent alongside code, then using an adaptive inference fallback. It evaluates re-executability on HumanEval-Decompile.

Scope & authors

Scope & limitations

The evaluation covers HumanEval-Decompile with a 1.3B backbone and reports an average re-executability rate above 50.00%.

Authors & citation

Qiang Zhang; Zhongnian Li

BibTeX

3 sources · checked 

SCDBench: A Benchmark for LLM-Based Smart Contract Decompilers

2026arXivPreprint

Benchmarks LLM-based EVM decompilation on 600 source-verified Ethereum Solidity contracts, sampled in easy, medium and hard thirds from 772,736 unique bytecode–source pairs after near-duplicate filtering. Each task supplies EVM assembly and optional four-byte selector hints and asks for self-contained Solidity with compiler settings. Outputs are scored in four cumulative stages: format completeness, compilation, ABI recovery, and semantic consistency, where 227,383 recorded test cases for 14,553 public functions are replayed on the recompiled output. With one compiler-feedback repair call, GPT-5.3-Codex compiled 90.3% of contracts, while the best semantic results were 29.4% of functions and 42 of 600 contracts recovered perfectly, both by Claude Opus 4.7.

Scope & authors

Scope & limitations

Replay compares return data, reverts, logs and touched storage on generated inputs that reach 77.8% average code coverage; equivalence beyond those inputs is unverified, and replay requires an Ethereum archive node. The contracts are source-verified Ethereum Solidity from compiler v0.4 to v0.8, so unverified, obfuscated, Vyper or other-chain bytecode is not covered. Three models are evaluated zero-shot through OpenRouter: Claude Opus 4.7 and GPT-5.3-Codex at high reasoning effort, and GLM-5 with and without extended thinking. Results and quoted costs describe those 2026 snapshots. Gigahorse and Heimdall-rs are scored only on selector and prototype recovery because they do not emit compilable Solidity; DiSCo and the fine-tuned decompiler of David et al. are discussed but not run.

Authors & citation

Kaihua Qin; Dawn Song; Arthur Gervais

BibTeX

2 sources · checked 

Semantic Validation of Packer Identification Tools: Characterization, Repair, and Downstream Impact

2026arXivPreprint

Uses unpacking outcomes as reference evidence to assess packer labels, normalizes heterogeneous tool results, and evaluates complementary signature/heuristic pools with static predicates derived from unpacker implementations. It traces how identification errors affect later unpacking and malware classification.

Scope & authors

Scope & limitations

The corpus is approximately 160,000 Windows PE samples, split into roughly 130,000 for analysis/rule construction and 30,000 for testing. Unpacker failures or partial recovery can compromise the derived reference labels. Family-identification improvements use common pooled-rule configurations rather than independently validated patches to seven separate tools. Repair evaluation excludes proprietary implementations and graph/learning-based methods. Coverage of other executable formats and all packer families, and general semantic equivalence, remain unverified.

Authors & citation

Fangtian Zhong; Zhuoyun Qian; Yili Jiang; Jiaqi Huang; Yunming Pang; Xiuzhen Cheng

BibTeX

5 sources · checked 

Decaf: Improving Neural Decompilation with Automatic Feedback and Search

2026arXivPreprint

Decaf samples multiple candidate decompilations, recompiles them and ranks them using compiler-derived byte distance or a learned reranker. The work studies candidate selection as a way to improve neural decompilation without an iterative source-repair conversation.

Scope & authors

Scope & limitations

Byte matching assumes access to the reference compiler/configuration. Experiments subsample ExeBench and exclude examples Hex-Rays cannot decompile; stripped Synth is not execution-scored because call targets cannot be linked. Supplied tests can miss errors. Alternate architectures and obfuscated code are not evaluated, and Juliet results need not generalize to complex vulnerabilities.

Authors & citation

Alexander Shypula; Osbert Bastani; Edward Schwartz

BibTeX

6 sources · checked 

REBENCH: A Procedural, Fair-by-Construction Benchmark for LLMs on Stripped-Binary Types and Names (Extended Version)

2026arXivPreprint

REBENCH is a benchmark for language models on type inference and name recovery in stripped binaries. The abstract presents it as a shared, procedurally constructed collection so that earlier studies can be compared without each one using a private dataset.

Scope & authors

Scope & limitations

The reviewed file is the extended-version preprint arXiv:2604.27319v1. The benchmark was not regenerated.

Authors & citation

Jun Yeon Won; Xin Jin; Shiqing Ma; Zhiqiang Lin

BibTeX

3 sources · checked 

From Heuristics to Transformers: A Comprehensive Survey of Type Inference from Stripped Binaries

2026arXivPreprint

This survey follows type inference for stripped binaries from rule-based heuristics and static constraints through neural models to transformers and graph networks. It discusses type information lost to optimization and the difficulty of recovering structural types.

Scope & authors

Scope & limitations

The reviewed file is arXiv:2606.23692v1. Named systems in the abstract were not reimplemented, and this preprint is a different work from the 2026 Automated Software Engineering type-recovery survey.

Authors & citation

Hua Zheng; Yuhang Guo; Kuanishbay Sadatdiynov; Cheng Wen; Muhammad Sadiq; Dugang Liu; Jawwad Ahmed Shamsi; Anam Qureshi

BibTeX

3 sources · checked 

Constraint-Guided Multi-Agent Decompilation for Executable Binary Recovery

2026arXivPreprint

A multi-agent framework refines decompiled code using parsing, GCC compilation, and execution tests; it achieved 84–97% re-executability on 1,641 ExeBench binaries.

Scope & authors

Scope & limitations

The evaluation covers 1,641 ExeBench binaries and output from RetDec, Ghidra, and Angr; behavioral checks use LLM-generated test cases.

Authors & citation

Yifan Zhang; Xiaohan Wang; Yueke Zhang; Yu Huang; Kevin Leach

BibTeX

1 source · checked 

No More Translation at Runtime: LLM-Empowered Static Binary Translation

2026EUROSYS '26Conference paper

The paper translates x86-64 assembly into AArch64 binaries ahead of execution and verifies simplified assembly snippets. It evaluates correctness and performance against open-source translators and ExaGear.

Scope & authors

Scope & limitations

The work covers static x86-64-to-AArch64 translation and evaluation against existing binary translators.

Authors & citation

Zhibo Liu; Huaijin Wang; Wai Kin Wong; Daoyuan Wu; Shuai Wang

BibTeX

2 sources · checked 

RlDecompiler: Enhancing LLM-based Decompilation via Reinforcement Learning with a Multi-Faceted Reward Function

2026ICPC '26Conference paper

RlDecompiler adds Ghidra-derived binary context to model prompts and trains decompilation models with rewards for syntax, AST similarity, compilability, and functional correctness.

Scope & authors

Scope & limitations

The evaluation covers 1.3B and 3B models, with rerunnable rates of 27.96% and 40.70%, respectively.

Authors & citation

Yuchi Su; Weina Niu; Jiacheng Gong; Ran Yan; Song Li; Xin Liu; Xiaosong Zhang

BibTeX

2 sources · checked 

Pretraining on Call Graphs: When Binary Analysis Tasks Profit From Context

2026ICPC '26Conference paper

The paper applies graph-based models to embeddings from two binary function models and evaluates binary code similarity and downstream tasks. It examines where call graph context improves embeddings.

Scope & authors

Scope & limitations

The analysis covers graph-based refinements of two binary function embedding models, semantic and syntactic tasks, and differences between namespace-related functions and functions focused on individual logic.

Authors & citation

Samuel Valenzuela; Johannes Kinder

BibTeX

2 sources · checked 

NotDec: WebAssembly Decompilation With Inter-Procedural Type Recovery

2026ICSE 2026Conference paper

NotDec lifts WebAssembly into SSA-based IR, uses Retypd-derived type constraints and pointer/value distinctions to recover structures, and emits C. Its study separates full interprocedural analysis from a faster intraprocedural variant.

Scope & authors

Scope & limitations

The study uses Juliet and five Howard programs at O0/O3. Howard binaries omit actual library linking and cannot be executed; recompilation is the reported outcome for those binaries. Full analysis timed out on six Howard variants at 24 hours; recompilation results cover successful decompilations. The inspected README also warns about backend syntax errors on complex statements.

Authors & citation

Jikai Wang; Ningyu He; Tianming Liu; Junhai Wang; Haoyu Wang

BibTeX

5 sources · checked 

EXHIB: A Benchmark for Realistic and Diverse Evaluation of Function Similarity in the Wild

2026arXivPreprint

EXHIB is a benchmark for binary function similarity detection, built as five datasets collected in the wild across varied cases. The abstract says the authors compare representative similarity models on it, including firmware and semantically changed cases.

Scope & authors

Scope & limitations

The reviewed file is arXiv:2604.01554v2. Model scores in the abstract were not recomputed.

Authors & citation

Yiming Fan; Jun Yeon Won; Ding Zhu; Melih Sirlanci; Mahdi Khalili; Zhiqiang Lin; Carter Yagemann

BibTeX

3 sources · checked 

PCodeTrans: Translate Decompiled Pseudocode to Compilable and Executable Equivalent

2026arXivPreprint

PCodeTrans repairs decompiled pseudocode using compilation, function substitution in the original binary, and differential runtime feedback. It evaluates recovery on Coreutils and Binutils.

Scope & authors

Scope & limitations

The evaluation covers functions from Coreutils and Binutils binaries, including unstripped and fully stripped binaries.

Authors & citation

Yuxin Cui; Zeyu Gao; Shuxian He; Siliang Qin; Chao Zhang

BibTeX

1 source · checked 

BDLF-Qwen3: Enhanced Cross-Architecture Binary Function Similarity Detection Through Binary Dynamic Layer Fusion

2026Proceedings of the AAAI Conference on Artificial IntelligenceJournal article

BDLF-Qwen3 uses dynamic layer fusion to match binary functions across CPU architectures. It introduces Cross-Bin and reports 36–65% higher Recall@10 than state-of-the-art methods.

Scope & authors

Scope & limitations

The evaluation covers cross-architecture binary function similarity across diverse CPU architectures, measured with Recall@10.

Authors & citation

Yuanda Wang; Ji Zhou; Xinhui Han; Chao Zhang

BibTeX

3 sources · checked 

Immersive sensemaking for binary reverse engineering: a survey and synthesis

2026Frontiers in Virtual RealityJournal article

This article surveys and synthesizes research on immersive sensemaking for binary reverse engineering, using work from cognitive systems engineering and from reverse-engineering practice. It describes binary reverse engineering as cognitively demanding and not fully automated.

Scope & authors

Scope & limitations

The summary follows the fetched Frontiers PDF abstract and the Crossref date 2026-02-18. No user study was repeated.

Authors & citation

Dennis G. Brown; Emily Mulder; Samuel Mulder

BibTeX

3 sources · checked 

HyRES: Recovering Data Structures in Binaries via Semantic Enhanced Hybrid Reasoning

2026ACM Transactions on Software Engineering and MethodologyJournal article

HyRES combines static analysis, an LLM, and heuristics to recover data structure layouts and semantics from stripped binaries, then uses those semantics to aggregate structures.

Scope & authors

Scope & limitations

The evaluation covers structure pointer identification, layout recovery, and runtime on stripped binaries against existing methods.

Authors & citation

Zihan Sha; Hui Shu; Hao Wang; Zeyu Gao; Yang Lan; Chao Zhang

BibTeX

2 sources · checked 

HELIOS: Hierarchical Graph Abstraction for Structure-Aware LLM Decompilation

2026arXivPreprint

HELIOS gives an LLM a hierarchical summary of binary control flow and function calls alongside decompiler output, with optional compiler feedback. It evaluates compilability and functional correctness.

Scope & authors

Scope & limitations

Evaluation covers HumanEval-Decompile on x86_64 with Gemini 2.0 and GPT-4.1 Mini, plus six architectures from x86, ARM, and MIPS.

Authors & citation

Yonatan Gizachew Achamyeleh; Harsh Thomare; Mohammad Abdullah Al Faruque

BibTeX

1 source · checked 

The Deception Delta: Adversarial Evaluation of LLM-Based Smart Contract Bytecode Forensics

2026ACM CCS 2026Conference accepted

Evaluates how language models interpret raw EVM bytecode from purpose-built deceptive and control contracts. It distinguishes recognizing a hidden transfer mechanism from correctly judging its risk, using model judges alongside judge-independent checks.

Scope & authors

Scope & limitations

The main evaluation covers 22 models and 13 synthetic contracts using single-shot raw bytecode, without execution tools, source retrieval or on-chain context. Its 8,528 analyzed responses exclude refusals and pending runs. Gold labels come from one expert; some judges also belong to evaluated model families. Ground-truth checks vary across contracts, including owner/selector-only checks and no dedicated EVM tests for two injection variants. These results neither measure deployed-contract prevalence nor generalize to interactive reverse-engineering agents.

Authors & citation

Timo Schefold

BibTeX

7 sources · checked 

SK2Decompile: LLM-based Two-Phase Binary Decompilation from Skeleton to Skin

2026ICLR 2026Conference paper

Splits LLM decompilation into two phases: a Structure Recovery model turns decompiler pseudocode into an identifier-free IR that keeps control flow and data structures, trained with compiler-based RL rewards, and an Identifier Naming model then restores names under a semantic-similarity reward. The authors report a 21.6% average re-executability gain over GPT-5-mini on HumanEval and a 29.4% average R2I improvement over Idioms on GitHub2025.

Scope & authors

Scope & limitations

Training and main evaluation use function-level C compiled for x86-64 Linux with GCC and Clang at -O0 to -O3, with IDA Pro pseudocode as model input. Re-executability is measured only on HumanEval and MBPP; ExeBench and GitHub2025 use R2I readability and a GPT-5-mini judge. Appendix experiments extend to BringUpBench projects, macOS arm64 and Windows MSVC builds, and Obfuscator-LLVM, but the models are trained on C only and the paper expects them to degrade on features without C equivalents, such as C++ templates.

Authors & citation

Hanzhuo Tan; Weihao Li; Xiaolong Tian; Siyi Wang; Jiaming Liu; Jing Li; Yuqun Zhang

BibTeX

10 sources · checked 

ShieldedCode: Learning Robust Representations for Virtual Machine Protected Code

2026ICLR 2026Conference paper

ShieldedCode studies software protection from the defender's side: it trains code language models on pairs of C source functions and their virtualization-protected (VMP) x86-64 code so that the models can generate, compare and rank protected variants. Training pairs come from AnghaBench functions compiled at O0–O3, protected at levels L0–L3 by a commercial VMP tool, then disassembled and normalized. The model adds attention masks for dependencies within, between adjacent and across virtual instructions, contrastive objectives for functional equivalence and protection strength, and a protection-effectiveness task that ranks variants of the same source. Continual pre-training starts from CodeLlama 34B and adds The Stack to the corpus, and fine-tuning uses 2.5 million source–VM pairs. On HumanEval-compile, VM code generation reaches 26.95% Pass@1 at level L0 (GPT-4o: 22.58%) and 14.71% at L3. On BinaryCorp-VirtualAssembly similarity detection, Recall@1 for the O0+L1 setting is 0.488, against 0.333 for jTrans with a linear probe. The authors also run a manual reverse-engineering study and pattern-matching and angr attacks on the generated protection.

Scope & authors

Scope & limitations

All data is x86-64, and every training pair is produced with one commercial VMP tool that the paper does not name, so results may not carry over to other architectures, protectors or virtual-instruction designs. Generated VM code is checked with HumanEval-compile test cases, not formal equivalence, and Pass@1 stays between 14.71% and 26.95% across protection levels. The similarity gain over jTrans holds only in the O0+L1 setting: in the other five BinaryCorp-VirtualAssembly settings the linear-probe jTrans has higher Recall@1 (for example 0.715 against 0.309 for O2+L1), and the paper's summaries of the comparison differ (a 10% gain in the abstract, 15.5 points in the introduction, competitive in the results). The ablation table reports scores for ContraBin, CLAP and CEBin that the paper says are estimated from their architectures rather than measured. Protection-strength claims rest on the authors' own attacks and manual study: 12 graduate students and 3 professional reverse engineers analyzing 20 functions for 30–45 minutes each, with 17% success on ShieldedCode output against 67% for VMProtect and 58% for Themida. The paper links no code, models or generated training data.

Authors & citation

Mingqiao Mo; Yunlong Tan; Hao Zhang; Heng Zhang; Yangfan He

BibTeX

5 sources · checked 

Idioms: A Simple and Effective Framework for Turbo-Charging Local Neural Decompilation with Well-Defined Types

2026NDSS 2026Conference paper

Idioms fine-tunes code language models to turn Hex-Rays output for one target function into predicted original C together with definitions of the user-defined structs, unions and typedefs it uses. Input can include neighboring decompiled functions in breadth-first call-graph order, so evidence about a type scattered across callers and callees reaches the model. The authors also build Realtype, 157,163 functions from compiled open-source C repositories with full type definitions. Their CodeGemma-7b-based model passes ExeBench unit tests for 54.4% of functions versus 46.3% for LLM4Decompile and 37.5% for Nova, and scores at least 95% higher on Realtype.

Scope & authors

Scope & limitations

This is local, function-level neural decompilation: each prediction covers one target function and its type definitions, not a compilable whole program. Evaluation uses x86-64 Linux gcc binaries from open-source GitHub projects and ExeBench’s “real” subset; O1–O3 builds disable inlining, and keeping only functions that decompiled at every level removes 21% of the Hex-Rays and 76% of the Ghidra test sets. ExeBench unit tests are an optimistic proxy; Realtype has no tests, so dependency-graph equivalence and exact name and type matches serve as conservative proxies, and a Realtype user-defined type counts as correct only if all of its fields, 17.6 on average when counted recursively, match. The main models use proprietary Hex-Rays output and context windows of 2,048 or 4,096 tokens. Predicted names and types are statistical, not recovered originals. Pretraining leakage from GitHub remains possible, and obfuscated code and malware were not evaluated.

Authors & citation

Luke Dramko; Claire Le Goues; Edward J. Schwartz

BibTeX

9 sources · checked 

FidelityGPT: Correcting Decompilation Distortions with Retrieval Augmented Generation

2026NDSS 2026Conference paper

FidelityGPT post-processes existing decompiler output: an LLM labels lines with six distortion types, such as non-conventional dereferencing, redundant variables and confusing control flow, and then rewrites the labeled lines. Its prompts define the distortion types and add retrieval-augmented context from a manually annotated database of distorted IDA Pro and Ghidra lines. A semantic-intensity algorithm chooses which lines to query, and a variable-dependency analysis carries redundant-variable context across 50-line chunks. On 620 function pairs, the authors report 89% detection accuracy and 83% precision, and correction fix rates of 94% (FR) and 64% (CFR) against 83% and 37% for their DeGPT runs.

Scope & authors

Scope & limitations

The 620 pairs are mostly -O0 IDA Pro 7.5 functions sampled from Coreutils, curl, ImageMagick, OpenSSL, PuTTY and SQLite builds in a binary-similarity dataset, across ARM-32, MIPS-32 and x86-32, plus x86-64 TheAlgorithms/C code; separate -O1–-O3 and Ghidra sets test generalization. Ground-truth labels and FR/CFR were assessed manually by the author team against the paper’s criteria. Fix rates count lines marked as fixed; the authors note that repaired code often cannot be recompiled or executed. Correction runs on whole functions and may degrade on long ones, and the distortion database, built from 150 IDA Pro and 91 Ghidra lines, may miss rarer anomalies. Main results use GPT-4o at temperature 0.5 and remain stochastic; DeepSeek-chat and temperature-0 runs are reported separately. Training-data exposure of the open-source projects cannot be ruled out.

Authors & citation

Zhiping Zhou; Xiaohong Li; Ruitao Feng; Yao Zhang; Yuekang Li; Wenbu Feng; Yunqian Wang; Yuqing Li

BibTeX

9 sources · checked 

Does Representation Matter? Evaluating IRs for LLM-based Binary Decompilation

2026BAR 2026Conference paper

Evaluates how disassembly and hierarchical intermediate representations affect LLM-based binary decompilation across five commercial models, including recompilation and functional correctness.

Scope & authors

Scope & limitations

The evaluation covers binary decompilation with five commercial LLMs and compares input representation, recompilation, functional correctness, and complexity metrics.

Authors & citation

Tomás Pelayo-Benedet; Kevin Borgolte; Ricardo J. Rodríguez

BibTeX

2 sources · checked 

CHISEL-ing Back Source Code with AI-enabled Iterative Recovery

2026SURE @ ACM CCS 2026Conference accepted

CHISEL refines Ghidra pseudocode using compiler diagnostics and type-aware differential fuzzing against the original function. It retains counterexamples and candidate history; existing I/O pairs are held out for evaluation rather than supplied to the recovery loop.

Scope & authors

Scope & limitations

Evaluation covers 120 selected ExeBench functions, x86-64 O0–O3, stripped/unstripped variants and a fixed Gemma4:31b model. The feedback oracle still falsely accepts candidates; finite fuzzing and held-out tests leave equivalence unverified. Signature recovery and possible benchmark exposure remain limitations.

Authors & citation

Varun Kohli; N Raghava; Biplab Sikdar; Dinil Mon Divakaran

BibTeX

5 sources · checked 

BINALIGNER: Aligning Binary Code for Cross-Compilation Environment Diffing

2026NDSS 2026Conference paper

BINALIGNER aligns binary control-flow subgraphs using conditional relaxation and instruction-independent block features. It evaluates alignment across compilation environments and in two vulnerability case studies.

Scope & authors

Scope & limitations

The evaluation covers cross-version, cross-compiler, cross-optimization, and cross-architecture scenarios, their combinations, and two real-world vulnerability and patch case studies.

Authors & citation

Yiran Zhu; Tong Tang; Jie Wan; Ziqi Yang; Zhenguang Liu; Lorenzo Cavallaro

BibTeX

2 sources · checked 

A Deep Dive into Function Inlining and its Security Implications for ML-based Binary Analysis

2025arXivPreprint

The paper examines LLVM's inlining decisions and evaluates how aggressive inlining affects 20 models across five security-focused binary analysis tasks.

Scope & authors

Scope & limitations

The evaluation covers extreme inlining produced by compiler options, five ML-assisted binary analysis tasks, and 20 models.

Authors & citation

Omar Abusabha; Jiyong Uhm; Tamer Abuhmed; Hyungjoon Koo

BibTeX

1 source · checked 

REx86: A Local Large Language Model for Assisting in x86 Assembly Reverse Engineering

20252025 IEEE Annual Computer Security Applications Conference (ACSAC)Conference paper

The paper fine-tunes eight local models from CodeLlama, Qwen2.5-Coder, and CodeGemma on 5,981 x86 assembly examples and evaluates their help with binary reverse engineering.

Scope & authors

Scope & limitations

Evaluation covers a curated x86 assembly dataset and a 43-person user case study of line-level understanding and problem solving.

Authors & citation

Darrin Lea; James Ghawaly; Golden Richard; Aisha Ali-Gombe; Andrew Case

BibTeX

2 sources · checked 

Augmenting Smart Contract Decompiler Output through Fine-grained Dependency Analysis and LLM-facilitated Semantic Recovery

2025IEEE Transactions on Software EngineeringJournal article

SmartHalo uses dependency analysis and LLM prompts to improve smart contract decompilation, then checks the output with symbolic execution and formal verification.

Scope & authors

Scope & limitations

The evaluation covers 465 randomly selected smart contract methods and measures method boundaries, variable types, and contract attributes.

Authors & citation

Zeqin Liao; Yuhong Nan; Zixu Gao; Henglong Liang; Sicheng Hao; Peifan Reng; Zibin Zheng

BibTeX

3 sources · checked 

Recover Function Signature from Combined Constraints

2025CCS '25Conference paper

CDA combines probabilistic constraints and inference rules to select function signatures recovered by multiple decompilers. It was evaluated against IDA, Ghidra, Binary Ninja, and TYGR.

Scope & authors

Scope & limitations

The evaluation covers variadic function and position detection, parameter identification, return value detection, and parameter type recovery across x64, x86, AArch64, Arm, and Mips at O0–O3.

Authors & citation

Haohui Huang; Yue Liu; Yuxi Cheng; Haiyang Wei; Jiamu Liu; Yu Wang; Linzhang Wang

BibTeX

2 sources · checked 

Poster: Code HarvETHter: Corpus-Driven Decompilation of Ethereum Smart Contracts

2025CCS '25Conference paper

HarvETHter uses knowledge sourced from the Ethereum blockchain to decompile EVM smart contracts into Solidity source code. The poster investigates its corpus completeness hypothesis through HarvETHter.

Scope & authors

Scope & limitations

The work covers EVM smart contracts on platforms such as Ethereum, Binance, and Polygon, with Solidity as the reconstructed source language.

Authors & citation

Jens-Rene Giesen; Christian Scholz; Lucas Davi

BibTeX

2 sources · checked 

VexIR2Vec: An Architecture-Neutral Embedding Framework for Binary Similarity

2025ACM Transactions on Software Engineering and MethodologyJournal article

VexIR2Vec extracts control-flow paths from binaries, normalizes their VEX-IR, and learns function embeddings for binary diffing and search.

Scope & authors

Scope & limitations

The evaluation covers 7 projects compiled with 12 compilers for x86 and ARM, across optimization, compiler, architecture, and obfuscation variations.

Authors & citation

S. VenkataKeerthy; Soumya Banerjee; Sayan Dey; Yashas Andaluri; Raghul P. S.; Subrahmanyam Kalyanasundaram; Fernando Magno Quintão Pereira; Ramakrishna Upadrasta

BibTeX

3 sources · checked 

GView: A Survey of Binary Forensics via Visual, Semantic, and AI-Enhanced Analysis

2025Electronic Proceedings in Theoretical Computer ScienceJournal article

This paper presents GView, an open-source framework for binary forensic analysis that combines visual inspection with semantic and AI-assisted reasoning. The title frames that framework as a survey of those analysis styles as malicious artifacts grow in volume and variety.

Scope & authors

Scope & limitations

The paper presents a framework and survey; no author-provided code or project link is listed.

Authors & citation

Raul Zaharia; Dragoş Gavriluţ; Gheorghiţă Mutu

BibTeX

3 sources · checked 

Is This the Same Code? A Comprehensive Study of Decompilation Techniques for WebAssembly Binaries

2025SecureComm 2024Conference paper

Measures how well existing WebAssembly decompilers recover C, with native-binary decompilers as the baseline. The same C programs are compiled with Emscripten to WebAssembly and with clang to native code, then decompiled by wasm2c, w2c2 and wasm-decompile or by Ghidra and RetDec. Correctness reuses 1,000 Csmith programs from DecFuzzer, recompiling the output and comparing its execution with the original; code-complexity metrics and AST similarity to the original source are measured on PolyBenchC and CHStone at -O0 to -O2. wasm2c passed all 1,000 correctness programs, against 649 for wasm-decompile, 818 for Ghidra and 775 for RetDec.

Scope & authors

Scope & limitations

Correctness covers only generated single functions with local-variable arithmetic and no library calls, pointers or global state; the wasm2c result therefore applies to this restricted function set, while correctness on general programs remains untested. w2c2 is excluded from the correctness test, and wasm-decompile output could be parsed for structural similarity only at -O0. Native baselines pass through DecFuzzer’s syntax rewriter, and the authors note that some Ghidra and RetDec failures may come from that evaluation step rather than the decompilers. Readability is estimated from metrics such as lines of code, nesting depth, cyclomatic and Halstead complexity, gotos and casts; human assessment remains outside the study. The benchmarks are C suites compiled by the authors with one Emscripten/clang toolchain; real-world WebAssembly modules remain outside the sample, and tool versions are described only as the latest available at the time.

Authors & citation

Wei-Cheng Wu; Yutian Yan; Hallgrimur David Egilsson; David Park; Steven Chan; Christophe Hauser; Weihang Wang

BibTeX

4 sources · checked 

BinMetric: A Comprehensive Binary Code Analysis Benchmark for Large Language Models

2025IJCAI 2025Conference paper

BinMetric poses 1,000 questions across six binary-analysis tasks: call-site reconstruction, decompilation, signature recovery, binary code summarization, algorithm classification and assembly instruction generation. The questions come from 20 open-source C projects compiled for x86-64, stripped and processed with IDA Pro, and aligned with source code through DWARF information. The authors evaluate 12 LLMs from five model families with one-shot prompts, alongside IDA Pro’s decompiler, LLM4Decompile, BinT5 and HexT5 where those apply.

Scope & authors

Scope & limitations

Scores are question-level metrics on isolated snippets; end-to-end reverse-engineering workflows and agentic tool use lie outside the evaluation. Preprocessing requires IDA Pro, and all binaries are x86-64 builds with each project’s default compiler settings on Ubuntu 22.04; other architectures, optimization sweeps and obfuscation are not studied. Most tasks score text overlap with Rouge-L, BLEU, METEOR or CodeBLEU, leaving semantic equivalence untested by those metrics; only assembly generation checks compilation and test-case execution, where the average execution pass rate is below 1%. Summary labels were generated by ChatGPT and then manually reviewed, and algorithm classification uses 80 snippets from a single algorithms project. Leakage screening relied on exact-match web searches. The evaluated models predate 2025 (including gpt-3.5-turbo-16k-0613 and gpt-4-0613) and ran with a maximum length of 8,192 tokens, so the rankings are historical.

Authors & citation

Xiuwei Shang; Guoqiang Chen; Shaoyin Cheng; Benlong Wu; Li Hu; Gangyang Li; Weiming Zhang; Nenghai Yu

BibTeX

5 sources · checked 

An Empirical Study of C Decompilers: Performance Metrics and Error Taxonomy

2025ASIA CCS '25Conference paper

DiscScope uses symbolic execution and differential analysis to locate C decompilation errors. The study analyzes 1,081,413 decompiler outputs and quantifies an error taxonomy.

Scope & authors

Scope & limitations

The evaluation covers benign and malicious real-world programs compiled with GCC and Clang at seven optimization levels.

Authors & citation

Melih Sirlanci; Carter Yagemann; Zhiqiang Lin

BibTeX

2 sources · checked 

Exploring the Potential of LLMs for Code Deobfuscation

2025DIMVA 2025Conference paper

Studies LLMs as source-to-source deobfuscators for C functions protected with the Tigress obfuscator. Functions from ExeBench, with identifiers randomized, are obfuscated with five transformations: MBA arithmetic encoding, branch encoding, control-flow flattening, opaque predicates and argument randomization. Each model receives a whole obfuscated function and returns simplified C. DeepSeek Coder 6.7B and Code Llama 7B are fine-tuned on obfuscated–original pairs, GPT-4 is prompted, and Clang optimization at -O0 to -O3 serves as a compiler baseline. Simplification is scored with Halstead program length relative to the original and obfuscated code, syntactic correctness by compiling ExeBench wrappers and semantic correctness by ExeBench input/output samples. The fine-tuned models reduce complexity more than GPT-4 on every transformation and more than Clang except on arithmetic encoding and argument randomization, where Clang is on par. Trained on chains of up to five transformations, they keep stable scores on chains of six and seven, and the best model cuts Halstead program length by 89.21% on average in the hardest scenario. A test with randomized constants found one sample that reproduced memorized code.

Scope & authors

Scope & limitations

The obfuscation is Tigress (version 3.3.3 in the released scripts) applied source-to-source to single C functions. Compiled binaries, decompiler output, commercial protectors, inter-procedural obfuscation, VM-based packing and self-modifying code are not evaluated; the authors only note that decompilation can approximate C from binaries. This is source-level simplification. Semantic correctness is the main weakness: for single transformations the fine-tuned models preserve behavior in 50% to 94.5% of samples, mostly below GPT-4 and, except for branch encoding, below Clang, and it falls as transformation chains grow longer. Complexity scores count only samples that are both syntactically and semantically correct. Behavior is checked with ExeBench input/output samples rather than equivalence proofs, inputs are limited to a 6,144-token context, and models were fine-tuned with 8-bit quantization. Only one obfuscator is used, so generalization to other obfuscators, versions, machine code or bytecode is left open, and baselines are GPT-4 and Clang rather than dedicated deobfuscation tools.

Authors & citation

David Beste; Grégoire Menguy; Hossein Hajipour; Mario Fritz; Antonio Emanuele Cinà; Sébastien Bardin; Thorsten Holz; Thorsten Eisenhofer; Lea Schönherr

BibTeX

10 sources · checked 

DecompileBench: A Comprehensive Benchmark for Evaluating Decompilers in Real-World Scenarios

2025Findings of ACL 2025Conference paper

Evaluates traditional and LLM-based decompilers using functions from real programs, runtime behavioral checks, and an LLM-assisted assessment of analyst-facing code understandability.

Scope & authors

Scope & limitations

The evaluated corpus has 23,400 functions from 130 programs. Fuzzing-based checks have finite coverage, and understandability scores depend partly on an LLM judge. The artifact warns that rebuilt OSS-Fuzz projects can differ from the paper's versions.

Authors & citation

Zeyu Gao; Yuxin Cui; Hao Wang; Siliang Qin; Yuanda Wang; Zhang Bolun; Chao Zhang

BibTeX

5 sources · checked 

Decompiling Smart Contracts with a Large Language Model

2025arXivPreprint

Converts Ethereum Virtual Machine bytecode into Solidity in two stages. Static analysis first lifts the bytecode into three-address code with recovered control flow; a Llama-3.2-3B model fine-tuned with LoRA on 238,446 TAC-to-Solidity function pairs then writes each function. On 9,731 held-out functions from verified Ethereum contracts, the authors report average semantic similarity of 0.82 to the original source, with 78.3% of functions above 0.8. An ablation compares the untuned base model on 663 functions, and case studies decompile an unverified Dx Protocol contract and an exploited MEV bot.

Scope & authors

Scope & limitations

The 0.82 figure is the paper’s semantic-similarity score, whose computation v1 does not specify. With normalized edit distance and token-frequency comparisons, it measures resemblance to verified source, not behavioral equivalence; v1 reports no compilation, execution or differential tests of the generated Solidity. Training and test functions come from verified contracts, so closed-source deployments appear only in case studies. Comparisons with traditional decompilers are stated in general terms; no head-to-head experiment against a named decompiler such as Elipmoc is reported. The authors show a DeFi staking function whose output lost its fixed-point arithmetic and time-based reward logic (similarity 0.52), and report weaker results on very long functions and on contracts with deep inheritance or nested control flow.

Authors & citation

Isaac David; Liyi Zhou; Dawn Song; Arthur Gervais; Kaihua Qin

BibTeX

3 sources · checked 

DecLLM: LLM-Augmented Recompilable Decompilation for Enabling Programmatic Use of Decompiled Code

2025Proceedings of the ACM on Software Engineering (ISSTA 2025)Journal article

DecLLM repairs decompiler pseudocode that does not recompile into C that compiles and runs, so source-level tools such as CodeQL can be applied to binaries. An iterative loop feeds compiler errors to an off-the-shelf LLM, reverting illegal outputs and large deletions, then uses mismatched test outputs and AddressSanitizer reports from the rebuilt program to repair behavior, and finally fuzzes the original and rebuilt executables for divergences. With GPT-3.5 and GPT-4 the authors report 74% and 78.3% success on 300 Code Contest programs; on Coreutils and CGC binaries, 61.9–70.9% recompile and 48.1–59.0% are fully functional.

Scope & authors

Scope & limitations

On Code Contest, success means the repaired code compiles and the rebuilt executable passes the supplied test cases, with AFL++ fuzzing as an extra check; the Coreutils and CGC overall rates also count rebuilt binaries that malfunction or crash. This establishes compilability and test-based agreement, not semantic equivalence, which the authors note is undecidable. Results depend on IDA Pro 8.3 output, with one Ghidra 10.4 repetition, and on the API-served gpt-3.5-turbo-0613 and gpt-4-0314 snapshots with a 4,096-token limit, so programs were chosen to fit within half of it. The 300 Code Contest programs average 112.9 lines; Coreutils 9.5 and CGC binaries were compiled without stripping symbols and repaired function by function, which cannot infer undefined globals. Around 30% of hard cases still fail, mainly from decompiler address/data confusion, ill-inferred buffer sizes, long outputs that include STL code and LLM type-cast shortcuts; deviations not exercised by tests remain undetected. CodeQL analysis of Juliet samples needed manual query adaptation.

Authors & citation

Wai Kin Wong; Daoyuan Wu; Huaijin Wang; Zongjie Li; Zhibo Liu; Shuai Wang; Qiyi Tang; Sen Nie; Shi Wu

BibTeX

9 sources · checked 

MiSum: Multi-modality Heterogeneous Code Graph Learning for Multi-intent Binary Code Summarization

2025Proceedings of the ACM on Software Engineering (FSE 2025)Journal article

MiSum aligns assembly and pseudocode graphs to generate binary code summaries for different intents. It was evaluated across architectures and optimization levels using BLEU, METEOR, and ROUGE-L.

Scope & authors

Scope & limitations

The work focuses on summaries generated from assembly and pseudocode, with evaluation across architectures and optimization levels.

Authors & citation

Kangchen Zhu; Zhiliang Tian; Shangwen Wang; Weiguo Chen; Zixuan Dong; Mingyue Leng; Xiaoguang Mao

BibTeX

2 sources · checked 

DiSCo: Towards Decompiling EVM Bytecode to Source Code using Large Language Models

2025Proceedings of the ACM on Software Engineering (FSE 2025)Journal article

DiSCo lifts Ethereum contract creation bytecode to Solidity source by prompting a frozen LLM, instead of emitting decompiler pseudocode. It abstracts control-flow paths into logic-invariant semantic units, recovers constructor logic by simulating creation bytecode captured from block execution, and infers stripped names with signature databases and a type-aware graph model. These units become natural-language descriptions plus coding specifications in the prompt. GPT-4 is the primary model; Llama 3 is also tested.

Scope & authors

Scope & limitations

Ground truth comes from Etherscan source files: 200 highest-balance contracts for all baselines and 1,000 for automated tests; separate studies add 50 Vyper, 50 newly deployed and 149 closed-source attack contracts. Compilability (about 75% with best-of-five sampling, 46% for a single run), differential-fuzzing pass rates and embedding similarity evaluate the generated results; equivalence to deployed source remains untested. Nearly half of the imitation-learning fuzzer’s transactions revert, and manual review judged about 28.5% of generated contracts semantically consistent, and 12% for Vyper inputs. The authors report timeouts or unsound analysis on contracts with many paths, and name inference remains weak. Baselines give the same LLM output from Panoramix, Ethervm and Elipmoc, mostly taken from their websites or decompiled manually; the comparison concerns the same LLM processing those outputs. Results depend on a GPT-4 preview snapshot. Attack reproduction covers ten January 2025 incidents, four of which were reproduced.

Authors & citation

Xing Su; Hanzhong Liang; Hao Wu; Ben Niu; Fengyuan Xu; Sheng Zhong

BibTeX

7 sources · checked 

D-LiFT: Improving LLM-based Decompiler Backend via Code Quality-driven Fine-tuning

2025arXivPreprint

D-LIFT uses D-Score to guide LLM fine-tuning and output selection, improving decompiled code while prioritizing accuracy. It evaluates Ghidra output from coreutils and util-linux.

Scope & authors

Scope & limitations

The evaluation covers functions from coreutils and util-linux, using Ghidra and a range of LLMs. D-Score measured 55.3% more improved functions than baseline LLMs and improvements to 68.2% of native decompiler functions.

Authors & citation

Muqi Zou; Hongyu Cai; Hongwei Wu; Zion Leonahenahe Basque; Arslan Khan; Berkay Celik; Dave; Tian; Antonio Bianchi; Ruoyu; Wang; Dongyan Xu

BibTeX

1 source · checked 

llasm: Naming Functions in Binaries by Fusing Encoder-only and Decoder-only LLMs

2025ACM Transactions on Software Engineering and MethodologyJournal article

llasm combines a binary-code encoder with a language-model decoder to predict function names in stripped binaries. It reports improved precision, recall, F1, and generalizability on unseen binaries.

Scope & authors

Scope & limitations

The evaluation uses the BinaryCorp and Debin datasets, with case studies of real-world malware analysis.

Authors & citation

Zihan Sha; Hao Wang; Zeyu Gao; Hui Shu; Bolun Zhang; Ziqing Wang; Chao Zhang

BibTeX

2 sources · checked 

SuiGPT MAD: Move AI Decompiler to Improve Transparency and Auditability on Non-Open-Source Blockchain Smart Contract

2025WWW '25Conference paper

MAD uses an LLM and prompt engineering to decompile Sui smart contract bytecode into readable, recompilable Move source code. It was evaluated with unit tests, real-world contracts, and 12 developers.

Scope & authors

Scope & limitations

The evaluation covers Sui smart contracts, including original unit tests, recompilation of real-world contracts, and an auditing study with 12 developers.

Authors & citation

Eason Chen; Xinyi Tang; Zimo Xiao; Chuangji Li; Shizhuo Li; Tingguan Wu; Siyun Wang; Kostas Kryptos Chalkias

BibTeX

2 sources · checked 

Accurate and Extensible Symbolic Execution of Binary Code based on Formal ISA Semantics

20252025 Design, Automation & Test in Europe Conference (DATE)Conference paper

Uses formal ISA semantics to symbolically execute binary code. A RISC-V prototype was extended in a case study; comparison with angr uncovered five previously unknown ISA implementation bugs.

Scope & authors

Scope & limitations

The prototype and extension case study focus on RISC-V instructions; the experimental comparison is with angr.

Authors & citation

Sören Tempel; Tobias Brandt; Christoph Lüth; Christian Dietrich; Rolf Drechsler

BibTeX

2 sources · checked 

Beyond the Edge of Function: Unraveling the Patterns of Type Recovery in Binary Code

2025arXivPreprint

ByteTR recovers variable types using static and interprocedural analysis with a gated graph neural network. It was evaluated against existing tools and on a CTF challenge.

Scope & authors

Scope & limitations

The study uses the TYDA dataset of binaries across four architectures and four compiler optimization options; its pseudocode readability example is a CTF challenge.

Authors & citation

Gangyang Li; Xiuwei Shang; Shaoyin Cheng; Junqi Zhang; Li Hu; Xu Zhu; Weiming Zhang; Nenghai Yu

BibTeX

1 source · checked 

LLM-Powered Static Binary Taint Analysis

2025ACM Transactions on Software Engineering and MethodologyJournal article

LATTE uses an LLM for automated static binary taint analysis. In firmware evaluations, it found 37 new bugs missed by the compared analyzers; 7 received CVE numbers.

Scope & authors

Scope & limitations

The paper focuses on static binary taint analysis for vulnerability detection and evaluates it against Emtaint, Arbiter, and Karonte on real-world firmware.

Authors & citation

Puzhuo Liu; Chengnian Sun; Yaowen Zheng; Xuan Feng; Chuan Qin; Yuncheng Wang; Zhenyang Xu; Zhi Li; Peng Di; Yu Jiang; Limin Sun

BibTeX

2 sources · checked 

ReF Decompile: Relabeling and Function Call Enhanced Decompile

2025arXivPreprint

ReF Decompile relabels jump targets and uses function calls to recover variable information when converting binary code to source code. It was evaluated on the HumanEval-Decompile Benchmark.

Scope & authors

Scope & limitations

The evaluation covers binary code decompilation on the HumanEval-Decompile Benchmark, with comparisons to similar methods and a reported performance of 61.43%.

Authors & citation

Yunlong Feng; Bohan Li; Xiaoming Shi; Qingfu Zhu; Wanxiang Che

BibTeX

1 source · checked 

Fast, Fine-Grained Equivalence Checking for Neural Decompilers

2025arXivPreprint

Introduces codealign to align equivalent instructions in neural decompiler predictions. It compares codealign with symbolic execution and examines its reports on equivalent code regions and variable names.

Scope & authors

Scope & limitations

The evaluation focuses on neural decompiler predictions, instruction-level equivalence, and variable-name matching.

Authors & citation

Luke Dramko; Claire Le Goues; Edward J. Schwartz

BibTeX

1 source · checked 

VeriBin: Adaptive Verification of Patches at the Binary Level

2025NDSS 2025Conference paper

VeriBin uses symbolic execution to identify changes between an original binary and its patched version, then checks whether those changes preserve the original functionality.

Scope & authors

Scope & limitations

The evaluation covers 86 samples and includes an analysis of the XZ Utils backdoor.

Authors & citation

Hongwei Wu; Jianliang Wu; Ruoyu Wu; Ayushi Sharma; Aravind Machiry; Antonio Bianchi

BibTeX

2 sources · checked 

Unleashing the Power of Generative Model in Recovering Variable Names from Stripped Binary

2025NDSS 2025Conference paper

GenNm suggests names for placeholder variables in decompiled code of stripped binaries by fine-tuning generative code models (CodeGemma-2B by default; CodeLlama-7B and a LoRA-tuned CodeLlama-34B are also tested). Queries add renamed caller code and callee signatures propagated along the call graph; a DPO-style symbol-preference optimization (SymPO) counters bias toward frequent training names, and a data-flow name-validation step chooses among candidates over iterative rounds. The authors report 5.6–11.4-point precision gains over VarBERT and ReSym on rebuilt DIRTY and VarCorpus datasets, and 22.8% precision on names unseen in training against 17.3% for the strongest baseline.

Scope & authors

Scope & limitations

Predictions are scored against debug-symbol names by token matching with SymLM's word clusters and rules, plus a GPT-4 evaluator for context relevance and semantic accuracy; neither shows that outputs are the original identifiers, and overall split-by-binary precision is 35.8% (DIRTY) and 41.2% (VarCorpus). Precision is about 30% for projects unseen in training, and gains are smaller at -O2 and -O3. Ground truth comes from debug information in Linux binaries rebuilt from GitHub projects or Gentoo packages, with IDA Pro output in the paper's examples. GenNm needs each binary's call graph, which is why the DIRTY dataset was rebuilt; split-by-function VarCorpus results use a 15% binary sample, and the black-box GPT-3.5/GPT-4 comparison uses 1,000 sampled functions. It recovers variable names only, not types, function names or full decompiled code.

Authors & citation

Xiangzhe Xu; Zhuo Zhang; Zian Su; Ziyang Huang; Shiwei Feng; Yapeng Ye; Nan Jiang; Danning Xie; Siyuan Cheng; Lin Tan; Xiangyu Zhang

BibTeX

11 sources · checked 

TypeForge: Synthesizing and Selecting Best-Fit Composite Data Types for Stripped Binaries

2025IEEE S&P 2025Conference paper

TypeForge recovers composite data types, including struct layouts, unions and pointer or nesting relationships, from stripped binaries. A whole-program Type Flow Graph over Ghidra’s decompiler-inferred variables propagates member offsets and sizes, cuts conflicting edges caused by casts and unions, and synthesizes candidate type declarations. An LLM only selects among these statically synthesized candidates: each is applied through the decompiler’s retype interface, and a double-elimination tournament compares the resulting pseudocode for readability. On OSPREY’s coreutils dataset the authors report F1 of 81.7% for composite-type identification, 88.2% for layout recovery and 72.1% for relationship recovery.

Scope & authors

Scope & limitations

Recovers member offsets, sizes and relationships; original type and member names are outside its scope; relationship correctness is judged by matching layouts because names are unavailable. The main evaluation uses OSPREY’s dataset of GNU coreutils and larger Howard-dataset programs, over 10,000 functions and 11,000 composite-typed variables at O0–O3, with ground truth from debug information; the paper does not report results per architecture. In the baseline comparison, OSPREY results were supplied by its authors and its runtime is an estimate, and ReSym figures are its published results, so the baseline comparison combines supplied, published and directly run results. Conservative removal of conflicting edges can drop valid members, and compiler optimizations that merge or flatten members lower accuracy at higher levels. About 75% of runtime is the LLM selection stage; the default model was GPT-4o mini, with each comparison run three times. Downstream readability and vulnerability examples are case studies. Semantic equivalence remains outside those case studies.

Authors & citation

Yanzhong Wang; Ruigang Liang; Yilin Li; Peiwei Hu; Kai Chen; Bolun Zhang

BibTeX

10 sources · checked 

Nova: Generative Language Models for Assembly Code with Hierarchical Attention and Contrastive Learning

2025ICLR 2025Conference paper

Nova is a generative LLM for x86-64 assembly, trained from DeepSeek-Coder checkpoints on stripped, normalized gcc -O0 to -O3 assembly built from AnghaBench and The Stack. It adds hierarchical attention that builds per-instruction summaries, and contrastive objectives that keep a function's source and O0–O3 assembly close while ordering them by optimization level. Fine-tuned for decompilation, Nova-1.3B and Nova-6.7B reach 25.17% and 34.36% average Pass@1 on HumanEval-Decompile, 14.84 and 12.41 points above same-size LLM4Decompile; separately fine-tuned models report the highest average Recall@1 for O0-to-O3 binary code similarity on six real-world projects.

Scope & authors

Scope & limitations

Decompilation is evaluated function by function on the 164 HumanEval-Decompile C problems, each compiled for x86-64 at O0–O3, by running 20 samples per function against the problems' test cases. Baselines other than LLM4Decompile and Nova were prompted with three-shot examples rather than fine-tuned. Similarity results cover O0 queries against O3 candidates in pools of 50–500 functions from Binutils, Curl, ImageMagick, SQLite, OpenSSL and PuTTY, after fine-tuning on BinaryCorp-3M. Decompilation fine-tuning used a 2.16M-pair sample, the README says only 50K files came from The Stack, and the paper limits Nova to x86-64 assembly and 1.3B and 6.7B models. Inputs require the paper's assembly normalization.

Authors & citation

Nan Jiang; Chengxiao Wang; Kevin Liu; Xiangzhe Xu; Lin Tan; Xiangyu Zhang; Petr Babkin

BibTeX

11 sources · checked 

Malsight: Exploring Malicious Source Code and Benign Pseudocode for Iterative Binary Malware Summarization

2025IEEE Transactions on Information Forensics and SecurityJournal article

MALSIGHT writes natural-language summaries of stripped binary malware one function at a time. IDA Pro produces pseudocode and a call graph, and functions are summarized callees first, so each caller receives its callees' summaries as context; a sequence-labeling model also marks key API calls and strings, which drive code-search retrieval and LLM-written annotations. The summarizer, MalT5, is a 0.77B-parameter CodeT5+ model fine-tuned first on MalS, 89,609 malicious C source functions from GitHub with LLM-generated summaries refined by human reviewers, and then on annotated benign pseudocode from the Capybara dataset. The authors also introduce MalP, 500 pseudocode functions for testing, and BLEURT-sum, a fine-tuned BLEURT metric, and report that MalT5 performs comparably to much larger Code Llama models.

Scope & authors

Scope & limitations

Training summaries are LLM-generated and then reviewed and refined by five experts. MalP's 500 test functions come from compiling and decompiling 20 of the same GitHub malware repositories, not from wild samples, and the authors note that loose filtering may let training and test data overlap and inflate results. Quality is scored mainly with the authors' own BLEURT-sum metric. On ten real malware samples, with 79 functions also rated by three reverse engineers, BLEURT-sum was about 30% lower than on MalP, which the authors attribute to long functions: 15.8% exceed 1,000 tokens, while most training functions are under 300. The pipeline depends on IDA Pro pseudocode, and static annotation relies on online code search and a general-purpose LLM. MALSIGHT summarizes behavior.

Authors & citation

Haolang Lu; Hongrui Peng; Guoshun Nan; Jiaoyang Cui; Cheng Wang; Weifei Jin; Songtao Wang; Shengli Pan; Xiaofeng Tao

BibTeX

5 sources · checked 

Lares: LLM-driven Code Slice Semantic Search for Patch Presence Testing

2025ASE 2025Conference paper

Lares tests whether a known 1-day vulnerability fix is present in a target binary function without recompiling the project. Its inputs are the target binary, the project source and the patch commit diff. A patch-enhancement step adds data- and control-flow context from the source (via Tree-sitter and Joern) to patches with few changed statements. An LLM then locates the pseudocode slice in the IDA Pro decompilation of the target function that corresponds to each patch slice. Finally, matched slices are normalized into equations and checked for equivalence with the Z3 SMT solver, and the LLM judges the cases Z3 cannot model, deciding whether the function matches the pre-patch or the patched version. On 4,480 test cases from 73 CVEs in OpenSSL, FreeType, tcpdump and libxml2, compiled with GCC 9.4.0 and Clang 6 at O0–O3 for x86, x64 and ARM, the authors report an average F1 of 0.77 on x86 with Claude 3.5 Sonnet, against 0.67 for Robin and 0.68 for PS3, and F1 from 0.71 to 0.77 across five compiler–architecture settings.

Scope & authors

Scope & limitations

Lares answers a narrow question: given a specific CVE patch diff, the project source with its history and a candidate function, is that function pre-patch or patched? It needs both the patch diff and the project source, and assumes a separate binary code similarity tool (the paper names BinaryAI as an example) has already located the candidate function. It does not find vulnerable functions, discover new vulnerabilities or diff arbitrary binaries. Its judgments rest on an LLM plus SMT reasoning over decompiler pseudocode: Z3 handles only about 21% of test cases (Z3-only verification has recall 0.221), so most decisions come from the LLM, and the authors list hallucinated comparisons, stealthy edit-type patches and repeated patch statements as failure modes. Results use IDA Pro 7.5 and a commercial model at about $0.20 per case; GPT-3.5-Turbo and DeepSeek-Coder score lower. The evaluation covers four C projects, 73 CVEs and binaries the authors compiled themselves, plus 20 vulnerabilities disclosed after October 2024 (400 cases) to check training-data contamination; firmware, other languages and real vendor builds are not evaluated. The repository has no license file, so no reuse terms are granted.

Authors & citation

Siyuan Li; Yaowen Zheng; Hong Li; Jingdong Guo; Chaopeng Dong; Chunpeng Yan; Weijie Wang; Yimo Ren; Limin Sun; Hongsong Zhu

BibTeX

7 sources · checked 

DRAGON: Predicting Decompiled Variable Data Types with Learned Confidence Estimates

2025BAR 2025Conference paper

DRAGON uses a graph neural network to predict decompiled variable types and confidence estimates. It compares type accuracy with two binary type-inference methods and examines how confidence relates to accuracy.

Scope & authors

Scope & limitations

Training uses unoptimized x64 binaries; evaluation covers x64, x86, ARM64, and ARM across optimization levels O0–O3.

Authors & citation

Caleb Stewart; Rhonda K. Gaede; Jeffrey H. Kulick

BibTeX

2 sources · checked 

Decompile-Bench: Million-Scale Binary-Source Function Pairs for Real-World Binary Decompilation

2025NeurIPS 2025 Datasets and BenchmarksConference paper

Introduces two million C/C++ binary-source function pairs using a Compile-Trace-Filter pipeline, with an evaluation suite spanning translated HumanEval/MBPP tasks and recent GitHub functions.

Scope & authors

Scope & limitations

This is function-level decompilation. Re-execution tests cover HumanEval/MBPP; GitHub2025 provides no unit tests. Inlining can prevent one-to-one source correspondence, and the fine-tuning study uses 10% of the corpus. Whole-program recovery remains outside the evaluated scope.

Authors & citation

Hanzhuo Tan; Xiaolong Tian; Hanrui Qi; Jiaming Liu; Zuchen Gao; Siyi Wang; Qi Luo; Jing Li; Yuqun Zhang

BibTeX

11 sources · checked 

Beyond Classification: Inferring Function Names in Stripped Binaries via Domain Adapted LLMs

2025NDSS 2025Conference paper

SymGen infers function names for stripped binaries by generating them with a LoRA-fine-tuned Code Llama model instead of classifying over a fixed name vocabulary. Ghidra decompiles each stripped function, its own name is masked, and callee names are normalized for deduplication. Before fine-tuning, the model is domain-adapted on decompiled code paired with LLM-generated summaries of the matching source functions. On functions from 33 C projects built for x86-64, x86-32, ARM and MIPS at O0–O3, deduplicated from 2,237,915 to 495,494, the authors report average word-level F1 of 0.277 (0.380 on x86-64), plus case studies on obfuscated binaries and Linux malware.

Scope & authors

Scope & limitations

Names are split into words and scored with precision, recall and F1, with SymLM’s CodeWordNet grouping similar words; predictions are descriptive guesses, not recovered original symbols. Average F1 is 0.277 and lower on MIPS (0.137) and ARM (0.262). The gains of up to 409.3%, 553.5% and 489.4% in the abstract are author-reported relative improvements over AsmDepictor; the baselines were retrained on the authors’ deduplicated dataset, where they score far below their own papers, and XFL was compared on x86-64 only. A separate model is trained for each architecture and optimization level. All binaries were built with GCC 9.4.0, inputs depend on Ghidra output, and Code Llama’s closed pretraining data leaves leakage possible. Obfuscation tests apply three default Hikari passes to 363 binaries from six projects (F1 0.271–0.303); the malware study covers 812 functions in 16 x86-64 builds (F1 0.348).

Authors & citation

Linxi Jiang; Xin Jin; Zhiqiang Lin

BibTeX

10 sources · checked 

ReSym: Harnessing LLMs to Recover Variable and Data Structure Symbols from Stripped Binaries

2024ACM CCS 2024Conference paper

Combines two fine-tuned language models with Prolog-based cross-function reasoning to infer local-variable symbols and user-defined data structures from stripped-binary decompilation.

Scope & authors

Scope & limitations

The method depends on underlying decompilation and learned predictions over C/C++ data. Cross-checking reduces conflicting predictions; correspondence of recovered names or layouts to the unavailable source remains unverified. The public artifact includes models, processed data, and evaluation code.

Authors & citation

Danning Xie; Zhuo Zhang; Nan Jiang; Xiangzhe Xu; Lin Tan; Xiangyu Zhang

BibTeX

7 sources · checked 

Enhancing Reverse Engineering: Investigating and Benchmarking Large Language Models for Vulnerability Analysis in Decompiled Binaries

2024arXivPreprint

This paper investigates and benchmarks large language models for vulnerability analysis when the input is decompiled binary code. The task uses decompiler output as input.

Scope & authors

Scope & limitations

The evaluation uses decompiled binary code as input.

Authors & citation

Dylan Manuel; Nafis Tanveer Islam; Joseph Khoury; Ana Nunez; Elias Bou-Harb; Peyman Najafirad

BibTeX

3 sources · checked 

Self-Constructed Context Decompilation with Fined-grained Alignment Enhancement

2024Findings of EMNLP 2024Conference paper

Adds two techniques to LLM decompilation of function-level x86-64 GCC assembly into C. Self-Constructed Context Decompilation (sc²dec) recompiles a model’s first compilable output and uses the resulting assembly–source pair as an in-context example for a second attempt, without fine-tuning. Fine-grained Alignment Enhancement (FAE) fine-tunes llm4decompile-6.7b with LoRA on statement-level assembly–C alignments derived from DWARF debug information. Combining both, the authors report 52.41% average re-executability on Decompile-Eval, against 48.60% for the base model.

Scope & authors

Scope & limitations

Results are function-level re-executability on Decompile-Eval: 164 HumanEval-derived C problems compiled at O0–O3 and checked by recompilation and HumanEval test cases. The tests cover sampled inputs and function-level results; whole-program equivalence remains untested; the paper does not evaluate real-world binaries, other architectures or readability. sc²dec helps only when the first output recompiles, so low re-compilability limits its gains; the authors report 1–2% lower results when context is built at a mismatched optimization level, and clang-built contexts scored slightly below GCC. FAE used 10,000 ExeBench functions limited to the standard C library, one training epoch and a single 6.7B base model; the authors did not validate it on larger datasets or models, and it slightly lowered the 1-shot result. GPT-4 and DeepSeek baselines are API snapshots; later reproduction depends on snapshot availability.

Authors & citation

Yunlong Feng; Dechuan Teng; Yang Xu; Honglin Mu; Xiao Xu; Libo Qin; Qingfu Zhu; Wanxiang Che

BibTeX

11 sources · checked 

LLM4Decompile: Decompiling Binary Code with Large Language Models

2024EMNLP 2024Conference paper

Trains language models for assembly-to-C decompilation and for refining Ghidra pseudocode, evaluating whether recovered functions can be recompiled and executed correctly.

Scope & authors

Scope & limitations

The paper limits its experiments to C on x86 and function-level benchmarks. Re-executability was measured on sampled tests; whole-program equivalence and recovery of the original source remain unverified. Later repository releases are separate from the 2024 paper.

Authors & citation

Hanzhuo Tan; Qi Luo; Jing Li; Yuqun Zhang

BibTeX

5 sources · checked 

Is Function Similarity Over-Engineered? Building a Benchmark

2024arXivPreprint

This paper builds a benchmark for binary function similarity and questions pipelines that spend heavily on disassembly, decompilation, and graph preprocessing before the comparison. The task is recognizing previously seen functions inside a new binary so that manual reverse engineering takes less time.

Scope & authors

Scope & limitations

The reviewed file is arXiv:2410.22677v1. Benchmark numbers were not recomputed.

Authors & citation

Rebecca Saul; Chang Liu; Noah Fleischmann; Richard Zak; Kristopher Micinski; Edward Raff; James Holt

BibTeX

3 sources · checked 

WaDec: Decompiling WebAssembly Using Large Language Model

2024ASE 2024Conference paper

WaDec decompiles WebAssembly text (wat) into C by fine-tuning CodeLlama-7b with LoRA on loop-level wat–C snippet pairs. Functions are ordered by dependency and sliced so that each input holds at most one loop, with nested loops replaced by markers. Prompts add declarations of called functions, previously defined local variables and offset-to-string mappings; the outputs are then reassembled, with string constants restored and variables renamed. Training data come from 51,768 the-stack-dedup and 377 TheAlgorithms/C programs compiled with Emscripten. On 3,977 C files, the authors report 3.34% code inflation, 52.11% recompilability, 43.55% re-execution and 27.15% output consistency, compared with Wasm2c and Ghidra.

Scope & authors

Scope & limitations

The reported rates are author results on C programs compiled to Wasm with Emscripten. About half of the outputs recompile, fewer than half re-execute and roughly a quarter reproduce the original output, so decompiled code is generally not semantically equivalent. The 3,977-file benchmark comes from the same two sources as the training programs. Optimized builds are not evaluated: the authors neither adapted the method to nor trained it on O1/O2 code. The model also handles data structures poorly, often flattening them into separate variables or arrays. Only C sources are studied; Wasm produced from other languages or toolchains is not evaluated. Baselines are Wasm2c and Ghidra's Wasm plugin, and LLM baselines were excluded because none could decompile Wasm functions without fine-tuning. Slicing means one function may be decompiled several times, at about 0.1 to 2 seconds per prompt.

Authors & citation

Xinyu She; Yanjie Zhao; Haoyu Wang

BibTeX

8 sources · checked 

BinSimDB: Benchmark Dataset Construction for Fine-Grained Binary Code Similarity Analysis

2024arXivPreprint

This paper constructs BinSimDB, a benchmark dataset for fine-grained binary code similarity analysis. The contribution presented in the title is the dataset and its construction, so later similarity methods can be compared on a shared collection.

Scope & authors

Scope & limitations

The reviewed file is arXiv:2410.10163v1. The dataset was not downloaded or checked for this entry.

Authors & citation

Fei Zuo; Cody Tompkins; Qiang Zeng; Lannan Luo; Yung Ryn Choe; Junghwan Rhee

BibTeX

3 sources · checked 

How Far Have We Gone in Binary Code Understanding Using Large Language Models

2024ICSME 2024Conference paper

Benchmarks 16 code and general LLMs on function name recovery and summarization of stripped binaries. The benchmark takes 12 popular C projects built for x86-64, strips and decompiles 28 binaries with IDA Pro, aligns 81,185 functions with source through DWARF, and keeps 2,000 functions after expert review. Zero-shot LLMs are compared with SymLM, NER, BinT5 and HexT5. Code Llama 34B leads name recovery with token-level F1 of 27.59, and ChatGPT leads summarization with BLEU-4 7.37. The study also measures few-shot prompting, LoRA fine-tuning of two 7B models on GNU binaries, and a case study on a stripped open-source Linux remote-access trojan.

Scope & authors

Scope & limitations

The benchmark covers x86-64 builds with each project’s default compiler and optimization settings and IDA Pro pseudocode only, so behavior on other architectures, optimization levels, decompilers and obfuscated code remains unverified; the authors exclude obfuscated code. Reference summaries were generated by ChatGPT from source and screened by three experts, and ChatGPT is also an evaluated model. BLEU-4, METEOR and Rouge-L measure overlap with those references, which the authors say may not fit binary summarization. Name recovery uses token-level precision, recall and F1 rather than exact matches. Fine-tuning used 30,000 functions from O0 x86-64 GNU builds. Results describe model versions released between mid-2023 and early 2024, including gpt-3.5-turbo-16k.

Authors & citation

Xiuwei Shang; Shaoyin Cheng; Guoqiang Chen; Yanming Zhang; Li Hu; Xiao Yu; Gangyang Li; Weiming Zhang; Nenghai Yu

BibTeX

4 sources · checked 

CLAP: Learning Transferable Binary Code Representations with Natural Language Supervision

2024ACM ISSTA 2024Conference paper

CLAP (Contrastive Language-Assembly Pre-training) learns assembly-function embeddings aligned with natural-language explanations. A dataset engine compiles Ubuntu C/C++ packages with GCC and Clang at O0–O3 and Os, has GPT-3.5 explain about 2.6 million matching source functions, and fine-tunes a Vicuna-13B “shadow model” on half of those explanations to label more code, yielding 195 million assembly–explanation pairs. A 110M-parameter assembly encoder, using address rebasing, a WordPiece tokenizer and jump-aware embeddings, is first pre-trained on assembly and then contrastively aligned with a text encoder. The embeddings support zero-shot classification by matching code against text prompts. On BinaryCorp-3M similarity search in pools of 10,000 functions, zero-shot CLAP reports 0.836 average recall@1 against 0.571 for fine-tuned jTrans.

Scope & authors

Scope & limitations

Training explanations are generated by GPT-3.5 and a fine-tuned Vicuna model from source code; five experts scored 50 explanations per model, mostly as acceptable. The authors name the Ubuntu-only build environment and the GPT-3.5 explanations as possible sources of bias. Functions are disassembled with IDA Pro 7.6, and functions with fewer than three basic blocks are excluded. Similarity results use BinaryCorp-3M optimization-level pairs, where baselines get a linear probe and jTrans is also fully fine-tuned while CLAP is not; crypto identification (17 algorithms, about 70K functions labeled by name and package metadata) and protocol categorization (18 types) use datasets the authors built from Ubuntu packages, where fine-tuned CLAP beats the baselines while zero-shot CLAP trails the best baseline on crypto. The malware and sorting results are single case studies. Training used 32 A100 GPUs. CLAP produces embeddings and label scores.

Authors & citation

Hao Wang; Zeyu Gao; Chao Zhang; Zihan Sha; Mingyang Sun; Yuchen Zhou; Wenyu Zhu; Wenju Sun; Han Qiu; Xi Xiao

BibTeX

8 sources · checked 

TYGR: Type Inference on Stripped Binaries using Graph Neural Networks

2024USENIX Security 2024Conference paper

TYGR infers the types of stack and heap variables in stripped binaries by running an architecture-agnostic, intra-procedural data-flow analysis on angr's VEX IR and classifying each variable's data-flow graph with a graph neural network. It predicts base types, pointers and struct member layouts, covering 97.1% of the types observed in its data. The authors also build TyDa, 163,643 binaries compiled with debug information from Gentoo and Debian C packages for x86, x64, AArch64, Arm32 and MIPS at O0–O3, and deduplicate functions in the evaluated subset before splitting it. On x64 across O0–O3 they report 76.6% overall and 45.2% struct accuracy, and say TYGR beats prior work by at least 26.1% overall and 10.2% on structs.

Scope & authors

Scope & limitations

Ground truth comes from DWARF information in binaries compiled by the authors, and training and testing use TyDa-min, about 8% of TyDa's binaries, so the results do not cover wild, obfuscated or C++ code. The analysis is intra-procedural and covers stack and heap variables only, not globals; unresolved indirect jumps can leave code unexplored, and adjacent stack structs are predicted as one struct, though the authors find this rare in TyDa. Accuracy plateaus near 80% as training data grows, which the authors attribute to rare types and types that usage alone cannot distinguish. Comparisons follow each baseline's original setting: DIRTY and OSPREY on x64 only, and OSPREY through results its authors supplied for Coreutils x64-O0. Accuracy is not compared directly with Ghidra or IDA Pro. Predictions choose from a fixed set of base, pointer and struct-member types; they do not recover type names or full struct declarations.

Authors & citation

Chang Zhu; Ziyang Li; Anton Xue; Ati Priya Bajaj; Wil Gibbs; Yibo Liu; Rajeev Alur; Tiffany Bao; Hanjun Dai; Adam Doupé; Mayur Naik; Yan Shoshitaishvili; Ruoyu Wang; Aravind Machiry

BibTeX

6 sources · checked 

D-Helix: A Generic Decompiler Testing Framework Using Symbolic Differentiation

2024USENIX Security 2024Conference paper

Tests decompilers function by function on binaries without needing source code. RECOMPILER repairs decompiled C so individual functions recompile, SYMDIFF compares symbolic models of the original binary function and the recompiled decompiled function using patched angr and PROMPT symbolic executors, and TUNER toggles decompiler heuristic rules to locate, and sometimes work around, the rule behind an inaccuracy. On Ghidra 10.0 and angr 9.2.30, 2,004 binaries and object files from coreutils, util-linux and six popular GitHub C projects yield 93K decompiled functions; the authors report 4,515 incorrectly decompiled functions, 8 reproduced known bugs, 17 previously unknown bugs and 7 bugs fixed automatically.

Scope & authors

Scope & limitations

Only Ghidra and angr were tested; Hex-Rays, Binary Ninja, RetDec and LLM-based decompilers were not, and the authors estimate that supporting a decompiler with an unsupported IR would take at least 40 days of symbolic-engine work. Results are function-level symbolic equivalence checks on the authors’ 2,004 x86-64 Linux inputs, built with GCC 11.1.0 and Clang 16.0.0 at each project’s default optimization and excluding binaries over 30 MiB. Coverage is partial: RECOMPILER recompiled 72.4% of Ghidra’s and 45.0% of angr’s decompiled functions, and SYMDIFF analyzed 91.3% and 93.9% of those. Symbolic execution bounds loops, uses a two-minute default timeout, treats global variables as constants and does not parse floating-point constraints; accuracy trade-offs cause false positives, measured on 100-function samples per decompiler. TUNER automatically fixed 72 of the 443 inaccuracies it examined. The check evaluates individual functions.

Authors & citation

Muqi Zou; Arslan Khan; Ruoyu Wu; Han Gao; Antonio Bianchi; Dave (Jing) Tian

BibTeX

5 sources · checked 

Code is not Natural Language: Unlock the Power of Semantics-Oriented Graph Representation for Binary Code Similarity Detection

2024USENIX Security 2024Conference paper

HermesSim detects binary code similarity by lifting each function to Ghidra P-code and building a semantics-oriented graph that exposes operand structure inside instructions, def-use, control-flow and effect-order relations, while dropping semantics-independent details such as which register temporarily holds a value. A gated graph neural network with a multi-head softmax aggregator embeds the graph, and functions are compared by embedding similarity. On the Dataset-1 benchmark of Marcelli et al., the authors report 48.1% RECALL@1 for x64 cross-compiler retrieval in pools of 10,000 functions, against 31.4% for a fine-tuned jTrans, with a 388K-parameter model.

Scope & authors

Scope & limitations

Laboratory results reuse Dataset-1 from Marcelli et al.: 257K, 13K and 522K training, validation and test functions for x86, ARM and MIPS in 32 and 64 bits, built at O0–O3 and Os by GCC and Clang. HermesSim keeps that dataset's IDA Pro 7.3 control flow and basic-block boundaries and uses Ghidra only to disassemble and lift each block, so the results do not measure function or CFG recovery. Each setting samples 1,000 queries against pools of up to 10,000 functions, and the gains are relative to the paper's own runs of SAFE, Asm2Vec, GMN, Trex and jTrans, which supports x86 only and was compared on the x64 subset. The real-world study searches 62,605 ARM32 and MIPS32 functions from 12 RTOS firmware images of three vendors for 10 functions linked to 5 CVEs; its ground truth comes from manually examining the top 20 results of the compared methods. String, integer and external-symbol references are not encoded, only memory effects are modeled, and unresolved indirect branches leave graphs incomplete. Similarity ranks candidates for review.

Authors & citation

Haojie He; Xingwei Lin; Ziang Weng; Ruijie Zhao; Shuitao Gan; Libo Chen; Yuede Ji; Jiashui Wang; Zhi Xue

BibTeX

8 sources · checked 

A Taxonomy of C Decompiler Fidelity Issues

2024USENIX Security 2024Conference paper

Open-codes decompiled/original C function pairs to classify how decompiler output departs from the source beyond missing names and types. Using a statement-alignment abstraction and thematic analysis, the authors build a hierarchical codebook of 15 top-level categories and 52 codes, covering correctness issues such as nonequivalent expressions and incorrect return behavior and readability issues such as extraneous variables, non-idiomatic control flow and decompiler-specific macros. The codebook, developed on Hex-Rays output, is applied to Ghidra, retdec and angr, and the authors suggest type prediction, rule-based fixes and whole-program learned techniques to address classes of defects.

Scope & authors

Scope & limitations

A qualitative taxonomy of decompiler fidelity, with categorical findings and no benchmark scores or decompiler ranking. Coding centres on a random sample of 200 Hex-Rays decompiled/original pairs from the small-function set plus ten large functions; the authors report 235 coded pairs in total. Ghidra, retdec and angr were compared with Hex-Rays only on a 25-function subsample. Inputs are Hex-Rays decompilations of GHCC builds of majority-C GitHub repositories, biased toward projects with recognizable, working build scripts and filtered by a step that also removed some valid functions; the dataset contains no obfuscated binaries and is unlikely to include malware. Missing variable names and types were deliberately not labeled. The Java check applies the codebook to 25 Defects4J functions decompiled with JD-GUI as a side study. The issues’ effect on reverse-engineer productivity is left to future work.

Authors & citation

Luke Dramko; Jeremy Lacomis; Edward J. Schwartz; Bogdan Vasilescu; Claire Le Goues

BibTeX

4 sources · checked 

R2I: A Relative Readability Metric for Decompiled Code

2024Proceedings of the ACM on Software Engineering (FSE 2024)Journal article

R2I compares the readability of decompiled code using 31 features extracted from syntax trees. The paper evaluates it across decompilers, obfuscation, decompiler updates, and a user survey.

Scope & authors

Scope & limitations

The metric assesses relative readability of decompiled code using syntax-tree features and human perceptions captured in a survey.

Authors & citation

Haeun Eom; Dohee Kim; Sori Lim; Hyungjoon Koo; Sungjae Hwang

BibTeX

2 sources · checked 

Enhancing Function Name Prediction using Votes-Based Name Tokenization and Multi-task Learning

2024Proceedings of the ACM on Software Engineering (FSE 2024)Journal article

Epitome predicts binary function names using votes-based name tokenization and multitask learning. It was evaluated on 2,597,346 functions across five optimization levels and four architectures.

Scope & authors

Scope & limitations

The evaluation covers binaries compiled at five optimization levels from O0 to Os for x64, x86, ARM, and MIPS.

Authors & citation

Xiaoling Zhang; Zhengzi Xu; Shouguo Yang; Zhi Li; Zhiqiang Shi; Limin Sun

BibTeX

3 sources · checked 

CodeArt: Better Code Models by Attention Regularization When Symbols Are Lacking

2024Proceedings of the ACM on Software Engineering (FSE 2024)Journal article

CodeArt pre-trains a BERT-sized encoder from scratch on 26 million stripped x86-64 functions built from jTrans's BinaryCorp. Instead of relying on symbols, it uses IDA Pro control-flow graphs and a binary data-flow analysis to compute control and data dependences, then restricts self-attention with masks so a token attends only to instructions it transitively depends on or that depend on it, to tokens in its own instruction, and to a global [CLS] token; pre-training masks tokens and perturbs the dependence graph. The authors fine-tune it for binary similarity, malware family classification and type inference. They report improvements over prior models from 53% to 64% recall@1 for similarity in pools of 500, from 49% to 60% LRAP for malware families, and from 74% to 94% average F1 for type inference.

Scope & authors

Scope & limitations

The model handles x86-64 only, with functions disassembled by IDA Pro and inputs capped at 512 tokens. Similarity is fine-tuned on BinaryCorp-3M and tested on six projects (Curl, Binutils, ImageMagick, SQLite, OpenSSL and PuTTY), with Coreutils for validation, against GNN, GMN, jTrans and DiEmph baselines; on PuTTY, whose functions are short, CodeArt is only comparable to DiEmph. Type inference uses the x86-64 part of StateFormer's dataset with 35 labels and compares with StateFormer's reported results rather than a rerun. Malware classification uses 5,484 VirusTotal and VirusShare samples from the 100 most frequent families, against jTrans and a re-implemented CNN. All gains are relative to these baselines and settings. CodeArt produces embeddings and task-specific predictions.

Authors & citation

Zian Su; Xiangzhe Xu; Ziyang Huang; Zhuo Zhang; Yapeng Ye; Jianjun Huang; Xiangyu Zhang

BibTeX

9 sources · checked 

StackSight: Unveiling WebAssembly through Large Language Models and Neurosymbolic Chain-of-Thought Decompilation

2024ICML 2024Conference paper

StackSight decompiles WebAssembly text-format functions into C++ with LLM prompting. A static analysis annotates each WAT instruction with the virtual-stack state, using symbolic notation where branches diverge; a one-shot chain-of-thought prompt then asks the model to recover variable meanings, summarize the function and write C++. With GPT-4 the share of outputs passing all benchmark tests rises from 19.7% to 36.5% on HumanEval-X and from 42.4% to 59.6% on MBXP relative to one-shot prompting; GPT-3.5 and Code Llama-7B-Instruct are also evaluated.

Scope & authors

Scope & limitations

Inputs are short exercise functions from the C++ splits of HumanEval-X (161 of 164 compiled) and MBXP (773 of 974), built as Emscripten 3.1.46 side modules at -Oz with function names kept by --profiling-funcs and converted with wasm2wat 1.0.33; minified, obfuscated or whole-application WebAssembly is not evaluated. Correctness is the share of outputs that compile and pass the benchmarks' test cases after a test oracle renames functions, inserts tests and adds namespace directives, with manual pass-by-value edits. Summaries are scored by BERTScore and SBERT; the user study had 15 participants on 20 snippets per dataset. wasm2c and an earlier neural decompiler were excluded for producing no compilable output, and results depend on specific hosted model versions.

Authors & citation

Weike Fang; Zhejian Zhou; Junzhou He; Weihang Wang

BibTeX

4 sources · checked 

STRIDE: Simple Type Recognition In Decompiled Executables

2024arXivPreprint

STRIDE predicts the names and types of variables in decompiler output without a neural model. From training decompilation with known labels, it builds a database mapping the token sequences (N-grams, with N from 2 to 60) immediately left and right of each variable occurrence to the five most frequent names or types. Variable placeholders are canonicalized, and address-like tokens and large constants are bucketed so that N-grams can match. At prediction time it looks up the longest matching N-gram on each side of every occurrence, scores the returned labels by how specific the match is, and sums the scores across the function. The prototype is about 1,000 lines of Python and runs on a CPU. On DIRT functions not seen in training, the authors report 66.4% retyping accuracy, against 52.3% for DIRTY with beam search, and 56.2% renaming accuracy, against 51.3% reported for VarBERT. Across 16 VarCorpus splits, renaming accuracy is higher than VarBERT on 11 and 1.55 points higher on average. Prediction takes 8.2 ms per function on a CPU, against 43.7 ms for VarBERT on an NVIDIA L4 GPU.

Scope & authors

Scope & limitations

An arXiv preprint with no stated venue. STRIDE classifies by exact N-gram matches, so its predictions depend on token sequences seen in the training data: it cannot fuzzy-match or predict a name or type absent from training, and a model trained on one decompiler's token format is not expected to transfer to another. Results are reported on decompiler output from the DIRT, DIRE and VarCorpus benchmark datasets. DIRT pairs Hex-Rays output for GCC -O0 builds of GitHub projects with DWARF-derived labels, the older DIRE dataset was prepared similarly, and VarCorpus covers Gentoo packages decompiled with Hex-Rays and Ghidra at -O0 to -O3. Retyping is evaluated only on DIRT, and only x86 C/C++ code is covered. Accuracy is exact match, so near-synonyms count as errors. About 60% of DIRT test functions also appear in training, where STRIDE reaches about 99% by memorization; the not-in-train figures are the more representative ones. DIRT keeps function and global names, and removing them lowers renaming accuracy by a few points. Several baseline numbers are copied from earlier publications rather than rerun. The authors' README expects poor results on custom closed-source binaries with structures absent from training. The repository is a research prototype with no decompiler plugin or trained databases.

Authors & citation

Harrison Green; Edward J. Schwartz; Claire Le Goues; Bogdan Vasilescu

BibTeX

5 sources · checked 

Exploring the Efficacy of Large Language Models (GPT-4) in Binary Reverse Engineering

2024arXivPreprint

The paper evaluates GPT-4 for binary reverse engineering through interpretation of human-written and decompiled code, from basic code explanation to malware analysis.

Scope & authors

Scope & limitations

The evaluation covers GPT-4, human-written and decompiled code, basic code interpretation, and more complex malware analysis.

Authors & citation

Saman Pordanesh; Benjamin Tan

BibTeX

1 source · checked 

Source Code Foundation Models are Transferable Binary Analysis Knowledge Bases

2024arXivPreprint

The paper uses source code models to generate symbol-rich context for black-box LLMs analyzing binaries. It evaluates zero-shot binary summarization and function name recovery.

Scope & authors

Scope & limitations

The evaluation covers zero-shot binary summarization and binary function name recovery.

Authors & citation

Zian Su; Xiangzhe Xu; Ziyang Huang; Kaiyuan Zhang; Xiangyu Zhang

BibTeX

1 source · checked 

Assessing LLMs in Malicious Code Deobfuscation of Real-world Malware Campaigns

2024arXivPreprint

The paper evaluates four LLMs on deobfuscating real-world malicious scripts from the Emotet malware campaign and examines their use in reverse engineering.

Scope & authors

Scope & limitations

The evaluation covers four LLMs and malicious scripts from the Emotet campaign.

Authors & citation

Constantinos Patsakis; Fran Casino; Nikolaos Lykousas

BibTeX

1 source · checked 

A Survey of Binary Code Similarity Detection Techniques

2024ElectronicsJournal article

This article surveys binary code similarity detection, meaning comparison of two or more binary segments when source code is not the starting point. It places those techniques in software security, vulnerability detection, and software composition analysis.

Scope & authors

Scope & limitations

The MDPI HTML page and doi.org returned HTTP 403 to this client. The PDF was fetched from the MDPI attachment host, and publication metadata comes from Crossref. Experiments were not rerun.

Authors & citation

Liting Ruan; Qizhen Xu; Shunzhi Zhu; Xujing Huang; Xinyang Lin

BibTeX

2 sources · checked 

Cross-Inlining Binary Function Similarity Detection

2024ICSE 2024Conference paper

Studies binary function similarity when function inlining makes one binary function correspond to several source functions. From BinKit builds of 51 GNU projects with and without -fno-inline (9 GCC and Clang versions, O0–O3, six x86, ARM and MIPS targets; 216 combinations each), debug-line mappings label 5,621,140 cross-inlining pairs. The authors identify Leaf-, Root- and Internal-Inlining patterns, show that Gemini, SAFE and GMN lose accuracy on them, and propose CI-Detector, which trains one attributed-CFG graph neural network per pattern and aggregates their scores, reporting 81% precision and 97% recall.

Scope & authors

Scope & limitations

The three patterns are derived from the authors’ own matrix of 51 GNU projects, and the authors note that other compilation settings, such as non-default optimizations, or projects with different inlining conventions may not fit the learned models. Labels depend on IDA Pro and DWARF debug tools, which the authors list as threats to construct validity, and ACFGs come from IDA Pro 7.3, so disassembly errors can affect results. Precision and recall come from balanced sets of 40,000 positive and 40,000 negative test pairs with a threshold tuned for F1, not from large-pool search. Baselines are released Gemini, SAFE and GMN models plus Bingo-style inlining strategies with Asm2Vec. Obfuscated binaries and LLM-based similarity models are not evaluated.

Authors & citation

Ang Jia; Ming Fan; Xi Xu; Wuxia Jin; Haijun Wang; Ting Liu

BibTeX

7 sources · checked 

BinaryAI: Binary Software Composition Analysis via Intelligent Binary Source Code Matching

2024ICSE 2024Conference paper

BinaryAI identifies which open-source C/C++ libraries a stripped binary reuses by matching its functions to source code. Ghidra decompiles each binary function to pseudo-C, and a Pythia-410M model, trained with a CLIP-style contrastive loss on about 10 million binary–source function pairs, embeds pseudo-code and source functions in one space. Candidates retrieved from a corpus of 56,342,179 source functions from 12,013 libraries are refined with link-time locality and the call graph, and a library is reported when the share of its matched functions exceeds a threshold. The authors report 22.54% recall@1 against 10.75% for CodeCMR, and library-detection precision and recall of 85.84% and 64.98% against 73.36% and 59.81% for an unnamed commercial tool.

Scope & authors

Scope & limitations

Training pairs come from ArchLinux and AUR packages compiled automatically with DWARF debug information, and the corpus and test set cover C/C++ projects only. The SCA test set is 150 stripped binaries the authors compiled from 85 GitHub projects, with 1,045 reused libraries labeled manually from build files, headers and license metadata; function-level ground truth covers 15 of those binaries (23,529 pairs). The recall@1 figures combine the model's validation set with those 15 binaries. The two commercial baselines are anonymized under confidentiality agreements, and every baseline was rebuilt on the authors' 12,013-library dataset. The 112 false positives the authors examined all trace to incomplete library-dependency data. The model, training pairs, source-function corpus and labeled test set are not public, and the hosted service the paper links may run a different model and corpus from the evaluated 2024 system. Matches identify reused source.

Authors & citation

Ling Jiang; Junwen An; Huihui Huang; Qiyi Tang; Sen Nie; Shi Wu; Yuqun Zhang

BibTeX

6 sources · checked 

Forklift: An Extensible Neural Lifter

2024arXivPreprint

Forklift learns to lift assembly to LLVM IR. On two benchmark suites, it translated 2.5× more x86 programs than a hand-written lifter and 4.4× more than GPT-4.

Scope & authors

Scope & limitations

The evaluation covers x86, ARM, and RISC-V programs across compilers and optimization levels, using input/output-based accuracy checks.

Authors & citation

Jordi Armengol-Estapé; Rodrigo C. O. Rocha; Jackson Woodruff; Pasquale Minervini; Michael F. P. O'Boyle

BibTeX

1 source · checked 

FoC: Figure out the Cryptographic Functions in Stripped Binaries with LLMs

2024arXivPreprint

FoC uses FoC-BinLLM to summarize cryptographic functions in stripped binaries and FoC-Sim to retrieve similar implementations. It evaluates both models and applications to virus analysis and 1-day vulnerability detection.

Scope & authors

Scope & limitations

Evaluation uses a constructed cryptographic binary dataset and automatically generated semantic labels. It reports a 14.61% higher ROUGE-L score than ChatGPT for FoC-BinLLM and 52% higher Recall@1 than previous best methods for FoC-Sim.

Authors & citation

Xiuwei Shang; Guoqiang Chen; Shaoyin Cheng; Shikai Guo; Yanming Zhang; Weiming Zhang; Nenghai Yu

BibTeX

1 source · checked 

SLaDe: A Portable Small Language Model Decompiler for Optimized Assembly

2024IEEE/ACM CGO 2024Conference paper

SLaDe translates function-level assembly into C with a 200M-parameter encoder–decoder model, code-specific tokenization and PsycheC type completion. It studies x86 and ARM at -O0 and -O3, combining generated candidates with input/output checks. The input is assembly text, not raw machine bytes; disassembly is outside the method.

Scope & authors

Scope & limitations

Evaluation covers about 4,000 ExeBench functions and a 112-program synthesis suite. Beam size 5 selects the first candidate passing finite I/O tests; generated functions are inserted into the original calling context. Passing these tests leaves whole-program and all-input equivalence unverified. Edit similarity is a readability proxy. Longer functions, external calls and incorrect type/operator predictions remain failure modes; the model has 1,024-position source and target windows. Historical baseline comparisons have different coverage, so current rankings remain open.

Authors & citation

Jordi Armengol-Estapé; Jackson Woodruff; Chris Cummins; Michael F. P. O'Boyle

BibTeX

9 sources · checked 

SoK: Analysis Techniques for WebAssembly

2024Future InternetJournal article

This systematization reviews analysis techniques for WebAssembly binaries, including vulnerabilities that remain when memory-unsafe languages are compiled to Wasm. The abstract also treats Wasm smart contracts as part of the analysis setting.

Scope & authors

Scope & limitations

Crossref dates the Future Internet article to 2024-02-29. The fetched full text is arXiv:2401.05943v2 because the MDPI PDF URL returned HTTP 403.

Authors & citation

Håkon Harnes; Donn Morrison

BibTeX

4 sources · checked 

CEBin: A Cost-Effective Framework for Large-Scale Binary Code Similarity Detection

2024arXivPreprint

CEBin combines code embeddings to shortlist candidate functions with pairwise comparison to detect similar binary code, including vulnerable functions.

Scope & authors

Scope & limitations

The paper evaluates CEBin on three binary code similarity datasets and a large-scale benchmark for 1-day vulnerability detection. It reports finding similar functions among millions of candidates in seconds, with 85.46% recall on the vulnerability task.

Authors & citation

Hao Wang; Zeyu Gao; Chao Zhang; Mingyang Sun; Yuchen Zhou; Han Qiu; Xi Xiao

BibTeX

1 source · checked 

BinAug: Enhancing Binary Similarity Analysis with Low-Cost Input Repairing

2024ICSE '24Conference paper

BinAug repairs input binary code with transformations to re-rank top-K similarity results. It evaluated improvements to existing BCSA tools and downstream binary software component analysis.

Scope & authors

Scope & limitations

The evaluation covers black-box and white-box settings, existing BCSA tools, and binary software component analysis.

Authors & citation

Wai Kin Wong; Huaijin Wang; Zongjie Li; Shuai Wang

BibTeX

2 sources · checked 

“Len or index or count, anything but v1”: Predicting Variable Names in Decompilation Output with Transfer Learning

2024IEEE S&P 2024Conference paper

VarBERT suggests variable names for IDA Hex-Rays and Ghidra decompiler output with a BERT-style model pre-trained on 5.2M human-written C functions from Debian and fine-tuned on decompiled code; it also predicts whether each variable came from the developer or was introduced by the decompiler. The authors build VarCorpus from Gentoo C and C++ packages compiled for x86-64 at O0–O3, labeling decompiled variables from debug symbols. On per-function splits of O2 binaries, top-1 accuracy is 54.43% for IDA and 54.49% for Ghidra; on an IDA-O0 subset it reaches 50.70%, against 35.94% for DIRE and 38.00% for DIRTY.

Scope & authors

Scope & limitations

Predicted names are learned suggestions scored against developer names, not recovered originals. Top-1 accuracy drops to 42.40% (IDA) and 40.49% (Ghidra) on per-binary O2 splits, and the per-binary IDA-O0 lead over DIRTY is 4.52 points. The DIRE and DIRTY comparison covers IDA at O0 only, on about 400K functions (roughly 15% of VarCorpus), because DIRE's training time was prohibitive. The method can name only variables the decompiler recovers, and labeling relies on IDA and Ghidra preserving variables when matching debug symbols. Corpora come from Linux distribution packages, mainly x86-64 with a smaller AArch64 O2 experiment, and may not represent Windows or macOS executables; deduplication removes exact duplicates only. The user study had 27 students who completed 13 function pairs. Types, structures and recompilable code are outside its scope.

Authors & citation

Kuntal Kumar Pal; Ati Priya Bajaj; Pratyay Banerjee; Audrey Dutcher; Mutsumi Nakamura; Zion Leonahenahe Basque; Himanshu Gupta; Saurabh Arjun Sawant; Ujjwala Anantheswaran; Yan Shoshitaishvili; Adam Doupé; Chitta Baral; Ruoyu Wang

BibTeX

6 sources · checked 

LibAFL QEMU: A Library for Fuzzing-oriented Emulation

2024BAR 2024Conference paper

LibAFL QEMU wraps QEMU in Rust for fuzzing-oriented emulation in user and system modes. It evaluates fuzzers for an Android library and a Windows kernel driver.

Scope & authors

Scope & limitations

The evaluation covers an Android library compared with AFL++ QEMU mode and a Windows kernel driver compared with kAFL.

Authors & citation

Romain Malmain; Andrea Fioraldi; Aurélien Francillon

BibTeX

2 sources · checked 

DeGPT: Optimizing Decompiler Output with LLM

2024NDSS 2024Conference paper

Refines existing C-like decompiler output through three coordinated roles that select, propose and check changes. It simplifies structures, adds comments and renames variables; Micro Snippet Semantic Calculation compares simulated symbol values and calls before accepting structural changes. The authors evaluate readability and naming on 620 functions from four codebases, with separate stripped and non-stripped variants.

Scope & authors

Scope & limitations

The reported 24.4% reduction is a Halstead-effort proxy on non-stripped output; human effort was not measured. The 62.9% comment result is the average non-trivial share among manually judged correct comments. MSSC is an intraprocedural heuristic: calls are abstracted and loops become branches; parsing, aliasing and path growth remain limitations. Its 80-case manual audit reports 84% accuracy and 85% recall, including three harmful changes missed. The evaluated outcome is assisted pseudocode comprehension; binary equivalence, recompilable whole programs and original-source recovery remain outside its scope.

Authors & citation

Peiwei Hu; Ruigang Liang; Kai Chen

BibTeX

10 sources · checked 

Assemblage: Automatic Binary Dataset Construction for Machine Learning

2024NeurIPS 2024 Datasets and BenchmarksConference paper

Assemblage is a distributed system that crawls GitHub and vcpkg, builds C/C++ projects under many compiler configurations, and records source-to-binary mappings such as function addresses, source code, comments and PDB or DWARF debug information. Run on AWS for about a year, it produced 890k Windows PE binaries built with Visual Studio 2015–2022 across optimization levels, architectures and Debug/Release modes, plus 428k Linux ELF binaries from GCC and Clang, in 29 configurations. Case studies use the data for compiler provenance with PassTell, function similarity with a graph neural network and jTrans, and function-boundary identification comparing XDA with IDA.

Scope & authors

Scope & limitations

The binaries are builds of open-source GitHub and vcpkg projects, many of them small student projects or utilities, so commercial, packed and obfuscated software fall outside the dataset. Assemblage relied on GitHub’s policy against malware; independent malware scanning was planned for a later version. The reported build success rate was about 30% on Windows and 7% on Linux. Public datasets include only repositories with permissive licenses, so the downloadable copy is a subset of the paper’s corpus, and repository links in the metadata tie binaries to authors’ GitHub profiles. The case studies retrain existing models under their original protocols with minimal changes; they show Windows/Linux generalization gaps, such as jTrans MRR of 0.52 on Windows against 0.83 on Linux, rather than new analysis methods.

Authors & citation

Chang Liu; Rebecca Saul; Yihao Sun; Edward Raff; Maya Fuchs; Townsend Southard Pantano; James Holt; Kristopher Micinski

BibTeX

9 sources · checked 

Binary Code Summarization: Benchmarking ChatGPT/GPT-4 and Other Large Language Models

2023arXivPreprint

BinSum benchmarks LLMs on summarizing binary functions in natural language. The authors compile 44 GNU projects with GCC 7.5 for x86, x64, ARM and MIPS at -O0 to -O3, match 557,664 binary functions to developer comments as reference summaries, and present each function as raw bytes, assembly, IDA microcode or decompiled code with and without symbols. GPT-4, ChatGPT, Llama 2 and Code Llama receive prompts selected from 320 GPT-4-generated candidates, with the fine-tuned BinT5 as a baseline; outputs are scored by embedding similarity alongside BLEU, METEOR and ROUGE-L. Decompiled code is the most useful representation, and stripping symbols lowers the average similarity score from 0.449 to 0.202.

Scope & authors

Scope & limitations

Reference summaries are developer comments extracted from source, which the authors note may be inconsistent with the code. Embedding similarity with all-mpnet-base-v2 and n-gram metrics measure closeness to those comments; summary correctness and usefulness to analysts were outside the evaluation, and no human evaluation is reported. All binaries are open-source GNU programs built with one GCC version, and the authors note that firmware, malware and obfuscated code are not covered. Prompts were chosen on 1,000 randomly sampled functions. The results rank only the June 2023 gpt-4-0613 and gpt-3.5-turbo-16k-0613 snapshots and the 7B and 13B Llama 2 and Code Llama models.

Authors & citation

Xin Jin; Jonathan Larson; Weiwei Yang; Zhiqiang Lin

BibTeX

4 sources · checked 

Binary Sight-Seeing: Accelerating Reverse Engineering via Point-of-Interest-Beacons

2023ACSAC '23Conference paper

The paper identifies instructions that interact with analyst specified data and uses them as beacons in binary analysis. It evaluates plugins for IDA and Ghidra and an instrumented P2P botnet monitor.

Scope & authors

Scope & limitations

The evaluation covers encryption function discovery in Locky and WannaCry, and bot enumeration in the ZeroAccess, Sality, Nugache, and Kelihos P2P botnets.

Authors & citation

Richard August See; Maximilian Gehring; Mathias Fischer; Shankar Karuppayah

BibTeX

2 sources · checked 

FunProbe: Probing Functions from Binary Code through Probabilistic Analysis

2023ESEC/FSE '23Conference paper

FunProbe identifies functions in binaries by combining 16 architecture-neutral hints through probabilistic inference. It was evaluated on 19,872 binaries across six CPU architectures against five tools.

Scope & authors

Scope & limitations

The evaluation covers real-world binaries compiled for six major CPU architectures and compares function identification accuracy and analysis time with five tools.

Authors & citation

Soomin Kim; Hyungseok Kim; Sang Kil Cha

BibTeX

2 sources · checked 

Improving Security Tasks Using Compiler Provenance Information Recovered At the Binary-Level

2023CCS '23Conference paper

The paper predicts compiler passes from binaries and applies the results to vulnerability detection, code reuse gadget analysis, Windows Rich header checks, and binary decomposition.

Scope & authors

Scope & limitations

The model covers 68 compiler passes and was evaluated on data from over 27,000 programs built with LLVM 14; its reported average F1 score is 84.4%.

Authors & citation

Yufei Du; Omar Alrawi; Kevin Snow; Manos Antonakakis; Fabian Monrose

BibTeX

2 sources · checked 

Refining Decompiled C Code with Large Language Models

2023arXivPreprint

The paper proposes a two-step hybrid LLM approach to refine IDA-Pro decompiled C code for recompilation. On popular C test cases, it reports a recompilation success rate above 75% with moderate effort.

Scope & authors

Scope & limitations

The pilot study examines obstacles in recompiling IDA-Pro output; the evaluation uses a set of popular C test cases.

Authors & citation

Wai Kin Wong; Huaijin Wang; Zongjie Li; Zhibo Liu; Shuai Wang; Qiyi Tang; Sen Nie; Shi Wu

BibTeX

1 source · checked 

kTrans: Knowledge-Aware Transformer for Binary Code Embedding

2023arXivPreprint

kTrans uses a knowledge-aware Transformer to embed binary code. It evaluates the embeddings through outlier detection and visualization, and on binary code similarity, function type recovery, and indirect call recognition.

Scope & authors

Scope & limitations

Covers binary code and three downstream tasks: binary code similarity detection, function type recovery and indirect call recognition, with reported improvements of 5.2%, 6.8% and 12.6%.

Authors & citation

Wenyu Zhu; Hao Wang; Yuchen Zhou; Jiaming Wang; Zihan Sha; Zeyu Gao; Chao Zhang

BibTeX

1 source · checked 

Decompiling x86 Deep Neural Network Executables

2023USENIX Security 2023Conference paper

BTD (Bin to DNN) decompiles stripped 64-bit x86 executables emitted by deep-learning compilers into model specifications: operator types, network topology, dimensions and parameters. A learned classifier labels disassembled functions as DNN operators, Intel Pin dynamic analysis chains them, and taint-reduced, trace-based symbolic execution with per-operator patterns recovers dimensions and parameter layouts. The authors rebuild recovered models in PyTorch and recompile them to compare behaviour with the original executable.

Scope & authors

Scope & limitations

Evaluated only on 64-bit x86 executables from TVM v0.7, v0.8 and v0.9.dev (-O0 and -O3), three Glow snapshots from 2020–2022 and NNFusion v0.2/v0.3; GPU, accelerator and other-architecture executables are discussed, not decompiled. It assumes flawless disassembly and function recovery (IDA Pro 7.5 in the paper) and known compilation provenance, and dimension/parameter patterns are hand-designed per operator: 22 of 36 ONNX operators needing such patterns are covered, excluding quantized operators such as QLinearConv. The authors report correct specifications for 59 of 65 executables from seven CV models and FastText; one TVM -O3 ResNet18 Conv layout required manual fixing with ground truth, and NNFusion compiled only its own VGG11. Recompiled behaviour is compared on 100 ImageNet images or 50 crafted FastText inputs, not proven for all inputs. Obfuscated executables were not evaluated.

Authors & citation

Zhibo Liu; Yuanyuan Yuan; Shuai Wang; Xiaofei Xie; Lei Ma

BibTeX

8 sources · checked 

Improving Binary Code Similarity Transformer Models by Semantics-Driven Instruction Deemphasis

2023ISSTA '23Conference paper

Detects compiler-convention instruction biases in transformer models for binary function similarity, removes affected instructions, and fine-tunes the models; reports up to 14.4% improvement in challenging cases.

Scope & authors

Scope & limitations

Focuses on similarity between binary functions compiled from the same source under different compilation setups, especially when test data differs from training data.

Authors & citation

Xiangzhe Xu; Shiwei Feng; Yapeng Ye; Guangyu Shen; Zian Su; Siyuan Cheng; Guanhong Tao; Qingkai Shi; Zhuo Zhang; Xiangyu Zhang

BibTeX

2 sources · checked 

Binary Function Clone Search in the Presence of Code Obfuscation and Optimization over Multi-CPU Architectures

2023ASIA CCS '23Conference paper

BinFinder learns binary function embeddings from features designed to withstand obfuscation and compiler optimization. It evaluates clone search across CPU architectures and reports higher recall than several prior methods.

Scope & authors

Scope & limitations

The evaluation covers cross-CPU function clone search, code obfuscation, compiler optimization, and the Tigress obfuscator.

Authors & citation

Abdullah Qasem; Mourad Debbabi; Bernard Lebel; Marthe Kassouf

BibTeX

2 sources · checked 

A Transformer-based Function Symbol Name Inference Model from an Assembly Language for Binary Reversing

2023ASIA CCS '23Conference paper

AsmDepictor generates function names from assembly code in stripped binaries. Experiments evaluate code refinement and compare its results with prior models using F1 and Jaccard*.

Scope & authors

Scope & limitations

The study focuses on recovering function symbol names from assembly code in stripped binaries.

Authors & citation

Hyunjin Kim; Jinyeong Bak; Kyunghyun Cho; Hyungjoon Koo

BibTeX

2 sources · checked 

sem2vec: Semantics-aware Assembly Tracelet Embedding

2023ACM Transactions on Software Engineering and MethodologyJournal article

sem2vec uses symbolic execution, language models, and graph neural networks to embed assembly functions. It evaluates binary similarity and vulnerability search.

Scope & authors

Scope & limitations

The evaluation covers different compilers, optimizations, architectures, and obfuscation methods, including virtualization obfuscation, plus a vulnerability search application.

Authors & citation

Huaijin Wang; Pingchuan Ma; Shuai Wang; Qiyi Tang; Sen Nie; Shi Wu

BibTeX

2 sources · checked 

1-to-1 or 1-to-n? Investigating the Effect of Function Inlining on Binary Similarity Analysis

2023ACM Transactions on Software Engineering and MethodologyJournal article

The paper identifies inlined functions in binaries and studies how inlining affects function matching. It evaluates four existing methods and two inlining-simulation strategies.

Scope & authors

Scope & limitations

The study analyzes 88 projects compiled in 288 versions across code search, OSS reuse detection, vulnerability detection, and patch presence testing.

Authors & citation

Ang Jia; Ming Fan; Wuxia Jin; Xi Xu; Zhaohui Zhou; Qiyi Tang; Sen Nie; Shi Wu; Ting Liu

BibTeX

3 sources · checked 

GraphMoco: a Graph Momentum Contrast Model that Using Multimodel Structure Information for Large-scale Binary Function Representation Learning

2023arXivPreprint

GraphMoco learns binary function representations from structural information using unsupervised graph contrastive learning and a CNN. It evaluates accuracy and efficiency on large datasets.

Scope & authors

Scope & limitations

The work focuses on large-scale binary function similarity and representation learning.

Authors & citation

Sun Runjin; Guo ShiZe; Li Wei; Zhang XingYu; Guo Xi; Pan ZhiSong

BibTeX

1 source · checked 

XFL: Naming Functions in Binaries with Extreme Multi-label Learning

2023IEEE S&P 2023Conference paper

XFL treats function naming in stripped binaries as extreme multi-label classification: names are split into tokens, and PfastreXML ranks which tokens from a vocabulary of frequent labels fit each function. Its DEXTER embedding combines static-analysis features built on angr’s VEX IR with call-graph and whole-binary context, and a separate language model orders predicted tokens into a name string. On 741,724 functions from 10,047 x86-64 C binaries in Debian packages, with a 1,024-label vocabulary, the authors report precision 0.835, recall 0.575 and F1 0.681, ahead of Punstrip, Debin and Nero in precision and F1.

Scope & authors

Scope & limitations

Predictions are token labels from a fixed vocabulary, ranked and optionally assembled into names; they are not recovered source names, and scoring matches tokens rather than exact names. Evaluation uses x86-64 ELF C binaries from Debian packages, built with mixed compilers and optimization settings, plus Nero’s smaller dataset; the trained model is specific to x86-64 GNU/Linux binaries. All tools receive function boundaries from symbol tables at test time, so boundary-detection errors are excluded. Many test names also occur in training; restricted to names never seen in training, F1 falls to 0.242. Obfuscated and adversarial binaries are out of scope. Debin and Dire figures on the Nero dataset are copied from the Nero paper rather than rerun.

Authors & citation

James Patrick-Evans; Moritz Dannehl; Johannes Kinder

BibTeX

10 sources · checked 

Revisiting Binary Code Similarity Analysis Using Interpretable Feature Engineering and Lessons Learned

2023IEEE Transactions on Software EngineeringJournal article

Builds BinKit, a reproducible cross-compilation benchmark of 243,128 binaries and 36,256,322 functions from 51 GNU packages, covering 1,352 combinations of eight architectures, nine GCC and Clang versions, five optimization levels, and PIE, LTO, no-inline and Obfuscator-LLVM options. TikNib, an interpretable baseline over simple presemantic function features, measures how compilers, options and architectures change those features. The authors report that a few basic features approach a deep-learning tool’s accuracy, that type features push AUC above 0.99, and trace failures to IDA Pro analysis errors, compiler back-end differences and architecture-specific code.

Scope & authors

Scope & limitations

Studies function-level, presemantic (syntactic and structural) features on Linux GNU packages compiled from source with debugging information for ground truth; semantic features, NLP-based models and whole-binary or other similarity tasks are outside the evaluation. The above-0.99 AUC uses argument and return types derived from source via Ctags and debugging information; type recovery from stripped binaries was outside this result. The state-of-the-art comparison sets TikNib’s AUC on VulSeeker’s ASE datasets against VulSeeker’s author-reported numbers rather than a re-run, and omits the original firmware images. Obfuscation covers Obfuscator-LLVM substitution, bogus control flow and flattening applied once. Experiments used IDA Pro 6.95, and the authors cannot rule out erroneous MIPS feature extraction. The results do not rank later learned or LLM-based models.

Authors & citation

Dongkwan Kim; Eunsoo Kim; Sang Kil Cha; Sooel Son; Yongdae Kim

BibTeX

8 sources · checked 

A Game-Based Framework to Compare Program Classifiers and Evaders

2023CGO '23Conference paper

The paper compares algorithm classifiers and evaders through four games, evaluating nine program encodings, seven obfuscation passes, and six stochastic classification models.

Scope & authors

Scope & limitations

The study covers algorithm classification and evasion under four levels of information available to the players.

Authors & citation

Thaís Damásio; Michael Canesche; Vinícius Pacheco; Marcus Botacin; Anderson Faustino da Silva; Fernando M. Quintão Pereira

BibTeX

2 sources · checked 

CFG2VEC: Hierarchical Graph Neural Network for Cross-Architectural Software Reverse Engineering

2023arXivPreprint

CFG2VEC combines control-flow and function-call graphs in a hierarchical graph neural network to represent binary functions. It evaluates function-name prediction on stripped binaries across CPU architectures.

Scope & authors

Scope & limitations

The evaluation focuses on function-name prediction for stripped binaries, including binaries from unseen CPU architectures, and use as a Ghidra plugin for DARPA AMP challenges.

Authors & citation

Shih-Yuan Yu; Yonatan Gizachew Achamyeleh; Chonghan Wang; Anton Kocheturov; Patrick Eisen; Mohammad Abdullah Al Faruque

BibTeX

1 source · checked 

Extending Source Code Pre-Trained Language Models to Summarise Decompiled Binaries

2023arXivPreprint

Builds CAPYBARA, a dataset of 214K decompiled function–documentation pairs, and fine-tunes CodeT5 into BinT5. Evaluates summaries of source, decompiled, and synthetically stripped code.

Scope & authors

Scope & limitations

The study focuses on function summaries across compiler optimization levels and synthetically stripped decompiled code.

Authors & citation

Ali Al-Kaswan; Toufique Ahmed; Maliheh Izadi; Anand Ashok Sawant; Premkumar Devanbu; Arie van Deursen

BibTeX

1 source · checked 

Asteria-Pro: Enhancing Deep-Learning Based Binary Code Similarity Detection by Incorporating Domain Knowledge

2023arXivPreprint

Asteria-Pro adds domain-knowledge pre-filtration and re-ranking to Tree-LSTM-based binary code similarity detection. It evaluates firmware vulnerability search across diverse IoT hardware architectures.

Scope & authors

Scope & limitations

The evaluation covers a firmware bug-search task: pre-filtration reduced calculation time by 96.9%; re-ranking improved MRR by 23.71% and Recall by 36.4%. A large-scale search found 1,482 vulnerable functions at 91.65% precision.

Authors & citation

Shouguo Yang; Chaopeng Dong; Yang Xiao; Yiran Cheng; Zhiqiang Shi; Zhi Li; Limin Sun

BibTeX

1 source · checked 

VulHawk: Cross-architecture Vulnerability Detection with Entropy-based Binary Code Search

2023NDSS 2023Conference paper

VulHawk lifts binary functions to microcode, builds function embeddings, adapts them across compilation settings, and searches for vulnerable functions. It evaluates seven tasks and compares with seven methods.

Scope & authors

Scope & limitations

The study covers binary functions across architectures, compilers, and optimization levels, with a focus on vulnerable-function search.

Authors & citation

Zhenhao Luo; Pengfei Wang; Baosheng Wang; Yong Tang; Wei Xie; Xu Zhou; Danjun Liu; Kai Lu

BibTeX

2 sources · checked 

dewolf: Improving Decompilation by leveraging User Surveys

2023BAR 2023Conference paper

dewolf improves decompiled code for manual analysis through new algorithms and changes to an academic decompiler. Three user surveys assessed analysts’ needs and compared its output with Ghidra and Hex-Rays.

Scope & authors

Scope & limitations

The evaluation focuses on manual malware comprehension, decompiled output quality, and analysts’ preferences.

Authors & citation

Steffen Enders; Eva-Maria C. Behner; Niklas Bergmann; Mariia Rybalka; Elmar Padilla; Er Xue Hui; Henry Low; Nicholas Sim

BibTeX

2 sources · checked 

CP-BCS: Binary Code Summarization Guided by Control Flow Graph and Pseudo Code

2023EMNLP 2023Conference paper

CP-BCS generates natural-language summaries of binary functions using an instruction-level control-flow graph and expert-informed pseudocode. It was evaluated on X86, X64, and ARM binaries at O1, O2, and O3.

Scope & authors

Scope & limitations

The evaluation covers three architectures—X86, X64, and ARM—and three optimization levels: O1, O2, and O3.

Authors & citation

Tong Ye; Lingfei Wu; Tengfei Ma; Xuhong Zhang; Yangkai Du; Peiyu Liu; Shouling Ji; Wenhai Wang

BibTeX

3 sources · checked 

Practical Binary Code Similarity Detection with BERT-based Transferable Similarity Learning

2022ACSAC 2022Conference paper

BinShot combines BERT with one-shot similarity learning to compare binary functions. The paper evaluates its effectiveness, transfer to unseen functions, and performance against prior BCSD approaches.

Scope & authors

Scope & limitations

The evaluation focuses on binary code similarity detection, including previously unseen functions.

Authors & citation

Sunwoo Ahn; Seonggwan Ahn; Hyungjoon Koo; Yunheung Paek

BibTeX

2 sources · checked 

Boosting Neural Networks to Decompile Optimized Binaries

2022ACSAC 2022Conference paper

NeurDP uses a graph neural network to translate low-level code through an intermediate representation and splits functions into smaller units. On datasets with varied statement types, it achieved 45.21% higher accuracy than prior neural decompilers.

Scope & authors

Scope & limitations

The evaluation covers compiler-optimized binaries in datasets containing various statement types.

Authors & citation

Ying Cao; Ruigang Liang; Kai Chen; Peiwei Hu

BibTeX

2 sources · checked 

SymLM: Predicting Function Names in Stripped Binaries via Context-Sensitive Execution-Aware Code Embeddings

2022ACM CCS 2022Conference paper

SymLM predicts function names for stripped binaries as sets of name words. It encodes each function’s instructions with a Trex model pretrained on micro-execution traces, fuses them with embeddings of callers, internal callees and external library calls taken from Ghidra’s interprocedural CFG, and scores words from a fixed vocabulary with an MLP decoder; name preprocessing and a word-embedding module, CodeWordNet, handle abbreviations and synonyms. On 1,431,169 functions from 16,027 binaries of 27 projects across x86, x64, ARM and MIPS, O0–O3 and four Hikari obfuscations, the authors report weighted average precision 0.634, recall 0.677 and F1 0.655, plus a firmware case study.

Scope & authors

Scope & limitations

Names are predicted as unordered word sets from a fixed training vocabulary and scored with word-level precision, recall and F1, with CodeWordNet counting semantically similar words as matches. This is not exact source-name recovery, and out-of-vocabulary words cannot be produced. Binaries were built with GCC 7.5 for Linux and split by binary within the same 27 projects. On 540 binaries from 12 unseen projects, overall performance remains lower, which the authors partly attribute to vocabulary mismatch; a later NDSS 2025 comparison on deduplicated data reports SymLM’s average F1 at 0.105. NFRE comparisons are x64-only, and NERO comparisons use NERO’s dataset. Obfuscation covers four Hikari passes, not packing or encryption. In the firmware case study, 172 of 1,061 functions in eight 32-bit ARM firmware images received partially correct names.

Authors & citation

Xin Jin; Kexin Pei; Jun Yeon Won; Zhiqiang Lin

BibTeX

9 sources · checked 

NeuDep: Neural Binary Memory Dependence Analysis

2022ESEC/FSE '22Conference paper

NeuDep learns from binary code and execution traces to predict whether instructions may access the same memory location. It was evaluated on 41 software projects across compilers, optimizations, and obfuscation passes.

Scope & authors

Scope & limitations

The evaluation covers 41 software projects compiled with 2 compilers, 4 optimizations, and 4 obfuscation passes, plus probes of memory access patterns, function signatures, and indirect calls.

Authors & citation

Kexin Pei; Dongdong She; Michael Wang; Scott Geng; Zhou Xuan; Yaniv David; Junfeng Yang; Suman Jana; Baishakhi Ray

BibTeX

2 sources · checked 

Improving binary diffing speed and accuracy using community detection and locality-sensitive hashing: an empirical study

2022Journal of Computer Virology and Hacking TechniquesJournal article

REveal compares binary executables by grouping functions into call-graph communities and locality-sensitive hash buckets. The paper studies its binary diffing speed and accuracy.

Scope & authors

Scope & limitations

The study covers comparisons of binary executables using function call graphs, community detection, and locality-sensitive hashing.

Authors & citation

Chariton Karamitas; Athanasios Kehagias

BibTeX

3 sources · checked 

Pre-Training Representations of Binary Code Using Contrastive Learning

2022arXivPreprint

ContraBin learns binary code representations using source code and comments, then evaluates them on functionality classification, function name recovery, code summarization, and reverse engineering.

Scope & authors

Scope & limitations

The evaluation covers four binary code tasks and compares the effects of human-written and synthetic comments.

Authors & citation

Yifan Zhang; Chen Huang; Yueke Zhang; Huajie Shao; Kevin Leach; Yu Huang

BibTeX

1 source · checked 

Learning to Find Usages of Library Functions in Optimized Binaries

2022IEEE Transactions on Software EngineeringJournal article

The paper trains a model to recover library-function usages, including inlined calls, from optimized binaries. Combined with Ghidra, it improves call recovery, especially at higher optimization levels.

Scope & authors

Scope & limitations

The evaluation focuses on function-usage recovery in optimized binaries, using labels generated from open-source software and pretraining on unlabeled decompiled code.

Authors & citation

Toufique Ahmed; Premkumar Devanbu; Anand Ashok Sawant

BibTeX

2 sources · checked 

BinBert: Binary Code Understanding with a Fine-tunable and Execution-aware Transformer

2022arXivPreprint

BinBert pre-trains a transformer on assembly instruction sequences and symbolic execution information, then fine-tunes it for binary code tasks. A multi-task benchmark finds it outperforms prior instruction embedding models.

Scope & authors

Scope & limitations

The evaluation covers intrinsic and downstream tasks in a benchmark designed to test assembly code understanding.

Authors & citation

Fiorella Artuso; Marco Mormando; Giuseppe A. Di Luna; Leonardo Querzoni

BibTeX

1 source · checked 

How Machine Learning Is Solving the Binary Function Similarity Problem

2022USENIX Security 2022Conference paper

Measures binary function similarity research by re-implementing ten representative approaches from the security, programming-language and machine-learning communities in one IDA Pro-based framework, from fuzzy hashing (Catalog1, FunctionSimSearch) to graph neural network, NLP-encoder and transformer models. Two new datasets support six tasks that vary optimization, compiler, bitness and architecture, scored by AUC and ranking metrics, plus a firmware vulnerability-search case. The authors report that fuzzy hashing fails in harder cross-architecture settings, GNN-based models perform best in almost all tasks, and many recent models score similarly on common data.

Scope & authors

Scope & limitations

A 2022 comparison of the authors’ re-implementations; the original papers’ code and reported numbers were outside the comparison; CodeCMR was run by its own authors, and Trex was tested only on Dataset-2 with its authors’ model. Dynamic-analysis, symbolic-execution and other slow direct-comparison approaches were excluded by design, and LLM-based similarity models are not covered. Dataset-1 compiles seven open-source projects (ClamAV, Curl, Nmap, OpenSSL, Unrar, Z3, Zlib) with GCC and Clang for x86-64, ARM and MIPS in 32 and 64 bit at O0–O3 and Os with function inlining disabled, and drops functions under five basic blocks. Dataset-2 reuses ten GCC 7.5 projects released by the Trex authors. Feature extraction depends on IDA Pro 7.3; BinaryAI covered only part of the data because a recent Hex-Rays MIPS decompiler license was unavailable. The firmware case searches ten OpenSSL functions in two images. Obfuscated code is not evaluated; the results describe the 2022 comparison.

Authors & citation

Andrea Marcelli; Mariano Graziano; Xabier Ugarte-Pedrero; Yanick Fratantonio; Mohamad Mansouri; Davide Balzarotti

BibTeX

7 sources · checked 

DeepDi: Learning a Relational Graph Convolutional Network Model on Instructions for Fast and Accurate Disassembly

2022USENIX Security 2022Conference paper

DeepDi disassembles x86 and x64 binaries by decoding a superset of candidate instructions, linking them in an Instruction Flow Graph of forward, backward and overlap relations, and classifying true instructions with a Relational Graph Convolutional Network; heuristics and a small classifier then recover function entry points. On BAP corpora, LLVM 11 built with MSVC on Windows, and SPEC CPU2006 and CPU2017, the authors report accuracy comparable or superior to IDA Pro, Binary Ninja, Ghidra, Datalog Disassembly and XDA, robustness on Linn–Debray and Hikari obfuscated binaries, single-core CPU throughput of 146 KB/s (about twice IDA Pro) and GPU throughput of 24.5 MB/s (about 350 times IDA Pro).

Scope & authors

Scope & limitations

Covers x86 and x64 ELF and PE binaries only. ELF ground truth assumes no data in code sections and uses linear disassembly plus symbol tables; PE ground truth comes from PDB files, with data lengths estimated because PDBs give only data addresses. Results are the authors’ 2022 comparisons against Binary Ninja 2.2, IDA Pro 7.2 and Ghidra 9.1.2 on their datasets and hardware, with one GTX 2080Ti GPU; Datalog Disassembly supports only x64 ELF and so covers part of the evaluation. Obfuscation tests use Linn–Debray samples and Hikari-built binaries; the authors note that a strong adversary using the model’s gradients could construct adversarial examples, which they leave to future work. The malware case reports 10-fold cross-validation accuracy on training data and log loss from the challenge’s online judge, because test labels are not public. The reported accuracy measures disassembly on the evaluated binaries; correct function boundaries in every case, decompilation and source recovery fall outside the evaluation.

Authors & citation

Sheng Yu; Yu Qu; Xunchao Hu; Heng Yin

BibTeX

5 sources · checked 

Decomperson: How Humans Decompile and What We Can Learn From It

2022USENIX Security 2022Conference paper

Reframes manual reverse engineering as perfect decompilation: writing source that, compiled with the original toolchain and options, reproduces the target functions’ binary code exactly. The authors built Decomperson, a web editor that compiles, disassembles, tests and diffs each submission, and used it in Decompetition, a 24-hour Jeopardy-style competition in November 2020 with 23 unstripped challenge binaries written in C, C++, Go, Rust and Swift. Over 150 participants made more than 35,000 submissions, including over 300 perfect ones; all but one challenge was perfectly decompiled, and the recorded edit histories are analyzed to describe how humans decompile.

Scope & authors

Scope & limitations

Participants were self-selected competitors in a single 2020 event, mostly playing solo on teams of any size, and the follow-up survey drew only 12% of registrants. The challenges are 23 small competition binaries written by the organizers, not stripped and without debug information, and Decomperson assumed the original toolchain and compilation options were known. Perfect decompilation requires matching compiler output; the task centers on matching compiler output from small competition binaries and includes time spent handling compiler idiosyncrasies; triaging large binaries and other traditional reverse-engineering skills were outside the evaluation. The web editor took players out of their usual tools and may have influenced timings. Participants could paste automatic-decompiler output; about 20% of C function attempts resembled tool output, mostly Hex-Rays, Ghidra or Binary Ninja. The study observes humans; automated decompilers and agents were outside the evaluation.

Authors & citation

Kevin Burk; Fabio Pagani; Christopher Kruegel; Giovanni Vigna

BibTeX

5 sources · checked 

Augmenting Decompiler Output with Learned Variable Names and Types

2022USENIX Security 2022Conference paper

Introduces DIRTY, a Transformer model that recommends variable names and types from decompiled code and layout information, together with the DIRT corpus for training and evaluation.

Scope & authors

Scope & limitations

The original pipeline is built around C programs and Hex-Rays output. Predicted names and types are learned hypotheses; their correspondence to original symbols remains unverified. The published paper is from 2022, although its arXiv preprint first appeared in 2021.

Authors & citation

Qibin Chen; Jeremy Lacomis; Edward J. Schwartz; Claire Le Goues; Graham Neubig; Bogdan Vasilescu

BibTeX

5 sources · checked 

jTrans: Jump-Aware Transformer for Binary Code Similarity Detection

2022ACM ISSTA 2022Conference paper

jTrans embeds binary functions for similarity search with a BERT-style Transformer. Its jump-aware representation shares parameters between a direct jump’s operand token and the positional embedding of the jump target, so control flow enters the instruction sequence without a separate graph network. The model is pre-trained with masked language modeling and jump-target prediction, then fine-tuned with a cosine triplet objective on functions compiled from the same source at different optimization levels. The paper also introduces BinaryCorp, built by compiling C/C++ packages from Arch Linux’s official repositories and the AUR with gcc and g++.

Scope & authors

Scope & limitations

The model is trained on a single architecture (x86, per the paper’s discussion); cross-architecture search is not evaluated. Only direct jumps are encoded, and indirect-jump targets are left out of scope. Disassembly and function extraction rely on IDA Pro 7.5, so boundary errors upstream are not measured. BinaryCorp pairs gcc/g++ builds across O0–O3 and Os, with train and test split by project; it does not cover obfuscation or other compilers, and only the vulnerability study adds clang variants. Author-reported Recall@1 at pool size 10,000 on BinaryCorp-26M averages 62.5% against 32.0% for the best baseline, and accuracy still falls as pools grow, which the authors note for larger real-world pools. The vulnerability search uses eight CVEs with ten variants each. Baselines date from 2022, and Asm2Vec and OrderMatters were reimplemented, so current rankings remain open. Similarity ranking identifies candidate matches; it does not recover source code, names or types.

Authors & citation

Hao Wang; Wenjie Qu; Gilad Katz; Wenyu Zhu; Zeyu Gao; Han Qiu; Jianwei Zhuge; Chao Zhang

BibTeX

9 sources · checked 

Improving cross-platform binary analysis using representation learning via graph alignment

2022ISSTA '22Conference paper

XBA represents disassembled binaries as typed graphs and uses graph convolutional networks to align node embeddings across platforms. With 50% of oracle alignments for training, it predicted 75% of the remaining pairs on average.

Scope & authors

Scope & limitations

The evaluation covers cross-platform alignment of binary disassembly graph nodes and case studies using the learned embeddings for binary analysis.

Authors & citation

Geunwoo Kim; Sanghyun Hong; Michael Franz; Dokyung Song

BibTeX

2 sources · checked 

ExeBench: an ML-scale dataset of executable C functions

2022ACM SIGPLAN MAPS 2022Conference paper

ExeBench is a dataset of executable C functions for decompilation evaluation. It extracts C functions from GitHub and AnghaBench, makes them compilable by locating real headers and definitions or injecting synthetic ones, and generates input/output examples from function signatures with a C++ wrapper that runs each function. After exact deduplication the authors report 4,485,817 compilable and 687,843 executable functions, of which 124,612 have rich IO that a constant or identity implementation cannot pass; the paper also describes x86 and ARM assembly at O0, Os and Ofast for each row. Decompilation studies such as SLaDe and LLM4Decompile later used it to test whether decompiled functions re-execute correctly.

Scope & authors

Scope & limitations

IO is generated from signatures without program context: 10 pairs per function (30 across three seeds of synthetic definitions), arrays default to 32 elements, and success falls below 5% for functions with pointer–integer conversions and stays low for goto, labels and complex control flow, so executable functions skew simpler than the compilable population. Synthetic IO is produced with injected stand-in definitions rather than the functions’ real dependencies; only 4,464 functions have rich IO with real definitions. Finite IO pairs test behavior on sampled inputs, and deduplication removes exact matches after tokenization only. Running functions with real dependencies executes untrusted code; the authors used restricted containers. The paper’s exact v1.00 data is available only on request, while the public v1.01 release has revised splits (for example 2,134 instead of 2,232 real test functions). Each function keeps its source repository’s license; ExeBench additions are MIT.

Authors & citation

Jordi Armengol-Estapé; Jackson Woodruff; Alexander Brauckmann; José Wesley de Souza Magalhães; Michael F. P. O'Boyle

BibTeX

8 sources · checked 

Exploring GNN based program embedding technologies for binary related tasks

2022ICPC '22Conference paper

The paper combines control-flow, data-flow, and call-graph information in a graph neural network that embeds binary instructions and values. It evaluates binary similarity detection and dead store prediction.

Scope & authors

Scope & limitations

The evaluation covers binary similarity detection and dead store prediction, with reported accuracies of 83.25% and 82.77%, respectively.

Authors & citation

Yixin Guo; Pengcheng Li; Yingwei Luo; Xiaolin Wang; Zhenlin Wang

BibTeX

2 sources · checked 

Elipmoc: Advanced Decompilation of Ethereum Smart Contracts

2022Proceedings of the ACM on Programming Languages (OOPSLA 2022)Journal article

Elipmoc decompiles Ethereum Virtual Machine bytecode into a structured three-address intermediate representation for security analyses and reverse engineering. Built as an evolution of the Datalog-based Gigahorse decompiler, it adds transactional context sensitivity, path-sensitive inference of function arguments and returns with path merging, and fully context-sensitive reconstruction of private functions. On a uniform random sample of 5,000 unique mainnet contracts first deployed between April and September 2021, the authors report fully resolved operands for 99.5% of contracts versus 62.8% for Gigahorse, 67% more unique external-call signatures than Etherscan’s Panoramix, and over 5x faster decompilation.

Scope & authors

Scope & limitations

Targets EVM bytecode only. The metrics are operand resolution, structured control flow, function and jump-target precision, external-call and event coverage, timeouts and speed against the 2022 Gigahorse artifact and Panoramix; equivalence to and recovery of original Solidity source were outside the evaluation, and the output is three-address IR rather than recompilable code. Experiments used one 5,000-contract sample from a five-month 2021 deployment window, a 120-second per-contract cutoff and Souffle 2.0.2. JEB, Trustlook SECaaS and EtherSolve were not compared, and EtherVM, Porosity and Vandal were excluded as inferior or unmaintained. Reported vulnerability discoveries built on Elipmoc are described as end-to-end impact; systematic evaluation of those discoveries was outside the study.

Authors & citation

Neville Grech; Sifis Lagouvardos; Ilias Tsatiris; Yannis Smaragdakis

BibTeX

5 sources · checked 

Automatically Mitigating Vulnerabilities in Binary Programs via Partially Recompilable Decompilation

2022arXivPreprint

PRD lifts selected binary functions to editable source and combines source- and binary-level techniques to build patched binaries. It evaluates recompilation, test equivalence, and automated and human-edited repairs.

Scope & authors

Scope & limitations

The evaluation focuses on selected functions and includes DARPA Cyber Grand Challenge binaries, two automated repair tools, C++, Rode0day, and real-world binaries.

Authors & citation

Pemma Reiter; Hui Jun Tay; Westley Weimer; Adam Doupé; Ruoyu Wang; Stephanie Forrest

BibTeX

1 source · checked 

Pop Quiz! Can a Large Language Model Help With Reverse Engineering?

2022arXivPreprint

Tests whether OpenAI’s Codex model code-davinci-001 can answer reverse-engineering questions about C code in a zero-shot question-and-answer prompt. Programs come from templates the authors wrote, covering cybersecurity snippets and industrial-control algorithms such as PID controllers and filters, plus five single-file Linux malware samples from vx-underground. Each is presented as original or name-randomized source, or as Ghidra decompilation of gcc -O1 builds with debug information, without it, or stripped. After exploratory open-ended questions, generated true/false and short-answer questions about purpose, capabilities and key variables are graded against an answer oracle; Codex answered 72,754 of 136,260 questions correctly.

Scope & authors

Scope & limitations

All results come from one model, code-davinci-001, which OpenAI shut down on 2023-03-23; the original-model experiment can no longer be rerun. Accuracy is measured with a generated true/false and short-answer quiz, paired as positive and negated questions to expose answer bias; analyst-task performance and current LLM performance were outside the evaluation; the overall 53.4% led the authors to conclude that zero-shot reverse engineering performance was insufficient. Programs are small single-file C code that fits the model’s roughly 4,000-token window, compiled only at -O1; the real-malware class has five samples. The answer oracle combines the authors’ labels with capability matches from the capa tool.

Authors & citation

Hammond Pearce; Benjamin Tan; Prashanth Krishnamurthy; Farshad Khorrami; Ramesh Karri; Brendan Dolan-Gavitt

BibTeX

5 sources · checked 

A Survey of Binary Code Fingerprinting Approaches: Taxonomy, Methodologies, and Features

2022ACM Computing SurveysJournal article

Surveys binary code fingerprinting approaches, reviewing their uses, the information they capture, their methods and implementations, and open questions.

Scope & authors

Scope & limitations

Covers existing binary code fingerprinting approaches and their applications.

Authors & citation

Saed Alrabaee; Mourad Debbabi; Lingyu Wang

BibTeX

2 sources · checked 

Beyond the C: Retargetable Decompilation using Neural Machine Translation

2022Workshop on Binary Analysis Research (BAR) 2022Conference paper

BTC (Beyond The C) treats decompilation as plain-text translation from compiler-emitted x86-64 assembly to source code. It uses byte-pair-encoding tokenizers trained separately on assembly and source, and a standard fairseq transformer. Function pairs are matched through the compiler's CFI and line directives rather than language-specific parsers, compiler plugins or lifters, so the same pipeline is retrained for Go, Fortran, OCaml and C. Training sets range from about 10,000 functions for small C, Go and Fortran corpora to 2 million C functions built from Debian packages. The best model, trained on the large C set, reaches a normalized average edit distance of 0.46 on held-out functions.

Scope & authors

Scope & limitations

Evaluation covers four languages at function level and scores outputs only by normalized edit distance to the original source. No compilation, test-based or semantic-equivalence check is reported, and whole-program decompilation is not evaluated. The authors state that the method cannot guarantee semantic correctness and is not yet ready for practical use on real code: even the best score means changes to roughly half of a function's tokens. Input is compiler-produced x86-64 assembly with labels and CFI directives intact, so disassembly of stripped binaries, other architectures and compilers without such directives are outside the evaluation. Sequence-length limits exclude long functions, and the small corpora are mostly competitive-programming and small utility code. The comparison with Katz et al. cites that work's reported score on shorter snippets rather than rerunning it on the same data.

Authors & citation

Iman Hosseini; Brendan Dolan-Gavitt

BibTeX

6 sources · checked 

A Look Back on a Function Identification Problem

2021ACSAC '21Conference paper

The paper examines function-detection datasets and metrics, then reevaluates existing tools on its own dataset. It finds that tool performance varies across cases.

Scope & authors

Scope & limitations

The evaluation focuses on function detection, including the use of GNU utilities as a corpus, comparisons of ML approaches with IDA and Ghidra, and variation across cases.

Authors & citation

Hyungjoon Koo; Soyeon Park; Taesoo Kim

BibTeX

2 sources · checked 

PalmTree: Learning an Assembly Language Model for Instruction Embedding

2021CCS '21Conference paper

PalmTree pre-trains an assembly language model on unlabeled binaries to produce instruction embeddings using three self-supervised tasks. It evaluates them with intrinsic metrics and downstream tasks.

Scope & authors

Scope & limitations

The work focuses on representing disassembled instructions and compares embedding schemes using intrinsic metrics and downstream binary analysis tasks.

Authors & citation

Xuezixiang Li; Yu Qu; Heng Yin

BibTeX

2 sources · checked 

Binary Code Similarity Detection

20212021 36th IEEE/ACM International Conference on Automated Software Engineering (ASE)Conference paper

The tool symbolically executes binary functions, records values at key instructions in graphs, and compares the graphs to detect similarity across compilation options.

Scope & authors

Scope & limitations

The method uses calls, comparisons, returns, and memory address writes as key instructions, with handling for path explosion and loops.

Authors & citation

Zian Liu

BibTeX

3 sources · checked 

StateFormer: fine-grained type recovery from binaries using generative state modeling

2021ESEC/FSE '21Conference paper

StateFormer learns assembly instruction effects through generative state modeling, then uses that knowledge to recover types of function arguments and variables from binaries.

Scope & authors

Scope & limitations

Evaluated on 33 open-source projects compiled with GCC and LLVM at O0–O3, plus three LLVM-based obfuscation passes.

Authors & citation

Kexin Pei; Jonas Guan; Matthew Broughton; Zhongtian Chen; Songchen Yao; David Williams-King; Vikas Ummadisetty; Junfeng Yang; Baishakhi Ray; Suman Jana

BibTeX

2 sources · checked 

A lightweight framework for function name reassignment based on large-scale stripped binaries

2021ISSTA '21Conference paper

NFRE predicts descriptive function names in stripped binaries using sequential and structural assembly features. On a large-scale dataset, it outperformed two existing techniques with much less binary-analysis time.

Scope & authors

Scope & limitations

The evaluation covers function-name reassignment for stripped binaries, comparing NFRE with two existing techniques.

Authors & citation

Han Gao; Shaoyin Cheng; Yinxing Xue; Weiming Zhang

BibTeX

2 sources · checked 

Asteria: Deep Learning-based AST-Encoding for Cross-platform Binary Code Similarity Detection

20212021 51st Annual IEEE/IFIP International Conference on Dependable Systems and Networks (DSN)Conference paper

ASTERIA uses a Tree-LSTM to encode function ASTs and compare binary functions across platforms. It was evaluated on function pairs and used to search IoT firmware for vulnerabilities.

Scope & authors

Scope & limitations

The model was trained on 1,022,616 function pairs and evaluated on 95,078 pairs. Its cross-platform scope covers differing IoT architectures; a firmware search identified 75 vulnerable functions in 5,979 images.

Authors & citation

Shouguo Yang; Long Cheng; Yicheng Zeng; Zhe Lang; Hongsong Zhu; Zhiqiang Shi

BibTeX

2 sources · checked 

SoK: All You Ever Wanted to Know About x86/x64 Binary Disassembly But Were Afraid to Ask

20212021 IEEE Symposium on Security and Privacy (SP)Conference paper

Studies nine open-source x86/x64 disassemblers, separates algorithmic strategies from heuristics, and measures coverage against correctness on 3,788 binaries.

Scope & authors

Scope & limitations

The study compares nine existing disassemblers. The linked PDF is arXiv:2007.14266v1, submitted 28 July 2020. Crossref records the IEEE proceedings article at pages 833–851, with issued and published-print dates in May 2021.

Authors & citation

Chengbin Pang; Ruotong Yu; Yaohui Chen; Eric Koskinen; Georgios Portokalidis; Bing Mao; Jun Xu

BibTeX

4 sources · checked 

A Survey of Binary Code Similarity

2021ACM Computing SurveysJournal article

This survey organizes binary code similarity research for settings where source code is unavailable, including patch analysis, bug search, and malware analysis. It groups earlier approaches by application, technical characteristics, implementation, and the benchmarks used to evaluate them.

Scope & authors

Scope & limitations

Bibliographic metadata follows the Crossref record for the 2021 ACM Computing Surveys article. The available full text is arXiv:1909.11424v1.

Authors & citation

Irfan Ul Haq; Juan Caballero

BibTeX

4 sources · checked 

Variable Name Recovery in Decompiled Binary Code using Constrained Masked Language Modeling

2021arXivPreprint

VarBERT predicts variable names from raw decompiler output using constrained masked language modeling. On a dataset of 164,632 binaries, it matched original source names up to 84.15% of the time.

Scope & authors

Scope & limitations

The study focuses on variable-name recovery from raw decompiler output and evaluates it on an existing binary dataset.

Authors & citation

Pratyay Banerjee; Kuntal Kumar Pal; Fish Wang; Chitta Baral

BibTeX

1 source · checked 

Unleashing the Hidden Power of Compiler Optimization on Binary Code Difference: An Empirical Study

2021arXivPreprint

BinTuner searches compiler optimization sequences that increase binary code differences. The paper evaluates their effects on binary diffing tools and IoT malware detection.

Scope & authors

Scope & limitations

The evaluation uses GCC 10.2 and LLVM 11.0 on SPEC CPU2006 and CPU2017, Coreutils, and OpenSSL, alongside IoT malware variants.

Authors & citation

Xiaolei Ren; Michael Ho; Jiang Ming; Yu Lei; Li Li

BibTeX

1 source · checked 

Neutron: an attention-based neural decompiler

2021CybersecurityJournal article

Neutron uses attention-based neural translation and low-level basic operations to decompile low-level code into readable, functionally similar high-level code.

Scope & authors

Scope & limitations

The evaluation covers two practical applications and reports 96.96% average program accuracy, outperforming a traditional neural translation model.

Authors & citation

Ruigang Liang; Ying Cao; Peiwei Hu; Kai Chen

BibTeX

3 sources · checked 

XDA: Accurate, Robust Disassembly with Transfer Learning

2021NDSS 2021Conference paper

XDA learns contextual relationships among binary bytes through self-supervised training, then fine-tunes the learned representations to recover function boundaries and assembly instructions.

Scope & authors

Scope & limitations

Evaluated on 3,121 binaries from SPEC CPU2017, SPEC CPU2006, and BAP, compiled with GCC, ICC, and MSVC for x86/x64 Windows and Linux across four optimization levels.

Authors & citation

Kexin Pei; Jonas Guan; David Williams-King; Junfeng Yang; Suman Jana

BibTeX

3 sources · checked 

Trex: Learning Execution Semantics from Micro-Traces for Binary Similarity

2020arXivPreprint

Trex learns execution semantics from function micro-traces, then uses that knowledge to match semantically similar binary functions.

Scope & authors

Scope & limitations

The evaluation covers 1,472,066 function binaries from 13 software projects, across architectures, compiler optimizations, and obfuscations.

Authors & citation

Kexin Pei; Zhou Xuan; Junfeng Yang; Suman Jana; Baishakhi Ray

BibTeX

1 source · checked 

Probabilistic Naming of Functions in Stripped Binaries

2020ACSAC '20Conference paper

punstrip uses code fingerprints and a probabilistic graphical model to predict function names in stripped binaries. It evaluates exact, name-component, and Symbol2Vec matching.

Scope & authors

Scope & limitations

The evaluation covers open-source C binaries from Debian, including functions compiled with different compilers and optimization levels.

Authors & citation

James Patrick-Evans; Lorenzo Cavallaro; Johannes Kinder

BibTeX

2 sources · checked 

Neural reverse engineering of stripped binaries using augmented control flow graphs

2020Proceedings of the ACM on Programming Languages (OOPSLA 2020)Journal article

Nero predicts names for procedures in stripped x86-64 Linux executables; it does not produce decompiled code. Static analysis reconstructs call sites, including imported API names, and augments their arguments with concrete and abstract values along control-flow paths. LSTM, Transformer and graph neural network encoders over the resulting augmented call-site graph feed a decoder that generates the name as subtokens. On a GNU-package test set the authors report 45.53 F1 for Nero-GNN, against 35.52 for an adapted DIRE and 33.66 for Debin.

Scope & authors

Scope & limitations

Evaluation uses 67,246 procedures from C-only GNU packages built as x86-64 Linux executables, split by package into 60,403/2,034/4,809 examples after removing C++ executables, tests, statically linked packages and duplicate package versions. Labels come from names present before stripping, and F1 is measured over name subtokens, so outputs are learned name suggestions; original symbols remain unrecovered. Simulated API-name obfuscation, which zeroes the .dynstr section, lowers Nero-GNN to 38.83 F1; packers and heavier obfuscation are not addressed. A procedure needs at least one statically detectable call site, and inlined procedures cannot be named. Data generation relied on a licensed IDA Pro (tested with 6.95) for procedure boundaries and export, plus angr and LLVM 10, and the model code uses TensorFlow 1.13.1. Compatibility with current tool versions remains untested.

Authors & citation

Yaniv David; Uri Alon; Eran Yahav

BibTeX

10 sources · checked 

Devil is Virtual: Reversing Virtual Inheritance in C++ Binaries

2020CCS '20Conference paper

Presents a technique to detect and recover virtual inheritance in C++ binaries, studies its prevalence in real-world programs, and evaluates recovery of virtual and intermediate bases.

Scope & authors

Scope & limitations

Covers virtual inheritance in COTS C++ binaries, with a prevalence study of Linux and Windows programs and recovery results for GCC -O0 and Clang -O2.

Authors & citation

Rukayat Ayomide Erinfolami; Aravind Prakash

BibTeX

3 sources · checked 

A Comb for Decompiled C Code

2020ASIA CCS '20Conference paper

Proposes a semantics-preserving way to restructure control flow recovered from binaries into goto-free C code. Evaluates revngc against commercial and open-source decompilers on real-world binaries.

Scope & authors

Scope & limitations

The evaluation covers real-world binaries and compares extra cyclomatic complexity; revngc introduces 40%–50% less.

Authors & citation

Andrea Gussoni; Alessandro Di Federico; Pietro Fezzardi; Giovanni Agosta

BibTeX

2 sources · checked 

How far we have come: testing decompilation correctness of C decompilers

2020ACM ISSTA 2020Conference paper

Tests whether C decompilers preserve program behavior. The authors' DecFuzzer compiles a Csmith-generated program, decompiles the executable, substitutes the decompiled function for the original in the source, recompiles, and compares the two programs' outputs; equivalence-modulo-inputs (EMI) mutation then derives further test programs from the seeds. Across four popular decompilers the authors report 1,423 inputs that trigger decompilation errors and, after manual analysis, 13 bugs in two open-source decompilers. They argue that modern decompilers are making real progress on functional correctness, while type recovery and optimization still hinder accurate output.

Scope & authors

Scope & limitations

The tests use small generated programs, not real-world binaries, and a failed recompilation is recorded separately from a behavioral mismatch. In the authors' artifact, test programs are compiled as 32-bit x86 with GCC at -O0, and Csmith is restricted to a single function without arrays, structs, unions, pointers or long long types, so optimized code and richer data types are outside that configuration. The four decompilers (IDA Pro, JEB3, RetDec and Radare2's r2ghidra plugin) were tested as of 2020; the error counts and bugs describe those releases, not current ones. IDA Pro and JEB3 are commercial and not included in the artifact, which sets up only RetDec and r2ghidra.

Authors & citation

Zhibo Liu; Shuai Wang

BibTeX

6 sources · checked 

Binary Rewriting without Control Flow Recovery

2020PLDI 2020Conference paper

E9Patch statically rewrites x86-64 binaries by inserting jumps to trampolines without moving any other instruction, so the original set of jump targets is preserved and control-flow recovery, symbolization and debug information are not needed. Where a five-byte jump does not fit, instruction punning, padding and successor or neighbor eviction overlap the jump with existing bytes or relocate neighboring instructions into their own trampolines; physical page grouping reduces the memory and file-size cost of scattered trampolines. Instruction locations come from a separate frontend, a basic linear disassembler in the evaluation. The authors evaluate SPEC2006, Ubuntu 16.04 system binaries, and Chrome and Firefox builds over 100 MB, and demonstrate binary repair and heap-write hardening with low fat pointers.

Scope & authors

Scope & limitations

This is static binary rewriting and instrumentation, not decompilation or source recovery. It relies on the frontend’s instruction locations and sizes being correct, assumes patched code is not read as data or self-modified, and assumes the input does not already use overlapping instructions. Each tactic can fail: 1,098 of about 10.5 million patch locations were not patched, baseline coverage alone was 72.79% for jumps and 81.63% for heap writes, and non-PIE binaries are harder than PIE ones. Chrome’s mixed code and data required starting disassembly after ChromeMain, and Firefox’s code was patched in libxul.so. Reported overheads, such as about 113% for Chrome and 46% for Firefox on Dromaeo DOM benchmarks with heap-write instrumentation, were measured with the PLDI prototype, with SPEC2006 compiled by GCC in non-PIE mode; the current release falls outside these measurements.

Authors & citation

Gregory J. Duck; Xiang Gao; Abhik Roychoudhury

BibTeX

6 sources · checked 

RetroWrite: Statically Instrumenting COTS Binaries for Fuzzing and Sanitization

2020IEEE S&P 2020Conference paper

RetroWrite statically rewrites 64-bit position-independent Linux binaries by generating reassembleable assembly, so instrumentation can be inserted as if at compile time. Instead of heuristics, it symbolizes references from the binary's own metadata: control-flow operands, PC-relative addressing that position-independent code must use, and data relocations become assembler labels, which separates references from scalars. On this base the authors build AFL coverage instrumentation and a binary-only AddressSanitizer. They report fuzzing throughput matching compiler instrumentation and 4.5x faster than AFL's QEMU mode, with more bugs found on LAVA-M, and binary ASan that runs 3x faster than Valgrind memcheck on SPEC CPU2006 and detects 80% more bugs in their evaluation, whose coverage tests use Juliet memory-corruption cases.

Scope & authors

Scope & limitations

The method depends on position-independent code; the paper's implementation targets Linux x86-64 and uses the symbol table for function starts and sizes, so stripped binaries need function boundaries from another tool. It cannot safely rewrite C++ binaries with exception handling, because the DWARF unwind information is not symbolized, and it does not address obfuscated or adversarial binaries. Binary ASan instruments the stack only at stack-frame granularity and adds no redzones around globals, so it misses some overflows that compiler ASan catches, and it remains slower than compiler ASan. Results are from 2019–2020 tool versions on the authors' benchmarks. The repository's later aarch64 rewriter, described in a separate thesis, uses a different algorithm, and the paper's x86-64 results do not apply to it.

Authors & citation

Sushant Dinesh; Nathan Burow; Dongyan Xu; Mathias Payer

BibTeX

7 sources · checked 

BinRec: Dynamic Binary Lifting and Recompilation

2020EuroSys 2020Conference paper

BinRec lifts an executable to LLVM IR from dynamic traces instead of static disassembly, then lowers the IR back to a recovered binary, so compiler passes can optimize, harden or otherwise transform it. Tracing runs the binary under S²E, which translates the executed code through QEMU into LLVM IR; BinRec removes the emulation instrumentation, merges traces from several inputs into one program, and adds optimizations such as register de-aliasing and promotion of emulated state to locals. When the recovered binary reaches a path that was not traced, a configurable handler stops it, falls back to the original code, or lifts the new path incrementally. The authors report recovering all SPEC CINT2006 benchmarks, including C++ programs, and apply it to reoptimization, control-flow integrity, AddressSanitizer and SafeStack hardening, and partial deobfuscation of virtualization-obfuscated code.

Scope & authors

Scope & limitations

The prototype handles only single-threaded 32-bit x86 Linux ELF binaries and does not support self-modifying code. A recovered binary supports only control-flow paths observed during lifting, so behavior on untraced inputs depends on the chosen miss handler and on input coverage. Lifting through S²E is slow, and floating-point instructions are emulated in lifted code; across the SPEC benchmarks, recovered binaries ran at a geometric-mean 0.98x the time of unoptimized inputs and 1.29x that of optimized inputs. BinRec does not map stack slots to variables. The deobfuscation case uses two small programs obfuscated with the authors' own virtualizer, not commercial obfuscators. The McSema and rev.ng comparisons reflect 2020 versions.

Authors & citation

Anil Altinay; Joseph Nash; Taddeus Kroes; Prabhu Rajasekaran; Dixin Zhou; Adrian Dabrowski; David Gens; Yeoul Na; Stijn Volckaert; Cristiano Giuffrida; Herbert Bos; Michael Franz

BibTeX

6 sources · checked 

A Survey on Malware Detection and Analysis Tools

2020International Journal of Network Security & Its ApplicationsJournal article

This survey reviews tools for malware detection and analysis, starting from the amount of data that has to be inspected for malicious intent. It is organized as a survey of that tooling rather than as an evaluation of one product.

Scope & authors

Scope & limitations

The fetched PDF is the March 2020 IJNSA article. The Crossref issued day is recorded only at the precision Crossref provides. Tool behavior was not rechecked.

Authors & citation

Sajedul Talukder; Zahidur Talukder

BibTeX

3 sources · checked 

Towards usable automated detection of CPU architecture and endianness for arbitrary binary files and object code sequences

2020Proceedings of the Tenth ACM Conference on Data and Application Security and PrivacyConference paper

The paper builds open datasets and tools to identify CPU architecture and endianness in binary files and object code. It evaluates classifiers on executable code sections, reporting over 98% accuracy.

Scope & authors

Scope & limitations

Classifier results use code sections from executable binary files.

Authors & citation

Sami Kairajärvi; Andrei Costin; Timo Hämäläinen

BibTeX

2 sources · checked 

Egalito: Layout-Agnostic Binary Recompilation

2020ASPLOS 2020Conference paper

Egalito statically recompiles stripped x86-64 and ARM64 binaries, using the metadata that position-independent executables and libraries carry to recover a complete disassembly in which every code and data cross-reference becomes an explicit link. Its layout-agnostic intermediate representation, EIR, stays close to machine code, so regenerated output is predictable, while a higher-level view supports analysis; data-flow analyses infer jump tables, which have no metadata. Because the original layout imposes no constraints, tools can move or rewrite code freely; the authors build nine, including continuous code randomization in which Egalito transforms itself, a retpoline defense, and software emulation of Intel CET. They report recovering the compiler's jump tables in 866 of 867 executables and libraries from 172 Debian packages, all tests passing in 90 of 149 transformed packages, and a 1.7% speedup on SPEC CPU 2006.

Scope & authors

Scope & limitations

Egalito requires position-independent code for sufficient metadata; non-PIC inputs are outside the method except where full relocations are supplied, as in the authors' Fuchsia kernel experiment. Jump-table recovery uses data-flow analysis and an adjacency heuristic, so disassembly is not guaranteed to be complete; the one failure in the Debian study was heavily nested jump tables. The authors list obfuscated code, inline assembly that embeds data in code symbols, C++ exceptions, symbol versioning, and Go or V8 binaries among unsupported cases. Package test failures are partly attributed to these features. RISC-V support was incomplete at publication. The columbia/egalito main branch has had no commits since June 2020; current maintenance is unverified.

Authors & citation

David Williams-King; Hidenori Kobayashi; Kent Williams-King; Graham Patterson; Frank Spano; Yu Jian Wu; Junfeng Yang; Vasileios P. Kemerlis

BibTeX

5 sources · checked 

DeepBinDiff: Learning Program-Wide Code Representations for Binary Diffing

2020NDSS 2020Conference paper

DeepBinDiff learns basic-block representations from code semantics and program-wide control flow, then uses k-hop greedy matching to compare binaries. It evaluates cross-version and cross-optimization matching.

Scope & authors

Scope & limitations

The evaluation covers cross-version and cross-optimization-level binary diffing, plus an OpenSSL vulnerability case study.

Authors & citation

Yue Duan; Xuezixiang Li; Jinghan Wang; Heng Yin

BibTeX

2 sources · checked 

RevEngE is a dish served cold: Debug-Oriented Malware Decompilation and Reassembly

2019ROOTS'19Conference paper

RevEngE uses GDB extensions to capture executed functions, build an IR in real time, and decompile selected malware code. It evaluates x86 ELF binaries from VirusShare and a reassembled sample with VirusTotal.

Scope & authors

Scope & limitations

The evaluation covers x86 ELF binaries from VirusShare and a sample assembled from functions of five known malware samples.

Authors & citation

Marcus Botacin; Lucas Galante; Paulo de Geus; André Grégio

BibTeX

2 sources · checked 

DIRE: A Neural Approach to Decompiled Identifier Naming

2019ASE 2019Conference paper

Combines lexical and structural information from decompiler output to predict meaningful variable names, with a training and evaluation corpus derived from compiled C projects.

Scope & authors

Scope & limitations

This work studies learned identifier naming; its scope is identifier naming, with complete source reconstruction and autonomous agents outside that scope. Its reported results concern an x86-64 C corpus and depend on decompiler output. The original author repository is deprecated and points to a successor.

Authors & citation

Jeremy Lacomis; Pengcheng Yin; Edward J. Schwartz; Miltiadis Allamanis; Claire Le Goues; Graham Neubig; Bogdan Vasilescu

BibTeX

7 sources · checked 

Manticore: A User-Friendly Symbolic Execution Framework for Binaries and Smart Contracts

2019arXivPreprint

Manticore uses dynamic symbolic execution to analyze binaries and Ethereum smart contracts. The paper presents its architecture and demonstrates bug finding and code verification used for commercial clients.

Scope & authors

Scope & limitations

The paper covers the framework’s architecture, customizable API, and demonstrations involving binaries and Ethereum smart contracts.

Authors & citation

Mark Mossberg; Felipe Manzano; Eric Hennenfent; Alex Groce; Gustavo Grieco; Josselin Feist; Trent Brunson; Artem Dinaburg

BibTeX

1 source · checked 

InternalBlue - Bluetooth Binary Patching and Experimentation Framework

2019Proceedings of the 17th Annual International Conference on Mobile Systems, Applications, and ServicesConference paper

The paper reverse engineers Broadcom Bluetooth controllers and presents InternalBlue for patching their firmware. It evaluates the framework through vulnerability tests, bug fixes, and added security features.

Scope & authors

Scope & limitations

The work covers multiple Broadcom Bluetooth chipsets used in smartphones, wearables, and IoT devices, with experiments on their controller firmware and Bluetooth stack.

Authors & citation

Dennis Mantz; Jiska Classen; Matthias Schulz; Matthias Hollick

BibTeX

2 sources · checked 

Towards Neural Decompilation

2019arXivPreprint

The paper trains a neural machine translation decompiler using a compiler. It evaluates translation from LLVM IR and x86 assembly to C, successfully decompiling over 97% and 88% of its respective benchmarks.

Scope & authors

Scope & limitations

The evaluation covers LLVM IR and x86 assembly translated to C on the paper's benchmarks.

Authors & citation

Omer Katz; Yuval Olshaker; Yoav Goldberg; Eran Yahav

BibTeX

1 source · checked 

Asm2Vec: Boosting Static Representation Robustness for Binary Clone Search against Code Obfuscation and Compiler Optimization

20192019 IEEE Symposium on Security and Privacy (SP)Conference paper

Asm2Vec learns representations of assembly functions for clone search. The paper evaluates them against static and dynamic methods under code obfuscation and compiler optimization.

Scope & authors

Scope & limitations

The work focuses on assembly-function clone search using assembly code as input, with evaluation covering obfuscation and compiler optimization.

Authors & citation

Steven H. H. Ding; Benjamin C. M. Fung; Philippe Charland

BibTeX

3 sources · checked 

Survey of machine learning techniques for malware analysis

2019Computers & SecurityJournal article

This survey reviews machine-learning techniques used to analyze malware as samples grow in volume and complexity. It summarizes that analysis literature rather than introducing a new detector.

Scope & authors

Scope & limitations

Crossref dates the journal issue to 2019-03 and does not give a day. The fetched full text is arXiv:1710.08189v3. Reported detector numbers were not recomputed.

Authors & citation

Daniele Ucci; Leonardo Aniello; Roberto Baldoni

BibTeX

5 sources · checked 

DeClassifier: Class-Inheritance Inference Engine for Optimized C++ Binaries

2019arXivPreprint

DeClassifier infers directed class inheritance edges from C++ binaries using constructor and destructor analysis. On 16 gcc-compiled binaries, it recovered 94.5% of true edges at O0 and 71.4% at O2.

Scope & authors

Scope & limitations

The evaluation covers 16 C++ binaries compiled with gcc under multiple optimization settings.

Authors & citation

Rukayat Ayomide Erinfolami; Aravind Prakash

BibTeX

1 source · checked 

SAFE: Self-Attentive Function Embeddings for Binary Similarity

2019DIMVA 2019Conference paper

SAFE embeds disassembled binary functions with a self-attentive network for similarity comparison. Quantitative and qualitative analyses compare it with earlier methods and examine semantic clustering.

Scope & authors

Scope & limitations

The study focuses on function-level similarity in disassembled binaries, including stripped binaries and multiple architectures.

Authors & citation

Luca Massarelli; Giuseppe Antonio Di Luna; Fabio Petroni; Leonardo Querzoni; Roberto Baldoni

BibTeX

3 sources · checked 

Neural Machine Translation Inspired Binary Code Similarity Comparison beyond Function Pairs

2019NDSS 2019Conference paper

INNEREYE uses NLP ideas to compare basic-block semantics across instruction set architectures and find whether a code fragment appears in other assembly code. It evaluates both tasks.

Scope & authors

Scope & limitations

Basic-block similarity is evaluated against existing approaches for accuracy, efficiency and scalability; cross-architecture code containment is examined through case studies.

Authors & citation

Fei Zuo; Xiaopeng Li; Patrick Young; Lannan Luo; Qiang Zeng; Zhexin Zhang

BibTeX

2 sources · checked 

ICSREF: A Framework for Automated Reverse Engineering of Industrial Control Systems Binaries

2019Proceedings 2019 Network and Distributed System Security SymposiumConference paper

ICSREF automates reverse engineering of PLC binaries compiled with CODESYS. It was evaluated on collected and in-house PLC binaries and used to generate an attack against a chemical process testbed.

Scope & authors

Scope & limitations

The evaluation covers CODESYS-compiled PLC binaries from public code repositories and in-house development, plus an attack orchestrated by a commercial smartphone against a chemical process testbed.

Authors & citation

Anastasis Keliris; Michail Maniatakos

BibTeX

2 sources · checked 

Coda: An End-to-End Neural Program Decompiler

2019NeurIPS 2019Conference paper

Coda decompiles the assembly of short functions into C in two phases. An instruction-type-aware N-ary Tree-LSTM encoder and an attention-fed AST decoder first generate a code sketch; an ensemble of neural error predictors then proposes token corrections, each kept only if recompiling the candidate does not increase its edit distance to the input assembly. On synthetic benchmarks the authors report 82% average program accuracy after correction, against 12% for a sequence-to-sequence baseline with attention.

Scope & authors

Scope & limitations

Training and test programs are randomly generated from Karel commands, math.h calls and arithmetic or logical expressions, in short and long variants (average length 15 and 30), 50,000 pairs per task, compiled without optimization: clang -O0 for the main MIPS results and gcc -O0 for an x86-64 appendix that reports sketch token accuracy only, about 6% lower on average. Real-world checks are small PyTorch C++ API model-construction and Hacker's Delight loop-free programs. Program accuracy requires an exact token match with the ground-truth source, the metric under which the paper reports 0% for conventional decompilers. Error correction assumes the compiler configuration is known, and token accuracy drops for longer programs. The results show neither optimized, whole-program nor binary-equivalent decompilation, and the paper names no author implementation.

Authors & citation

Cheng Fu; Huili Chen; Haolan Liu; Xinyun Chen; Yuandong Tian; Farinaz Koushanfar; Jishen Zhao

BibTeX

5 sources · checked 

Automating Patching of Vulnerable Open-Source Software Versions in Application Binaries

2019NDSS 2019Conference paper

OSSPATCHER matches OSS source patches to code in Android application binaries, checks patch feasibility, and applies function-level patches in memory.

Scope & authors

Scope & limitations

The evaluation covered 39 OSS projects and 1,000 Android applications, generating 675 function-level patches. It also assessed 10 vulnerabilities in popular apps using public exploits.

Authors & citation

Ruian Duan; Ashish Bijlani; Yang Ji; Omar Alrawi; Yiyuan Xiong; Moses Ike; Brendan Saltaformaggio; Wenke Lee

BibTeX

2 sources · checked 

A Cross-Architecture Instruction Embedding Model for Natural Language Processing-Inspired Binary Code Analysis

2018arXivPreprint

The paper learns instruction embeddings that capture semantic relationships within and across architectures. It evaluates them on semantic basic-block comparison, outperforming a code-statistics approach.

Scope & authors

Scope & limitations

Evaluates semantic basic-block comparison across architectures on disassembled binary code.

Authors & citation

Kimberly Redmond; Lannan Luo; Qiang Zeng

BibTeX

1 source · checked 

Malware Dynamic Analysis Evasion Techniques: A Survey

2018arXivPreprint

This survey reviews techniques malware uses to evade dynamic analysis. Those techniques limit sandboxes and instrumentation, which are standard tools when an analyst executes a binary to observe its behavior.

Scope & authors

Scope & limitations

The reviewed file is arXiv:1811.01190v1. Evasion techniques were not retested.

Authors & citation

Amir Afianian; Salman Niksefat; Babak Sadeghiyan; David Baptiste

BibTeX

3 sources · checked 

VulSeeker-pro: enhanced semantic learning based binary vulnerability seeker with emulation

2018ESEC/FSE '18Conference paper

VulSeeker-Pro ranks binary functions by learned semantic similarity, then uses function emulation to rerank candidates for known-vulnerability searches.

Scope & authors

Scope & limitations

Evaluated on 15 known CVE vulnerabilities across 6 programs, with 45 searches; it found 40 in the top result and 43 in the top five.

Authors & citation

Jian Gao; Xin Yang; Ying Fu; Yu Jiang; Heyuan Shi; Jiaguang Sun

BibTeX

2 sources · checked 

Debin: Predicting Debug Information in Stripped Binaries

2018ACM CCS 2018Conference paper

Debin predicts debug information for stripped ELF binaries on x86, x64 and ARM. After lifting code to BAP-IR, an Extremely randomized Trees classifier decides which registers and memory offsets hold source-level variables. A conditional random field, solved with Nice2Predict, then jointly predicts names and types for variables and functions, and the result is written back as DWARF sections. On 300 held-out binaries per architecture, the authors report 68.8% precision and 68.3% recall for x64 names and types.

Scope & authors

Scope & limitations

The dataset has 3,000 non-stripped executables and shared libraries per architecture from 830 Linux debug-symbol packages of C code built with default package settings, split 2,700/300 for training and testing. Accuracy evaluation assumes given function boundaries; for fully stripped inputs, BAP's ByteWeight infers them, which the paper cites as about 93% accurate. Debin predicts 17 types, and leaves struct and union contents, line numbers and formats such as PE outside the evaluation. A prediction counts only when it equals the original debug value. Models learned from compiler-generated, benign code may be less accurate on obfuscated binaries, hand-written assembly or malware. The 35-sample malware study is manual inspection of decompiled output with no accuracy figures, because the samples lack ground-truth debug information.

Authors & citation

Jingxuan He; Pesho Ivanov; Petar Tsankov; Veselin Raychev; Martin Vechev

BibTeX

8 sources · checked 

αDiff: cross-version binary code similarity detection with DNN

2018ASE '18Conference paper

αDiff compares binary functions across versions using a DNN trained on raw function bytes and features from function call graphs. It was evaluated on about 2.5 million samples.

Scope & authors

Scope & limitations

The evaluation covers cross-version binary code similarity in different detection settings, with comparisons against static solutions.

Authors & citation

Bingchang Liu; Wei Huo; Chao Zhang; Wenchao Li; Feng Li; Aihua Piao; Wei Zou

BibTeX

2 sources · checked 

VulSeeker: a semantic learning based vulnerability seeker for cross-platform binary

2018ASE '18Conference paper

VulSeeker builds semantic flow graphs and uses a neural model to embed binary functions, then compares them by cosine distance. It evaluated vulnerability search against Gemini.

Scope & authors

Scope & limitations

The work covers matching binary functions against known vulnerable functions across platforms, with results reported for top-10 and top-50 candidates, AUC, and accuracy.

Authors & citation

Jian Gao; Xin Yang; Ying Fu; Yu Jiang; Jiaguang Sun

BibTeX

2 sources · checked 

A deep learning approach to program similarity

2018MASES 2018Conference paper

The paper represents binaries as images and applies deep learning image classification to recognize similar code. It evaluates obfuscated binary variants with similar behavior and different syntax.

Scope & authors

Scope & limitations

The experiments cover binary variants produced by code obfuscation and focus on the mapping from executables to images.

Authors & citation

Niccolò Marastoni; Roberto Giacobazzi; Mila Dalla Preda

BibTeX

2 sources · checked 

BCD: Decomposing Binary Code Into Components Using Graph-Based Clustering

2018ASIA CCS '18Conference paper

BCD builds a graph of executable functions using code locality, data references, and calls, then partitions it into components. It evaluated recovery of class methods in 25 C++ binaries.

Scope & authors

Scope & limitations

The evaluation covers class-method recovery in 25 C++ binary programs.

Authors & citation

Vishal Karande; Swarup Chandra; Zhiqiang Lin; Juan Caballero; Latifur Khan; Kevin Hamlen

BibTeX

2 sources · checked 

Meaningful variable names for decompiled code: A Machine Translation Approach

2018ICPC '18Conference paper

Treats decompiler output as a noisy version of source code and uses statistical machine translation to assign natural local variable names. It evaluates recovery of original names.

Scope & authors

Scope & limitations

The work focuses on local variable names in decompiled C code. Its models use a parallel corpus generated from GitHub C source code and a language model trained on unmodified C code.

Authors & citation

Alan Jaffe; Jeremy Lacomis; Edward J. Schwartz; Claire Le Goues; Bogdan Vasilescu

BibTeX

2 sources · checked 

A Survey of Symbolic Execution Techniques

2018ACM Computing SurveysJournal article

This survey reviews symbolic execution techniques for checking whether a program property holds across possible executions. Those techniques are widely used in binary analysis, vulnerability discovery, and test generation.

Scope & authors

Scope & limitations

The journal date is 2018-05-23, the date Crossref records for the article. The fetched full text is arXiv:1610.00502v3, whose header says 2 May 2018 and is not substituted for the journal date. The 2016 first arXiv date is kept as preprint history.

Authors & citation

Roberto Baldoni; Emilio Coppa; Daniele Cono D’elia; Camil Demetrescu; Irene Finocchi

BibTeX

4 sources · checked 

Statistical Reconstruction of Class Hierarchies in Binaries

2018ASPLOS '18Conference paper

ROCK infers class hierarchies in stripped C++ binaries using behavioral similarity between types, measured with statistical language models and Kullback–Leibler divergence.

Scope & authors

Scope & limitations

The evaluation covers class hierarchy reconstruction in several real-world stripped C++ binaries, compared with structural analysis alone.

Authors & citation

Omer Katz; Noam Rinetzky; Eran Yahav

BibTeX

2 sources · checked 

Beyond Precision and Recall: Understanding Uses (and Misuses) of Similarity Hashes in Binary Analysis

2018CODASPY '18Conference paper

Evaluates four fuzzy hashing algorithms for detecting shared code and libraries in binary programs, and explains how compilation details affect similarity scores.

Scope & authors

Scope & limitations

Covers statically compiled files and their libraries, different compiler flags and compilers, and programs sharing substantial source code.

Authors & citation

Fabio Pagani; Matteo Dell'Amico; Davide Balzarotti

BibTeX

2 sources · checked 

FOSSIL: A Resilient and Efficient System for Identifying FOSS Functions in Malware Binaries

2018ACM Transactions on Privacy and SecurityJournal article

FOSSIL identifies FOSS functions and packages in binaries using opcode statistics, control-flow graphs, instruction scores, and a Bayesian network. It evaluates known projects and malware binaries.

Scope & authors

Scope & limitations

The evaluation covers three datasets: projects with known FOSS packages, malware described in security and reverse-engineering reports, and a large malware repository.

Authors & citation

Saed Alrabaee; Paria Shirani; Lingyu Wang; Mourad Debbabi

BibTeX

2 sources · checked 

Binary Similarity Detection Using Machine Learning

2018PLAS '18Conference paper

Zeek splits binary procedures into comparable fragments, converts them to vectors, and uses machine learning to detect similar procedures across compilers and architectures.

Scope & authors

Scope & limitations

The evaluation searched for similar procedures in open-source projects crawled from the web and reported 250× the speed of state-of-the-art tools without reducing accuracy.

Authors & citation

Noam Shalev; Nimrod Partush

BibTeX

2 sources · checked 

When Coding Style Survives Compilation: De-anonymizing Programmers from Executable Binaries

2018NDSS 2018Conference paper

Uses decompiled code and assembly features to identify programmers from executable binaries; reports up to 96% accuracy with 100 candidates and 83% with 600.

Scope & authors

Scope & limitations

Evaluated on Google Code Jam programs, obfuscated binaries, compiler optimization settings, stripped binaries, and code from single-author GitHub repositories and Nulled.IO.

Authors & citation

Aylin Caliskan; Fabian Yamaguchi; Edwin Dauber; Richard Harang; Konrad Rieck; Rachel Greenstadt; Arvind Narayanan

BibTeX

2 sources · checked 

Evolving Exact Decompilation

2018BAR 2018Conference paper

An evolutionary search combines human-written C code excerpts to produce source that recompiles to a byte-equivalent executable. The paper reports experimental results for this approach.

Scope & authors

Scope & limitations

The work focuses on C decompilation of binary executables using excerpts from a large code database.

Authors & citation

Eric Schulte; Jason Ruchti; Matt Noonan; David Ciarletta; Alexey Loginov

BibTeX

2 sources · checked 

BinPro: A Tool for Binary Source Code Provenance

2017arXivPreprint

BinPro uses static analysis and learned code features to match binaries to source code. It reports average similarity of 81% for matching applications and 25% for similar but different ones.

Scope & authors

Scope & limitations

The evaluation compares binaries and source code from the same applications and from similar but different applications, across compiler and optimization settings.

Authors & citation

Dhaval Miyani; Zhen Huang; David Lie

BibTeX

1 source · checked 

Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection

2017CCS '17Conference paper

Gemini embeds binary functions' control-flow graphs as vectors for cross-platform similarity detection. It evaluates accuracy, embedding and training speed, and vulnerability search in firmware.

Scope & authors

Scope & limitations

The work focuses on similarity between binary functions across platforms, with a firmware vulnerability-search case study.

Authors & citation

Xiaojun Xu; Chang Liu; Qian Feng; Heng Yin; Le Song; Dawn Song

BibTeX

2 sources · checked 

Similarity of binaries through re-optimization

2017PLDI '17Conference paper

GitZ splits stripped binary procedures into fragments, re-optimizes them into normalized forms, and combines fragment matches statistically. Its evaluation reports efficient millions of comparisons and high accuracy.

Scope & authors

Scope & limitations

The work focuses on procedure similarity in stripped binaries compiled with different compilers, optimization levels, or target architectures.

Authors & citation

Yaniv David; Nimrod Partush; Eran Yahav

BibTeX

2 sources · checked 

Extracting Conditional Formulas for Cross-Platform Bug Search

2017ASIA CCS '17Conference paper

XMATCH extracts conditional formulas from binary code to search for bugs across platforms and give analysts evidence about data dependencies and condition checks.

Scope & authors

Scope & limitations

The evaluation covers OpenSSL, BusyBox, and five recent vulnerabilities, comparing search accuracy with existing techniques and examining whether matched candidates are vulnerable or patched.

Authors & citation

Qian Feng; Minghua Wang; Mu Zhang; Rundong Zhou; Andrew Henderson; Heng Yin

BibTeX

2 sources · checked 

BinSequence: Fast, Accurate and Scalable Binary Code Reuse Detection

2017ASIA CCS '17Conference paper

BinSequence matches assembly functions using basic-block and execution-path subsequences, neighborhood exploration, and Minhash filtering. It reports over 90% similarity-ranking accuracy.

Scope & authors

Scope & limitations

The evaluation uses an assembly-code repository with millions of functions; the paper also presents patch analysis, malware analysis, and bug search use cases.

Authors & citation

He Huang; Amr M. Youssef; Mourad Debbabi

BibTeX

2 sources · checked 

rev.ng: A Unified Binary Analysis Framework to Recover CFGs and Function Boundaries

2017CC 2017Conference paper

rev.ng lifts binaries to LLVM IR through QEMU's tiny code generator, so one front end covers every architecture QEMU supports and the output is compilable IR. On that IR the authors build architecture-independent analyses that recover a program's control-flow graph and function boundaries without symbols or debugging information. A value-range analysis (OSRA) bounds indirect jump targets such as switch tables, and further analyses handle predicated instructions, noreturn functions, tail calls and context-dependent control flow. On coreutils built for MIPS, ARM and x86-64 with GCC and clang at -O2, -O3 and -Os, its function-boundary accuracy is close to IDA Pro and better than BAP/ByteWeight and angr.

Scope & authors

Scope & limitations

The evaluation measures function boundaries, not the CFG directly: the authors could not collect CFG ground truth from GCC or LLVM, so boundary accuracy (Jaccard index against ELF function symbols) is presented as a lower bound on CFG quality. It covers 105 statically linked, stripped coreutils programs for Linux on three of the architectures QEMU supports; the other architectures and dynamically linked binaries were not evaluated. The prototype misses some nested-switch jump tables on x86-64 and jump-table addresses spilled to the stack on MIPS, needs more memory than the other tools on ARM and MIPS, and does not report dead code that IDA Pro finds through prologue heuristics, which the authors treat as a design choice. Baselines are IDA Pro 6.6, BAP 0.9.9 and angr as of November 2016. The paper does not decompile to C.

Authors & citation

Alessandro Di Federico; Mathias Payer; Giovanni Agosta

BibTeX

5 sources · checked 

Ramblr: Making Reassembly Great Again

2017NDSS 2017Conference paper

Ramblr produces reassembleable disassembly: assembly recovered from a stripped binary that can be edited and assembled again with an off-the-shelf assembler. Starting from angr's CFG recovery, it classifies the contents of data regions, then decides which immediates and data values are references to code or data that must become symbols. Base-pointer reattribution handles compiler-optimized references that point outside their target object, and sanity checks let Ramblr refuse to reassemble a binary it cannot handle safely, such as one that encrypts pointers. The authors evaluate 106 GNU Coreutils programs for x86 and x86-64 and 143 DARPA Cyber Grand Challenge binaries at six optimization levels. They report that Uroboros broke 22.64% of 32-bit Coreutils binaries at -O0 and 56.61% at -O1, while Ramblr broke none, and that Ramblr reassembled over 98% of CGC binaries at every level.

Scope & authors

Scope & limitations

The prototype handles x86 and x86-64 ELF binaries produced by GCC or Clang, whose code regions contain no inline data; binaries from compilers such as MSVC, which place jump tables inline, need further work. The authors stress that static content classification is infeasible in general: Ramblr is an empirical approach that is likely to fail if, for example, a binary is linked at a base address chosen so its addresses collide with ordinary constants. The Uroboros comparison covers only 32-bit binaries and, on Coreutils, only -O0 and -O1, because Uroboros failed on 64-bit inputs and its failure rate above -O1 was not meaningful. Correctness is measured by symbolization against linker ground truth and by each program's test cases; full equivalence remains unverified. Results are from 2017 versions of angr and the evaluated toolchains.

Authors & citation

Ruoyu Wang; Yan Shoshitaishvili; Antonio Bianchi; Aravind Machiry; John Grosen; Paul Grosen; Christopher Kruegel; Giovanni Vigna

BibTeX

4 sources · checked 

BinGo: cross-architecture cross-OS binary search

2016FSE'16Conference paper

BinGo searches binaries for semantically similar functions using selective inlining, function filtering, and partial traces. Experiments cover different architectures, operating systems, and program structures.

Scope & authors

Scope & limitations

The evaluation focuses on binary function search across architectures and operating systems, including distorted program structures; BinGo also found a zero-day vulnerability in Adobe PDF Reader.

Authors & citation

Mahinthan Chandramohan; Yinxing Xue; Zhengzi Xu; Yang Liu; Chia Yuan Cho; Hee Beng Kuan Tan

BibTeX

2 sources · checked 

Kam1n0: MapReduce-based Assembly Clone Search for Reverse Engineering

2016KDD '16Conference paper

Kam1n0 combines a variant of locality-sensitive hashing with graph matching to find assembly function subgraph clones. Experiments evaluate its accuracy, efficiency, and scalability on large assembly code repositories.

Scope & authors

Scope & limitations

The work focuses on searching for assembly function subgraph clones in large assembly code repositories.

Authors & citation

Steven H.H. Ding; Benjamin C.M. Fung; Philippe Charland

BibTeX

2 sources · checked 

Binary code is not easy

2016ISSTA '16Conference paper

The paper presents Dyninst parsing methods for jump tables, non-returning functions, and tail calls. It evaluates tool kits on real software and test binaries built around challenging code constructs.

Scope & authors

Scope & limitations

The study focuses on control-flow graphs and function-boundary annotations in binary code.

Authors & citation

Xiaozhu Meng; Barton P. Miller

BibTeX

2 sources · checked 

Statistical similarity of binaries

2016ACM SIGPLAN NoticesJournal article

Esh compares procedures in stripped binaries by decomposing code into fragments, comparing their semantics, and using statistical reasoning to assess procedure similarity. It was evaluated through vulnerability searches across compilers and versions.

Scope & authors

Scope & limitations

The work focuses on finding similar procedures in stripped binaries, including code compiled with different compilers or modified across versions.

Authors & citation

Yaniv David; Nimrod Partush; Eran Yahav

BibTeX

2 sources · checked 

Type Inference on Executables

2016ACM Computing SurveysJournal article

Surveys binary code type inference, covering its applications, approaches, inferred types, implementations, and how inference results are evaluated.

Scope & authors

Scope & limitations

Focuses on inferring typed variables from executables and surveys the field’s limitations, open challenges, and potential applications.

Authors & citation

Juan Caballero; Zhiqiang Lin

BibTeX

2 sources · checked 

SoK: (State of) The Art of War: Offensive Techniques in Binary Analysis

20162016 IEEE Symposium on Security and Privacy (SP)Conference paper

Presents a framework that combines existing binary analysis techniques so researchers can compose and compare them. It evaluates the techniques on a DARPA dataset for binary vulnerability analysis.

Scope & authors

Scope & limitations

The paper focuses on offensive binary vulnerability analysis and evaluates its framework using a DARPA dataset.

Authors & citation

Yan Shoshitaishvili; Ruoyu Wang; Christopher Salls; Nick Stephens; Mario Polino; Andrew Dutcher; John Grosen; Siji Feng; Christophe Hauser; Christopher Kruegel; Giovanni Vigna

BibTeX

3 sources · checked 

Polymorphic Type Inference for Machine Code

2016arXivPreprint

Retypd infers types from machine code using recursive types, polymorphism, and subtyping. It reports more accurate types than existing algorithms and 98% recall for pointer const annotations.

Scope & authors

Scope & limitations

The work focuses on type reconstruction from stripped machine code and examines operation on program representations with weaker points-to information.

Authors & citation

Matthew Noonan; Alexey Loginov; David Cok

BibTeX

1 source · checked 

Scalable data structure detection and classification for C/C++ binaries

2015Empirical Software EngineeringJournal article

MemPick tracks how links between memory objects change during execution to detect and classify lists, trees, and graphs in stripped C/C++ binaries.

Scope & authors

Scope & limitations

The evaluation covers 10 real-world applications, 4 file system implementations, and 16 popular libraries.

Authors & citation

Istvan Haller; Asia Slowinska; Herbert Bos

BibTeX

3 sources · checked 

No More Gotos: Decompilation Using Pattern-Independent Control-Flow Structuring and Semantics-Preserving Transformations

2015NDSS 2015Conference paper

DREAM is a decompiler whose control-flow structuring recovers loops, conditionals and switch statements from a recovered control-flow graph without matching predefined region patterns. For acyclic regions it computes each node's reaching condition, then refines the resulting conditions into if-then-else and switch constructs; cyclic regions are structured as loops whose type and continuation condition are inferred. Semantics-preserving transformations first rewrite cyclic regions with multiple entries or successors into single-entry, single-successor regions, and a Boolean variable keeps a repeated test equivalent when its operands may change. On GNU coreutils the authors report no goto statements, against thousands from Hex-Rays and Phoenix, and more compact code than Hex-Rays for 72.7% of functions and than Phoenix for 98.8% in one-to-one comparisons.

Scope & authors

Scope & limitations

Correctness was measured on source-level control-flow graphs: the authors extracted CFGs of the preprocessed coreutils 8.22 source with joern, restructured the 1,530 functions joern parsed (208 of 1,738 failed to parse), recompiled and passed the coreutils tests. That experiment checks source-level control-flow-graph structuring; binary decompilation and variable or type recovery were outside the experiment. Structuredness and compactness were measured on the coreutils 8.17 binaries from the Phoenix evaluation, using functions decompiled by all three tools, with line counts as the compactness metric. Phoenix was unreleased, so its output came from its authors, and the 2014 Hex-Rays v2.0.0.140605 baseline is long superseded. The malware case studies cover one sample each from ZeusP2P, SpyEye and Cridex and compare against Hex-Rays only. The authors leave open whether more compact code is always easier to understand. The paper links no implementation; results reflect the evaluated 2014 decompiler versions.

Authors & citation

Khaled Yakdan; Sebastian Eschweiler; Elmar Gerhards-Padilla; Matthew Smith

BibTeX

3 sources · checked 

Semantics-based obfuscation-resilient binary code similarity comparison with applications to software plagiarism detection

2014SIGSOFT/FSE'14Conference paper

Compares binary code using symbolic formulas for basic-block behavior and longest common subsequences of semantically equivalent blocks. A prototype was evaluated on real-world software.

Scope & authors

Scope & limitations

The evaluation covers a prototype applied to real-world software for obfuscation-resilient plagiarism detection.

Authors & citation

Lannan Luo; Jiang Ming; Dinghao Wu; Peng Liu; Sencun Zhu

BibTeX

2 sources · checked 

Tracelet-based code search in executables

2014PLDI '14Conference paper

The paper matches binary functions using short partial execution traces and constraint-based rewriting. It evaluates matches across over a million binary functions and compares precision and recall with n-grams and graphlets.

Scope & authors

Scope & limitations

The work covers static similarity search for functions in executables, including matching registers and memory addresses across tracelets.

Authors & citation

Yaniv David; Eran Yahav

BibTeX

2 sources · checked 

Function matching-based binary-level software similarity calculation

2013RACS'13Conference paper

Matches binary functions using call-graph structure, then instruction-mnemonic N-grams. It reports improved matching performance and compares similarity results with source-code approaches on real software.

Scope & authors

Scope & limitations

The evaluation covers function matching and similarity calculation on real software samples, including a comparison with source-code approaches.

Authors & citation

Yeo Reum Lee; BooJoong Kang; Eul Gyu Im

BibTeX

2 sources · checked 

Scalable variable and data type detection in a binary rewriter

2013PLDI '13Conference paper

Static analyses recover variables, data types, and function prototypes from stripped x86 executables. On SPEC2006, they averaged 352× faster than existing techniques at the same precision.

Scope & authors

Scope & limitations

The work covers stripped x86 executables and evaluates the techniques on the complete SPEC2006 benchmark suite.

Authors & citation

Khaled ElWazeer; Kapil Anand; Aparna Kotha; Matthew Smithson; Rajeev Barua

BibTeX

2 sources · checked 

Fast location of similar code fragments using semantic 'juice'

2013PPREW '13Conference paper

BinJuice symbolically interprets binary blocks, generalizes their semantics into canonical templates, and compares templates or hashes to locate similar code fragments.

Scope & authors

Scope & limitations

The method analyzes individual binary blocks. Preliminary evaluation pairs code variants produced by post-compile obfuscation.

Authors & citation

Arun Lakhotia; Mila Dalla Preda; Roberto Giacobazzi

BibTeX

2 sources · checked 

BinSlayer: accurate comparison of binary executables

2013PPREW '13Conference paper

BinSlayer combines BinDiff with Hungarian bipartite graph matching to compare binaries and computes a graph-edit-distance similarity metric. It evaluates matching accuracy against the standard approach.

Scope & authors

Scope & limitations

The evaluation covers matching accuracy for binary comparison.

Authors & citation

Martial Bourquin; Andy King; Edward Robbins

BibTeX

2 sources · checked 

Obfuscation resilient binary code reuse through trace-oriented programming

2013CCS '13Conference paper

TOP reconstructs C code from binary execution traces using templates and inline assembly. A proof-of-concept was evaluated on benign and malicious software for malware analysis and binary function transplanting.

Scope & authors

Scope & limitations

The evaluation covers a proof-of-concept implementation and a range of benign and malicious software.

Authors & citation

Junyuan Zeng; Yangchun Fu; Kenneth A. Miller; Zhiqiang Lin; Xiangyu Zhang; Dongyan Xu

BibTeX

2 sources · checked 

Labeling library functions in stripped binaries

2011PASTE '11Conference paper

The paper uses semantic descriptors to identify library functions in stripped binaries. Its unstrip tool adds recovered names to the symbol table and is evaluated against existing fingerprinting techniques.

Scope & authors

Scope & limitations

The implementation and evaluation focus on wrapper functions in the GNU C library.

Authors & citation

Emily R. Jacobson; Nathan Rosenblum; Barton P. Miller

BibTeX

2 sources · checked 

Enhanced structural analysis for C code reconstruction from IR code

2011SCOPES '11Conference paper

Mirtoc recovers C control-flow structures from CCMIR. A compiler using it emits readable, structured C that a back-end compiler can compile with relatively low overhead.

Scope & authors

Scope & limitations

The analysis targets medium-level IR, with Mirtoc implemented for CCMIR in ACE’s CoSy compiler framework and used in a source-to-source flow.

Authors & citation

Felix Engel; Rainer Leupers; Gerd Ascheid; Max Ferger; Marcel Beemster

BibTeX

2 sources · checked 

Mapping kernel objects to enable systematic integrity checking

2009CCS '09Conference paper

KOP maps dynamic kernel objects by resolving generic pointers, unions, and dynamic arrays. On Windows Vista SP1 with 63 drivers, it mapped 99% of dynamic kernel data.

Scope & authors

Scope & limitations

The evaluation used Windows Vista SP1 with 63 kernel drivers and tested integrity-checking tools on nine real-world malware samples and one created by the authors.

Authors & citation

Martim Carbone; Weidong Cui; Long Lu; Wenke Lee; Marcus Peinado; Xuxian Jiang

BibTeX

2 sources · checked 

Type-Based Decompilation (or Program Reconstruction via Type Reconstruction)

1999ESOP '99Conference paper

The system converts machine instructions to register-transfer form and SSA, then infers types to reconstruct C code, including recursive structs. It uses casts, unions, and heuristics to resolve ambiguities.

Scope & authors

Scope & limitations

The work covers reconstruction of C programs from target machine code using register-transfer specifications and type constraints.

Authors & citation

Alan Mycroft

BibTeX

3 sources · checked 

A pragmatic look at decompilers

1974ACM '74Conference paper

The paper compares literal translation with resystemization, which lists data structures and program flow to guide rewriting an assembler-language program in a higher-level language.

Scope & authors

Scope & limitations

The discussion centers on assembler-to-higher-level-language conversion, considering conversion time and the efficiency of the converted program.

Authors & citation

Maria F. Weller

BibTeX

2 sources · checked 

A methodology for machine language decompilation

1974ACM 74Conference paper

The paper maps machine-language instructions to a high-level representation and then translates that representation into a target language. It implemented an experimental decompiler from MIXAL to PL/1.

Scope & authors

Scope & limitations

The implementation covers Knuth's MIXAL assembly language as input and PL/1 as output.

Authors & citation

Barron C. Housel; Maurice H. Halstead

BibTeX

2 sources · checked 

Website reconstruction

31 papers

PrismaCoder: Pushing the Boundaries of Open Multimodal Code Intelligence through Decomposed Rubric Synthesis

2026arXivPreprint

Trains visual-code models using separate code and rendered-output rubrics for data filtering and reinforcement learning. Relevant evaluations include rebuilding webpages, charts and vector graphics from images.

Scope & authors

Scope & limitations

Combines visual reconstruction with text-driven generation. Judge scores leave behavioral equivalence unverified. Training and evaluation share some judge families; the human check uses 100 samples. Instruction n-gram filtering cannot exclude all pretraining exposure.

Authors & citation

Qiushi Sun; Jingyang Gong; Yang Liu; Qiaosheng Chen; Zhangyue Yin; Zixian Huang; Hanxu Hu; Jing Xiong; Fangzhi Xu; Haochen Tan; Haoli Bai; Lifeng Shang; Xiaoguang Li; Ben Kao; Qipeng Guo; Lingpeng Kong; Jiahui Gao

BibTeX

7 sources · checked 

State-Aware Generation of Deployable Websites from Visual Prototypes and Requirements

2026arXivPreprint

VisStateCoder links visual prototype elements, project files, interaction requirements and render evidence in a project state graph, then uses those links to generate websites and limit subsequent repairs to selected files.

Scope & authors

Scope & limitations

Requires visual prototypes and textual workflow requirements. The five-model Vision2Web evaluation covers up to seven-page HTML/CSS/JavaScript sites with an optional Node.js server; larger projects and React/Vue are untested. Each configuration runs once, without variance or significance estimates. Internal repair checks do not execute interaction workflows; functional scores come from separate benchmark tests. Visual judges and incomplete tests limit conclusions about behavior, maintainability and accessibility.

Authors & citation

Ruwei Pan; Junlei Shen; Linhao Wu; Zixiong Yang; Qisheng Zhang; Yifan Li; Tianyu Ma; Yakun Zhang; Lu Zhang; Hongyu Zhang

BibTeX

3 sources · checked 

TaoD2C-Bench: Benchmarking MLLMs for Industrial UI Code Generation Beyond Visual Fidelity

2026arXivPreprint

TaoD2C-Bench reconstructs interfaces from design images, layer metadata and component-library documentation. It separates requirement inference from implementation, checking component choices and layout relations through source/runtime evidence alongside rendered appearance.

Scope & authors

Scope & limitations

Eight models are evaluated on 421 designs, not the full 2,861-design collection. Results include specified retries and one output-repair attempt. The tasks assess component/layout constraints and visual fidelity, not complete application behavior; all designs come from one commercial ecosystem.

Authors & citation

Chengwei Shi; Yunnong Chen; Tingting Zhou; Qiang Lu; Shiyu Yue; Xinyuan Hu; Jianfang Ru; Liuqing Chen

BibTeX

4 sources · checked 

Vision2Web: A Hierarchical Benchmark for Visual Website Development with Agent Verification

2026ICML 2026Conference paper

Benchmarks website development from visual prototypes and written requirements across 100 static-page, 66 interactive-frontend and 27 full-stack tasks, combining workflow-based functional checks with model-judged visual comparison.

Scope & authors

Scope & limitations

The full-stack tier is driven by explicit specifications; live-website exploration alone is outside its method. Workflows test state management and CRUD outcomes through finite agent judgments; exact backend and durable-database equivalence remains outside their scope. The current public evaluator maintains a browser session within each workflow and permits local business-API checks.

Authors & citation

Zehai He; Wenyi Hong; Zhen Yang; Ziyang Pan; Mingdao Liu; Xiaotao Gu; Jie Tang

BibTeX

11 sources · checked 

IChart2Code: Benchmarking Multimodal Large Language Models for Interactive Chart Code Generation

2026arXivPreprint

Benchmarks reconstruction of interactive charts from a reference screenshot, local data and specified actions. Its TRAIL framework uses Developer and Inspector agents with browser interaction traces to diagnose errors and revise the HTML/JavaScript implementation.

Scope & authors

Scope & limitations

Covers 377 single-file HTML/JavaScript tasks with supplied data and explicit interaction requirements. Four models are evaluated with at most one repair round. Failing the Executability gate gives zero on scored dimensions; other rubric judgments use an MLLM, with human validation on 200 Direct outputs from 100 tasks and two models. Finite interactions and judge agreement leave complete application equivalence and recovery of hidden data and unspecified behavior unverified.

Authors & citation

Xu Zhang; Hongzhang Zheng; Zhili Huang; Yaoyi Wang; Ling Xu; Sheng Huang

BibTeX

3 sources · checked 

Stage-Supervised Latent Reasoning for Single-Shot JavaScript Deobfuscation

2026arXivPreprint

Uses intermediate Webcrack rewrites to supervise Coconut-style latent reasoning for JavaScript deobfuscation. Training exposes staged code transformations; inference receives obfuscated code and generates a cleaned program in one shot.

Scope & authors

Scope & limitations

A work-in-progress study of one 3B backbone: 100 programs sampled from the 300 smallest benchmark inputs, split 60/20/20. Of 20 test outputs, 10 parsed and 8 matched teacher-derived outputs; the reported 80% is conditional on valid syntax. Semantic checks include manual inspection; stronger baselines and stage ablations remain future work.

Authors & citation

Rong Feng; Suman Saha

BibTeX

3 sources · checked 

ProgramDistill: From Interactive Web Apps to Verifiable Reference-Guided SWE Tasks

2026arXivPreprint

Evaluates recovery of web-app behavior from a live reference with hidden source. It provides 4,063 feature-restoration tasks across 26 applications and a separate 12-application reconstruction setting, scored by replaying dependent browser workflows.

Scope & authors

Scope & limitations

Tests cover finite, model-mined behaviors in self-contained apps, including SaaS clones. Replayed workflows can detect persistence failures in the tested behaviors; backend and database invariants beyond those behaviors remain untested. Evaluated agents receive structured browser observations without screenshots; visual fidelity is not measured. Public verifiers and reference solutions leave the test set open to contamination.

Authors & citation

Jeonghye Kim; Minseon Kim; Young Jin Kim; Matheus Pereira; Marc-Alexandre Côté; Alessandro Sordoni; Xingdi Yuan; Zhengyan Shi

BibTeX

11 sources · checked 

WebWorld: The Browser as a World Model for Self-Improving Web Code

2026arXivPreprint

Uses typed browser interaction contracts to check progress and preserve previously verified capabilities while improving generated web code. Only accepted transitions become training examples.

Scope & authors

Scope & limitations

The study concerns web-code generation and self-improvement; original-source recovery was outside its scope. Acceptance covers declared interactions and preserved capabilities; equivalence to an arbitrary original application was outside the acceptance test. Distinct from the other WebWorld web-simulator paper.

Authors & citation

Authors: see the paper

BibTeX

1 source · checked 

Does It Render Everywhere? A Study of Cross-Environment Compatibility in MLLM-Generated Webpages

2026arXivPreprint

WebCompat evaluates screenshot-reconstructed webpages across browsers and devices. Its XCompat detector combines rendered DOM geometry, viewport metadata and screenshots to identify layout and element failures, independently of similarity to the original design.

Scope & authors

Scope & limitations

Filtering retains 254 static pages from 480 generations, producing 2,032 comparison pairs. The held-out detector test uses 51 pages/408 pairs. Failed renders and interaction-dependent layouts are excluded; heuristic errors and subjective design intent limit generalization to dynamic sites or every environment.

Authors & citation

Ziyun Guo; Jingyu Xiao; Yuqiang Sun; Yintong Huo

BibTeX

4 sources · checked 

UI2App: Benchmarking Visual Interaction Inference in Executable Web Application Generation

2026arXivPreprint

UI2App evaluates runnable React/TypeScript applications generated from 600 screenshots across 95 web applications. It separates build executability, visual fidelity and screenshot-implied interaction behavior, including cross-route state, using a reference interaction taxonomy and public evaluation pipeline.

Scope & authors

Scope & limitations

Static screenshots underdetermine behavior; the rubric accepts multiple valid implementations; equivalence to the original application or backend lies outside the rubric. Auto IIS judges generated source and screenshots without tool execution; human runtime validation covers a 45-application subset. Cross-route state is not necessarily durable persistence across reloads or sessions. Main results use one generation per application-model pair, with repeated runs on a subset.

Authors & citation

Grace Man Chen; Litao Guo; Yifan Wu; Yiyu Chen; Yenchi Tseng; Sicheng Liu; Yuyu Luo; Ying-Cong Chen

BibTeX

10 sources · checked 

Dashboard2Code: Evaluating Multimodal Models on Reconstructing Interactive Dashboards

2026ACL 2026Conference paper

Evaluates agents that actively explore a running dashboard and reconstruct its appearance and interaction logic. DashboardMimic provides 180 Plotly+Dash examples, with code-semantic analysis and dynamic interaction tests for the generated implementations.

Scope & authors

Scope & limitations

Limited to Plotly+Dash dashboards, including model-augmented examples. Some settings expose DOM information and evaluation uses model judges. The benchmark covers dashboard reconstruction; general backend recovery remains outside its scope. The linked dataset requires accepting access conditions and sharing contact information.

Authors & citation

Tianhao Niu; Ziyu Han; Qiguang Chen; Shiqi Zhou; Baocai Shan; Hengjie Fang; Qingfu Zhu; Wanxiang Che

BibTeX

7 sources · checked 

UniCoder: Unified Visual-to-Code Generation via Symbolic Rewards and Reference-Guided Code Optimization

2026arXivPreprint

UniCoder trains a visual-to-code model for charts, SVGs and webpages. Its reinforcement-learning objective combines rendering checks, image similarity and code-derived visual attributes; low-reward training groups receive reference-code trajectories to improve exploration.

Scope & authors

Scope & limitations

Experiments concern static visual reconstruction with one 8B backbone, including Design2Code and ScreenBench. Reference code is used during training; the evaluation measures static visual rendering. Extending the attribute extractor to new domains requires new schemas/prompts. Interactive interfaces, animation and mobile-app behavior are not evaluated.

Authors & citation

Yaozhi Zheng; Yilei Jiang; Manyuan Zhang; Yuxuan Wan; Kaituo Feng; Tianshuo Peng; Bo Zhang; Xiangyu Yue

BibTeX

6 sources · checked 

CASCADE: LLM-powered JavaScript Deobfuscator at Google

2026ICSE-SEIP 2026Conference paper

Uses Gemini to locate the prelude functions that Obfuscator.IO inserts for string obfuscation, then applies constant-propagation and inlining passes in the JSIR compiler IR to restore string literals and API names deterministically.

Scope & authors

Scope & limitations

The method addresses Obfuscator.IO string obfuscation; control-flow flattening, other obfuscators and an agent-based design are future work. Evaluation obfuscates 3,000 programs from the ETH 150k JavaScript dataset with four Obfuscator.IO presets and measures prelude detection, recovered literals and run time, not functional equivalence. Production deployment and scan volume are author-reported, and production pre-filtering uses a proprietary YARA rule.

Authors & citation

Shan Jiang; Pranoy Kovuri; David Tao; Zhixun Tan

BibTeX

7 sources · checked 

ScreenCoder: Advancing Visual-to-Code Generation for Front-End Automation via Modular Multimodal Agents

2026EMNLP 2026Conference accepted

Splits screenshot-to-code generation among grounding, planning and generation agents that label UI regions, build a hierarchical layout tree and write HTML/CSS. The pipeline also produces the Screen-10K training pairs used for supervised and reinforcement fine-tuning, and the paper introduces the 1,000-page ScreenBench.

Scope & authors

Scope & limitations

Output is static HTML/CSS layout; interaction, JavaScript behavior and backend logic are not reconstructed. Results are visual-similarity scores (CLIP and OCR-matched text blocks) on ScreenBench and Design2Code; code-level and functional equivalence are outside these measures. The released pipeline calls a hosted model API, Doubao by default. The described text is arXiv v2; the accepted EMNLP version may differ.

Authors & citation

Yilei Jiang; Yaozhi Zheng; Yuxuan Wan; Jiaming Han; Qunzhong Wang; Michael R. Lyu; Xiangyu Yue

BibTeX

8 sources · checked 

IWR-Bench: Can LVLMs reconstruct interactive webpage from a user interaction video?

2026ICLR 2026Conference paper

Tests reconstruction of interactive webpages from user-interaction videos and supplied static assets. Its 113 tasks replay annotated action sequences to assess visual fidelity and functional behavior across observed page states.

Scope & authors

Scope & limitations

The required output is one HTML file; the paper explicitly instructs models to mock implied backend logic with static JavaScript data. Trajectory coverage and model-based judgments evaluate that single-page output; complete-website and backend equivalence remain unverified.

Authors & citation

Yang Chen; Minghao Liu; Yufan Shen; Yunwen Li; Tianyuan Huang; Xinyu Fang; Tianyu Zheng; Wenxuan Huang; Cheng Yang; Daocheng Fu; Jianbiao Mei; Rong Wu; Licheng Wen; Xuemeng Yang; Song Mao; Qunshu Lin; Zhi Yu; Yongliang Shen; Yu Qiao; Botian Shi

BibTeX

7 sources · checked 

From Obfuscated to Obvious: A Comprehensive JavaScript Deobfuscation Tool for Security Analysis

2026NDSS 2026Conference paper

JSimplifier recovers readable JavaScript from obfuscated scripts in three stages. A preprocessor normalizes malformed or mixed-encoding input; a deobfuscator combines AST-based static simplification with selective execution of obfuscated call sites in a Node.js vm context, feeding the results back into the AST; and an optional humanizer renames identifiers with an LLM, adapting HumanifyJS, then formats the output with Prettier. The authors catalog 20 obfuscation techniques in four categories and assemble MalJS (23,212 malicious scripts) and BenignJS (21,209 scripts). They report that JSimplifier processes all 44,421 samples and reduces Halstead length by 88.2% on 1,296 multi-technique JsDeObsBench samples.

Scope & authors

Scope & limitations

The headline “100% correctness” is syntactic validity on 400 samples (100 BenignJS, 300 MalJS) checked by parser and by hand; behavioral consistency, judged with Joern CFG/DDG comparison and manual review, holds for 83 of 100 samples. The 20-technique capability test applies each technique to one representative snippet, and the static and dynamic stages alone handle 19; identifier renaming needs the LLM stage. Readability gains come from four LLMs (Claude 3.7 Sonnet, Gemini 2.5 Pro, DeepSeek-R1 and GPT-o3) scoring 60 MalJS pairs on a 0–10 scale; a separate check of GPT-4o-mini renaming on 100 samples found 12% hallucinated names, and the user study had 9 participants. The entropy comparison excludes the LLM stage. MalJS was collected with a security company and BenignJS mixes Tranco top-site scripts with 2,000 clean samples obfuscated by the authors. The authors exclude cryptographic packing, custom interpreters and time-dependent decryption, and note that ES6+ syntax may be downgraded and that vm-based execution carries escape risk. The output is readable JavaScript; website reconstruction remains outside the reported output.

Authors & citation

Dongchao Zhou; Lingyun Ying; Huajun Chai; Dongbin Wang

BibTeX

9 sources · checked 

JsDeObsBench: Measuring and Benchmarking LLMs for JavaScript Deobfuscation

2025ACM CCS 2025Conference paper

Builds an execution-verifiable JavaScript deobfuscation benchmark by applying seven JavaScript-Obfuscator transformations to Project CodeNet programs with test cases, then scores LLM and tool outputs for syntax, execution, code simplification and similarity to the original code.

Scope & authors

Scope & limitations

On average, LLM outputs passed execution checks 60.93% of the time, against 83% for the two existing deobfuscator baselines. All samples come from a single obfuscator applied to moderate-length competitive-programming solutions. The 4,515 obfuscated malware samples have no test cases and are compared only through behavior traces.

Authors & citation

Guoqiang Chen; Xin Jin; Zhiqiang Lin

BibTeX

6 sources · checked 

Interaction2Code: Benchmarking MLLM-based Interactive Webpage Code Generation from Interactive Prototyping

2025ASE 2025Conference paper

Benchmarks reconstruction of interactive webpages from screenshots before and after an interaction. The final study covers 127 webpages and 374 interactions, comparing rendered appearance, automated interaction checks, and human usability judgments.

Scope & authors

Scope & limitations

The inputs specify individual interaction transitions; autonomous exploration of a complete site remains outside the studied scope. Tests cover individual interactions; long workflows, server-side behavior, and equivalence to original source remain unverified. Usability requires separate assessment from interaction detection.

Authors & citation

Jingyu Xiao; Yuxuan Wan; Yintong Huo; Zixin Wang; Xinyi Xu; Wenxuan Wang; Zhiyao Xu; Yuhang Wang; Michael R. Lyu

BibTeX

7 sources · checked 

LaTCoder: Converting Webpage Design to Code with Layout-as-Thought

2025KDD 2025Conference paper

LaTCoder converts webpage design images to HTML/CSS by making layout an explicit intermediate step. A rule-based divider recursively finds solid-colored horizontal or vertical lines that avoid OCR-detected text, then merges small regions into grid-aligned blocks. An MLLM writes code for each block with a chain-of-thought prompt. The blocks are then assembled by absolute positioning or by the MLLM, and a reference-free verifier combining MAE and CLIP picks the better result. The paper also introduces CC-HARD, 128 complex-layout pages manually sampled from Common Crawl.

Scope & authors

Scope & limitations

Targets static HTML/CSS from a design image; JavaScript behavior, interactions, navigation and backends are outside the method, and it does not recover a site's original source. Evaluation uses Design2Code-HARD (80 pages) and CC-HARD (128 pages), scoring generated code and screenshots against references with TreeBLEU, CLIP, Visual Score and MAE. Reported gains are relative changes on small absolute scores: with DeepSeek-VL2 on CC-HARD, TreeBLEU rises from 0.09 to 0.15 (+66.67%), and CLIP falls slightly on Design2Code-HARD. The divider assumes rectangular, solid-colored separators and fixed pixel thresholds; the block-merge area was tuned on CC-HARD. Short-context models use absolute positioning only, which fixes block positions from the design. Block content can still be misplaced, and Gemini sometimes omitted blocks during assembly. Pairwise human preference (at least 60% for LaTCoder) covers GPT-4o on CC-HARD only, by majority vote of six annotators. GPT-4o, Gemini and DeepSeek-VL2 results are historical baselines from the evaluated versions; current rankings remain unassessed.

Authors & citation

Yi Gui; Zhen Li; Zhongyi Zhang; Guohao Wang; Tianpeng Lv; Gaoyang Jiang; Yi Liu; Dongping Chen; Yao Wan; Hongyu Zhang; Wenbin Jiang; Xuanhua Shi; Hai Jin

BibTeX

14 sources · checked 

WebUIBench: A Comprehensive Benchmark for Evaluating Multimodal Large Language Models in WebUI-to-Code

2025Findings of ACL 2025Conference paper

Diagnoses webpage-to-code capability through visual perception, HTML programming, image-to-HTML understanding, and screenshot reconstruction tasks. It separates underlying skills using question-answer pairs derived from real websites.

Scope & authors

Scope & limitations

Primarily evaluates visual and HTML reconstruction skills. The paper includes a preliminary interaction study; full workflows and backend equivalence remain outside the benchmark scope. The official repository currently exposes README and images but not the evaluation scripts described in its instructions.

Authors & citation

Zhiyu Lin; Zhengda Zhou; Zhiyuan Zhao; Tianrui Wan; Yilun Ma; Junyu Gao; Xuelong Li

BibTeX

5 sources · checked 

WAFFLE: Fine-tuning Multi-Modal Model for Automated Front-End Development

2025ACL 2025Conference paper

WAFFLE fine-tunes multimodal LLMs to generate HTML/CSS from UI screenshots. A quarter of the decoder's attention heads use a structure-aware mask that limits each element's tokens to its parent, preceding siblings and its own earlier tokens. A contrastive objective aligns image and code embeddings over groups of four mutated WebSight-v0.1 pages. With VLM-WebSight and Moondream2 backbones, the authors report up to 9.00 pp higher HTML-Match and 0.0982 higher CW-SSIM than standard fine-tuning on WebSight-Test, plus gains on every Design2Code metric.

Scope & authors

Scope & limitations

Generates static HTML/CSS from a single screenshot; the output is reconstructed static HTML/CSS, with the site's original source, scripts, interactions, navigation and backend outside the generated result. HTML-Match strips styles and attributes before requiring pixel-identical renders, while CW-SSIM, CLIP and LLEM are similarity scores; the authors describe these metrics as partial measures of human judgment. Training data and the 500-page WebSight-Test are synthetic WebSight-style pages; Design2Code supplies 484 real-world pages. Only two backbones were fine-tuned, and on Design2Code the Moondream2 model trained with WAFFLE stays below GPT-4o and GPT-4o mini. The Gemini 1.5 Pro baseline answered 384 Design2Code instances. Human ranking used 50 samples per dataset and two annotators. Commercial-model prompting results are historical baselines.

Authors & citation

Shanchao Liang; Nan Jiang; Shangshu Qian; Lin Tan

BibTeX

12 sources · checked 

Divide-and-Conquer: Generating UI Code from Screenshots

2025Proceedings of the ACM on Software Engineering (FSE 2025)Journal article

Recursively divides a webpage screenshot along visual separation lines, has a multimodal model generate HTML/CSS for each leaf segment, and assembles child code upward into the full page; evaluated with GPT-4o, Gemini and Claude models and a small developer study.

Scope & authors

Scope & limitations

It reconstructs static visual layout as HTML/CSS, not interaction, JavaScript behavior or backend logic. Test pages are self-contained snapshots with images replaced by placeholders; the main evaluation samples 111 of 348 top-ranked sites, adds 80 harder GitHub Pages pages, and the usefulness study has four participants. Segmentation uses manually set thresholds, and assembly can still misarrange elements.

Authors & citation

Yuxuan Wan; Chaozheng Wang; Yi Dong; Wenxuan Wang; Shuqing Li; Yintong Huo; Michael Lyu

BibTeX

5 sources · checked 

StructEval: Benchmarking LLMs' Capabilities to Generate Structural Outputs

2025arXivPreprint

Evaluates generation and conversion of structured outputs, including HTML, React and SVG, with separate checks for format adherence and structural correctness.

Scope & authors

Scope & limitations

The benchmark evaluates structured output. Structured-output scores measure the evaluated output format; source identity, backend reconstruction and behavioral equivalence remain outside this evaluation. Aggregate scores summarize structured-output performance; the percentage of fully correct outputs requires separate reporting.

Authors & citation

Authors: see the paper

BibTeX

3 sources · checked 

WebCode2M: A Real-World Dataset for Code Generation from Webpage Designs

2025WWW 2025Conference paper

WebCode2M pairs about 2.56 million real-world webpage screenshots with purified HTML/CSS code and element bounding-box layout trees. Pages sampled from a Common Crawl snapshot are cleaned (scripts, metadata and hidden elements removed, styles merged into one block), rendered with Playwright, and filtered by a neural scorer trained on 10,000 annotated samples. The paper fine-tunes Pix2Struct-1.3B as the WebCoder baseline, introduces TreeBLEU to measure DOM-structure recall, and benchmarks specialized, open and commercial multimodal models on short, medium and long test subsets of 256 pages each.

Scope & authors

Scope & limitations

The task is static HTML/CSS generation from a design image. Scripts are stripped during purification, so interaction, client-side behavior and backend logic are not reconstructed, and outputs are judged by visual score, CLIP similarity and TreeBLEU rather than functional equivalence. The paper reports that no evaluated model reproduces image elements accurately, and scores fall as target code grows longer. The 768 test pages were drawn from high-scoring candidates and manually inspected; the scorer is about 90% accurate, so low-quality training samples remain, and the authors warn that crawled content may still include inappropriate material. Commercial models are named only by family, and about one-third of Gemini test cases failed with recitation errors, so those comparisons are snapshots. The dataset card's CC BY 4.0 license does not clear rights in the crawled pages' code, text or images.

Authors & citation

Yi Gui; Zhen Li; Yao Wan; Yemin Shi; Hongyu Zhang; Bohua Chen; Yi Su; Dongping Chen; Siyuan Wu; Xing Zhou; Wenbin Jiang; Hai Jin; Xiangliang Zhang

BibTeX

10 sources · checked 

Sketch2Code: Evaluating Vision-Language Models for Interactive Web Design Prototyping

2025NAACL 2025Conference paper

Sketch2Code benchmarks vision-language models on turning rough hand-drawn wireframe sketches into HTML webpage prototypes. Crowd annotators drew 731 sketches of 484 real-world webpages from the Design2Code test set. Ten models, eight commercial and two 8B open-source, generate pages directly and in two multi-turn settings with a GPT-4o simulated user: following its feedback, or asking it clarification questions. Outputs are scored by Design2Code visual similarity and a new IoU-based layout similarity over component types such as text blocks, images, navigation bars, forms and buttons. Claude 3.5 Sonnet and GPT-4o lead single-turn layout similarity, and feedback rounds help commercial models more than question asking does.

Scope & authors

Scope & limitations

The generated pages are visual prototypes scored by visual and layout similarity to reference screenshots; original source code is outside the generated output, while behavior, interactivity and code equivalence are outside the evaluation, and page images are replaced with a placeholder. Sketches deliberately omit most text and styling, so similarity scores are low in absolute terms, with best single-turn layout similarity around 22%. The simulated user is GPT-4o, judged faithful in 83.3% of feedback and accurate in 86.7% of answers by human annotators. Only 8B open-source models were run, and a multi-turn example needs 40,000 to 160,000 input tokens. The user study interviewed eight UI/UX experts. Results describe 2024 model versions.

Authors & citation

Ryan Li; Yanzhe Zhang; Diyi Yang

BibTeX

10 sources · checked 

Design2Code: Benchmarking Multimodal Code Generation for Automated Front-End Engineering

2025NAACL 2025Conference paper

Evaluates reconstruction of frontend code from webpage screenshots using real-world reference pages, visual-element and layout metrics, and human assessment.

Scope & authors

Scope & limitations

This is visual website reconstruction, not binary decompilation or recovery of backend behavior and interactive workflows. The main benchmark contains 484 webpages with placeholder images; code and data have separate licensing terms.

Authors & citation

Chenglei Si; Yanzhe Zhang; Ryan Li; Zhengyuan Yang; Ruibo Liu; Diyi Yang

BibTeX

7 sources · checked 

Large Language Models for Code Analysis: Do LLMs Really Do Their Job?

2024USENIX Security 2024Conference paper

Evaluates GPT-3.5-turbo, GPT-4, LLaMA-2-13B, Code-LLaMA-2-13B-Instruct and StarChat-Beta on explaining what de-commented JavaScript, Python and C code does, then repeats the task on JavaScript obfuscated with JavaScript Obfuscator (identifier renaming, dead-code injection, control-flow flattening and string splitting) and with Wobfuscator’s WebAssembly transformation. GPT-3.5 and GPT-4 are also asked to rewrite 100 IOCCC winning programs as readable, compilable code. Case studies apply GPT models to a botnet and a benign browser-extension repository, an Android SMS stealer decompiled with JD-GUI, and WannaCry code decompiled with RetDec.

Scope & authors

Scope & limitations

Ground truth is GPT-4’s own explanations after manual checking by four students; other models are scored against those texts with similarity metrics and a GPT-4 judge, which the authors say is unreliable without manual calibration. Correctness is judged at explanation level. Only JavaScript is obfuscated with generated transformations; neither GPT model deciphered the WebAssembly that Wobfuscator inserts, and the smaller models produced no meaningful explanations once obfuscation was applied. Author-reported figures include 97.4% GPT-4 accuracy on non-obfuscated code and 87% on obfuscated JavaScript; in IOCCC de-obfuscation, about 20% of GPT-3.5’s targets and 19% of GPT-4’s yielded compilable code, and only 8% and 4% produced correct results. The malware analyses are qualitative case studies on a few samples, with manual chunking for WannaCry, missed behavior when context was split, and a false alarm in the botnet repository. Models recognized code from popular repositories, so memorization is a confound. The evaluated GPT-3.5/GPT-4-era and LLaMA-2-13B-class models are dated. The study analyzes source or already-decompiled text; it does not perform binary decompilation.

Authors & citation

Chongzhou Fang; Ning Miao; Shaurya Srivastav; Jialin Liu; Ruoyu Zhang; Ruijie Fang; Asmita; Ryan Tsang; Najmeh Nazari; Han Wang; Houman Homayoun

BibTeX

6 sources · checked 

Unlocking the conversion of Web Screenshots into HTML Code with the WebSight Dataset

2024arXivPreprint

WebSight is a synthetic dataset of 2 million HTML documents paired with full-page screenshots for training screenshot-to-HTML models. Mistral-7B-Instruct generates website concepts, Deepseek-Coder-33B-Instruct writes each page in HTML with Tailwind CSS, images come from keyword-based stock-photo URLs, and Playwright renders the screenshots after filtering. This v0.2 release replaces the 823K-pair v0.1, which used traditional CSS and colored rectangles instead of images. The authors fine-tune an 8B vision-language model, Sightseer, on the data with DoRA and show qualitative conversions, including one from a hand-drawn sketch.

Scope & authors

Scope & limitations

The training websites are synthetic, LLM-generated single pages; crawled real sites were outside the training set, and reconstruction of real sites, their source and behavior remains unverified. Evaluation is qualitative only: no benchmark scores are reported, checkpoints were selected by manual inspection because validation loss did not track output quality, and the authors note failures on complex layouts, long text and designs unlike the training data, as well as Tailwind syntax errors. v0.2 pages load Tailwind CSS from a CDN link and images from source.unsplash.com URLs, so re-rendering depends on those external services. The base model was unreleased at the time, and the report is not peer-reviewed.

Authors & citation

Hugo Laurençon; Léo Tronchon; Victor Sanh

BibTeX

3 sources · checked 

Web2Code: A Large-scale Webpage-to-Code Dataset and Evaluation Framework for Multimodal LLMs

2024NeurIPS 2024 Datasets and BenchmarksConference paper

Studies screenshot-to-HTML reconstruction through instruction tuning and two evaluation benchmarks. Web2Code combines generated webpages, refined WebSight and pix2code image/code pairs, and WebSRC-derived question answering. Models produce HTML from a webpage image and instruction; rendered output is compared visually, while a separate benchmark measures screenshot understanding.

Scope & authors

Scope & limitations

Evaluation uses 1,198 screenshots and 5,990 yes/no questions. WCGB grades rendered images with GPT-4V; its User Interface and Interactivity category measures element appearance, not executed click paths, persistent state or backend behavior. Synthetic and refined examples leave coverage of arbitrary real web applications, original-source equivalence and code quality unverified. The paper reports contact-information issues in 2.7% of a 1,000-item privacy sample, so a blanket claim that the data is free of such information is unsupported.

Authors & citation

Sukmin Yun; Haokun Lin; Rusiru Thushara; Mohammad Qazim Bhat; Yongxin Wang; Zutao Jiang; Mingkai Deng; Jinhong Wang; Tianhua Tao; Junbo Li; Haonan Li; Preslav Nakov; Timothy Baldwin; Zhengzhong Liu; Eric P. Xing; Xiaodan Liang; Zhiqiang Shen

BibTeX

13 sources · checked 

Understanding JavaScript Event-Based Interactions

2014ICSE 2014Conference paper

Clematis helps developers understand a JavaScript web application's runtime behavior from a recorded user session. A proxy instruments JavaScript on the fly to log DOM events, timeouts, XMLHttpRequest phases, function calls and DOM mutations. The trace is grouped into episodes, each with its triggering event, executed functions and resulting DOM changes, linked by temporal and causal edges and shown in an interactive visualization. In an industrial study with 20 developers on the Phormer photo gallery, the authors report 61% higher task accuracy and 47% less completion time than developers using their preferred tools.

Scope & authors

Scope & limitations

A dynamic program-comprehension aid for client-side behavior exercised in one recorded session; it does not reconstruct server-side logic, generate a replacement application or establish behavioral equivalence. Code run through eval is not captured. Evaluation consists of two small controlled experiments on comprehension tasks: 16 UBC participants on a lab-built survey application against Firebug, and 20 professional developers on Phormer. The authors graded accuracy against a prewritten answer key. Overhead was measured only for one minute of Phormer activity. The 2014 prototype drives Firefox through Selenium and a WebScarab proxy; it is not shown to run on current browsers, and the comparison tools are historical.

Authors & citation

Saba Alimadadi; Sheldon Sequeira; Ali Mesbah; Karthik Pattabiraman

BibTeX

8 sources · checked 

Crawling Ajax-Based Web Applications through Dynamic Analysis of User Interface State Changes

2012ACM Transactions on the WebJournal article

Crawljax infers a state-flow graph of an Ajax web application by driving it in a real browser. It scans the DOM for candidate clickable elements, fires events on them, compares the resulting DOM against known states with configurable comparison and similarity thresholds, and records new states and the event transitions between them, backtracking by reloading and replaying paths. A concurrent variant partitions the crawl across browser instances. The Java tool uses Selenium WebDriver and plugins; one plugin writes a static mirror of the crawled states. The authors evaluate six open-source and industrial sites and measure how the number of concurrent browsers affects crawling runtime on Google AdSense.

Scope & authors

Scope & limitations

Crawljax recovers client-side UI states and navigation transitions, not application source code, server-side logic or a complete behavioral model. The inferred graph is one snapshot instance: click order, server-side factors and state-explosion limits such as depth, time and state caps affect what is found. With default settings it clicks each element once and missed elements that only appear after repeated clicks: 33 of 36 annotated elements were found in Pet Store, and 38 of 40 sampled clickables across four external sites. No gold standard or comparable Ajax crawler was available, so accuracy was assessed by injected elements, a manual reference model and spot checks. External sites change over time, and the concurrent study ran at Google on AdSense. The reviewed 2023 repository is a later Java 11 and Selenium 4 codebase; the 2012 evaluation used an earlier build.

Authors & citation

Ali Mesbah; Arie van Deursen; Stefan Lenselink

BibTeX

7 sources · checked 

Game reconstruction and reverse engineering

15 papers

Schema: Discovering Unknown Environments via Agentic Program Induction

2026arXivPreprint

Infers executable models of game state and transition rules from interaction. Agents revise these models against recorded history, search within them, and compare predicted observations with real outcomes while executing plans.

Scope & authors

Scope & limitations

Evaluation uses 25 public ARC-AGI-3 games, 21 public DiG-bench games and MazeBench. Matching recorded transitions establishes consistency with the observed history; original-source recovery and correctness on unseen states remain unverified. RHAE measures completion and environment-action efficiency; elapsed time and total computation are outside this measure. Component ablations cover ten ARC games; MazeBench compares recorded trajectories with a leaderboard median, with no controlled human experiment. Transfer to arbitrary software or stochastic environments is not demonstrated.

Authors & citation

Guanning Zeng; Jiani Wang; Wenjie Ma; Shaofeng Yin; Chenyang Wang; Shichen Liu; Angjoo Kanazawa; Wode Ni; Xiuyu Li; Andrea Zanette; Haiwen Feng

BibTeX

8 sources · checked 

SWE-Game: Can Coding Agents Build the Games We Want?

2026arXivPreprint

Evaluates construction, completion, repair and Godot-to-Unity porting against executable reference games. Evaluator-owned probes and input replays check gameplay behavior, while visual rubrics assess presentation separately.

Scope & authors

Scope & limitations

The 247 tasks derive from 41 games. Inputs vary by task; porting receives Godot source. Each model uses one framework, confounding their effects. Finite scenario checks and 100-game functional validation leave general gameplay equivalence unverified.

Authors & citation

Xiaoyu Chen; Lai Wei; Jin Wang; Xiangyu Zou; Ruochen Fan; Enze Luo; Mingzhe Yao; Jiahui Zhu; Yuhua Wen; Linghe Kong; Weiran Huang

BibTeX

3 sources · checked 

GameReplica: A Benchmark for Black-Box Visual Game Replication by Vision-Language Agents

2026arXivPreprint

Evaluates whether vision-language agents can infer hidden game rules through screenshots and active interaction, then build runnable single-file HTML replicas across 125 tasks from 25 web games, each with five difficulty levels.

Scope & authors

Scope & limitations

The tasks cover rule-driven web puzzles and board games; native or commercial game reconstruction remains unevaluated. Rule, implementation, and visual scores use LLM judges; behavioral equivalence remains unverified. The official site provides demos; a benchmark-code repository remains unconfirmed.

Authors & citation

Boyu Qiao; Zixin Tang; Xiaoshuai Hao; Wenbo Li

BibTeX

3 sources · checked 

Tycho: Active Abstraction with Programmatic World Models for ARC-AGI-3

2026arXivPreprint

Tycho constructs editable Python models of game state, transitions, rendering and outcomes from action/observation histories in unfamiliar ARC-AGI-3 games. It checks model predictions against recorded transitions and can use, repair or bypass these models during planning.

Scope & authors

Scope & limitations

Evaluation uses one stochastic run per configuration on 25 public games and 183 levels; five games informed harness development. Models may abstain on cells or accept bounded rendering variants. Transition replay and game scores leave complete engine reconstruction, correct objectives, unseen-state fidelity, unseen-game generalization and run-to-run reliability unverified; the agent can bypass modeling.

Authors & citation

Jens Lehmann; Andrei Aioanei; Sahar Vahdati

BibTeX

10 sources · checked 

RevengeBench: Reverse Engineering Code-Space Policies from Behavioral Experiments

2026arXivPreprint

Tests whether agents can recover executable decision policies from behavioral traces and self-designed opponent probes, using 75 synthetic policies across five game arenas and measuring held-out action agreement and downstream competitive value.

Scope & authors

Scope & limitations

The targets are fixed synthetic policies; full games and adaptive adversaries remain outside the target scope. Agreement on finitely evaluated states leaves source-code identity unresolved, and some arenas have substantial variance. The public package omits some paper-only plotting and ablation suites; reproduction also needs CodeClash, a container runtime, and model access.

Authors & citation

Babak Rahmani; Sebastian Dziadzio; Joschka Strüber; Sergio Hernández-Gutiérrez; Matthias Bethge

BibTeX

8 sources · checked 

SPRITE: From Static Mockups to Engine-Ready Game UI

2026CHI EA 2026 (poster/extended abstract)Conference paper

Transforms game-interface screenshots into editable engine assets through hierarchical YAML, visual grounding, asset extraction, and Unity UXML/USS synthesis, with evaluation on a curated game-UI benchmark and review by three senior UI/UX designers.

Scope & authors

Scope & limitations

The generated interactions cover basic hover, toggle, and click behavior. Complex temporal and drag-and-drop logic remain outside scope, and translucent overlap or ambiguous diegetic layouts can fail. The work prototypes game UIs; complete gameplay reconstruction remains outside scope. The official page still labels code as coming soon.

Authors & citation

Yunshu Bai; RuiHao Li; Hao Zhang; Chien Her Lim; Ming Yan; Mengtian Li

BibTeX

4 sources · checked 

PoE-World: Compositional World Modeling with Products of Programmatic Experts

2025NeurIPS 2025Conference paper

PoE-World represents an Atari world model as an exponentially weighted product of many small Python programs, or programmatic experts, each synthesized by an LLM to explain one aspect of the observed dynamics; learned weights and optional synthesized hard constraints combine them. From object lists that OCAtari parses out of a demonstration of fewer than 1,000 frames, the authors learn stochastic, partially observed models of Pong and Montezuma's Revenge and use them in a planning agent, including on rearranged Pong-Alt and Montezuma's Revenge-Alt variants that have no demonstrations.

Scope & authors

Scope & limitations

Models consume symbolic object lists, not pixels, and OCAtari had to be patched manually for each game, so evaluation covers only Pong and Montezuma's Revenge plus two author-built variants. The learned programs approximate observed dynamics; original game code is not recovered: next-observation prediction accuracy on 1,000 random test frames is 0.06 for Pong and 0.31 for Montezuma's Revenge, and object-attribute accuracy is 0.66 and 0.76. Synthesized experts build on manually written helper classes and contact functions and were generated with gpt-4o-2024-08-06. Exploration and reward learning are outside the method; agent scores use 5 seeds and at most 3k training steps after the demonstration, and the planner reached the key in 5 of 9 Montezuma's Revenge tries.

Authors & citation

Wasu Top Piriyakulkij; Yichao Liang; Hao Tang; Adrian Weller; Marta Kryven; Kevin Ellis

BibTeX

12 sources · checked 

Diffusion Models Are Real-Time Game Engines

2025ICLR 2025Conference paper

GameNGen learns to simulate DOOM interactively with a diffusion model instead of game code. A PPO agent first plays the game in ViZDoom, and its recorded trajectories, from random to trained play, become the training data. Stable Diffusion v1.4 is then fine-tuned to predict the next frame from the last 64 frames and actions, with noise added to context frames to keep long autoregressive rollouts stable and a fine-tuned latent decoder for detail. With 4 sampling steps it runs at 20 frames per second on one TPU-v5. The authors report next-frame PSNR of 29.43 and human raters picking the real game in 58–60% of short clips.

Scope & authors

Scope & limitations

A neural approximation trained on recorded gameplay of an existing game; its output is an approximate simulation, with game logic, source code, assets and state representation unrecovered. The model sees just over 3 seconds of history, so state outside that window survives only through on-screen cues and learned heuristics, which can be wrong; for example, repeated shooting may spawn enemies. Locations and interactions the agent never explored are simulated poorly. Training used 128 TPU-v5e devices and 70M agent frames at 320×240, plus an environment-specific reward function. PSNR is a teacher-forced single-frame measure on 2,048 held-out trajectories from 5 levels; autoregressive rollouts diverge from ground truth after a few steps. Human evaluation used 10 raters on 1.6- and 3.2-second clips and 150 later 3-second clips; the authors say they could often spot the simulation within seconds. Only DOOM was tested, and the model cannot readily create new games.

Authors & citation

Dani Valevski; Yaniv Leviathan; Moab Arar; Shlomi Fruchter

BibTeX

4 sources · checked 

WorldCoder, a Model-Based LLM Agent: Building World Models by Writing Code and Interacting with the Environment

2024NeurIPS 2024Conference paper

WorldCoder learns executable Python transition and reward models from environment interactions and natural-language goals. It refines code against recorded experiences and an optimistic planning constraint, studying transfer and task solving in Sokoban, MiniGrid and ALFWorld.

Scope & authors

Scope & limitations

Assumes deterministic dynamics and symbolic, discrete states; inputs are confined to these symbolic states, with arbitrary pixels and binaries outside the input scope. Consistency with observed transitions and successful planning cover tested states; complete engine equivalence and correctness on every unseen state remain untested. Evaluation concerns bounded environment models and planning; original source and asset recovery remain outside its scope.

Authors & citation

Hao Tang; Darren Key; Kevin Ellis

BibTeX

10 sources · checked 

Generating Code World Models with Large Language Models Guided by Monte Carlo Tree Search

2024NeurIPS 2024Conference paper

GIF-MCTS generates executable Python transition and reward models from natural-language environment descriptions and offline state-transition trajectories, using prediction feedback to generate, improve and repair code. CWMB evaluates 18 reinforcement-learning environments and downstream planning; a separate experiment uses a simplified Read to Fight Monsters grid world.

Scope & authors

Scope & limitations

Assumes deterministic, fully observable dynamics and sufficiently detailed descriptions; the input scope requires those descriptions and observable states, with pixels or binaries alone outside it. Accuracy uses the replay transitions supplied during synthesis, alongside planning-return evaluation; correctness on all unseen states and full-engine equivalence remain untested. RTFM fixes the manual across episodes and keeps monsters stationary. CWMB also includes non-game control and physics tasks; some planning returns are unavailable and complex continuous-state models remain difficult.

Authors & citation

Nicola Dainese; Matteo Merler; Minttu Alakuijala; Pekka Marttinen

BibTeX

13 sources · checked 

Combining Functional and Automata Synthesis to Discover Causal Reactive Programs

2023Proceedings of the ACM on Programming Languages (POPL 2023)Journal article

AutumnSynth synthesizes a program in Autumn, a functional reactive language for Atari-style grid worlds, from a trace of observed frames and user actions such as clicks and arrow keys. Heuristic perception parses each frame into typed objects and tracking links them across time steps. The synthesizer then finds an update function for each observed change and searches for the event that triggers it. When no event over the observed state explains an update, automata synthesis invents latent state, such as counters or modes, using a SAT-based Sketch encoding or a faster heuristic. The authors introduce the 30-program Causal Inductive Synthesis Corpus (CISC), on which the heuristic variant synthesizes 27 programs. A slightly modified version synthesizes 21 of 27 games from the third-party EMPA grid-world corpus.

Scope & authors

Scope & limitations

Targets are small, fully observed grid worlds expressible in Autumn, not games with continuous physics, rich graphics or compiled code. Perception and tracking are heuristic, and because Autumn renders objects partially transparent, perception does not address occlusion. CISC input traces were constructed manually to exercise each model’s dynamics, and success means the synthesized program reproduces the given trace, not semantic equivalence to the ground truth. Heuristic runtimes range from about two minutes to 9–13 hours; the Sketch variants time out after 24 hours on several benchmarks, and EMPA runs time out after 40 hours on some games. EMPA required domain-specific changes for random events. Because most EMPA games are nondeterministic, their results were checked by manual inspection, and only the first level of each game was used. On new CISC test traces, four synthesized programs diverged from the ground truth because their training traces did not show all dynamics, and concatenating several traces recovered the ground-truth program for the three that were retested. For random events AutumnSynth detects nondeterminism but does not infer the underlying probability distributions. The method is symbolic program synthesis and does not use an LLM.

Authors & citation

Ria Das; Joshua B. Tenenbaum; Armando Solar-Lezama; Zenna Tavares

BibTeX

7 sources · checked 

MappyLand: Fast, Accurate Mapping for Console Games

2021AIIDE 2021Conference paper

MappyLand, a Rust rewrite of the earlier Mappy system, instruments the FCEUMM NES emulator core to map action/adventure games as they are played from controller inputs. It hooks accesses to the picture-processing unit's scrolling registers and reads emulator memory to register scrolling, separate the playfield from menus, detect and track sprites, build grid-based tile maps and recognize room transitions. An online merging step combines observed rooms into a consistent room graph across backtracking and multiple play sessions. In a 34,514-frame test the authors report about 1.5 ms of mapping overhead per frame, against about 0.2 ms for emulation alone.

Scope & authors

Scope & limitations

Limited to NES action/adventure games in which the player controls characters moving through a 2D, tile-based space with a single physical layer; independently scrolling layers and parallax backgrounds are unsupported, and other consoles are left to future work. The method relies on emulator instrumentation and memory reads rather than pixels alone, and needs the game image plus controller inputs. Maps were judged accurate only by human inspection of the authors' play on a sample of games; with no reference dataset, no automated quantitative accuracy evaluation was performed. Areas not seen during play stay unmapped, and visually similar rooms can be ambiguous. Timing comes from individual reported runs; the authors expect, but do not measure, similar overhead across NES games. Output is maps, room graphs and entity tracks, not game code, rules or assets.

Authors & citation

Joseph C. Osborn; Adam Summerville; Nathan Dailey; Soksamnang Lim

BibTeX

10 sources · checked 

Learning to Simulate Dynamic Environments with GameGAN

2020CVPR 2020Conference paper

GameGAN learns an action-conditioned neural simulator of a game from recorded frames and the actions taken, without access to the game’s logic or engine. An action-conditioned LSTM dynamics engine with a stochastic latent variable predicts the next state, an optional external memory module builds an internal map so that revisited locations stay consistent, and a rendering engine decodes frames while separating static from dynamic components. Training is end-to-end with adversarial losses, including an action-conditioned discriminator, and a temporal cycle loss for memory consistency. The authors evaluate on a modified Pac-Man, a ghost-free Pac-Man-Maze and VizDoom “take cover”, training RL agents inside the learned simulators and testing them in the real games, and measure long-term consistency with a come-back-home task; a human-playable model of the official Pac-Man is shown qualitatively.

Scope & authors

Scope & limitations

GameGAN imitates a game’s pixels and dynamics; it does not recover game code, symbolic rules, assets or an executable. Training needs large logged datasets with actions: 40K Pac-Man episodes from a high-entropy DQN agent that sees the full environment, and 10K random-policy VizDoom episodes, at 84×84 and 64×64 resolution. Quantitative results cover small grid-based Pac-Man variants and one VizDoom scenario, with an external classifier supplying game outcomes. Agents trained in the simulators can exploit modeling errors: the full model sometimes let Pac-Man pass through walls, and its Pac-Man agents scored below those of the memoryless variant, while on VizDoom the World Model baseline scored higher than GameGAN. The released code supports VizDoom training only, relies on a deprecated WorldModels data setup, and is under the non-commercial NVIDIA Source Code License; Pac-Man data and the official Pac-Man model are not included.

Authors & citation

Seung Wook Kim; Yuhao Zhou; Jonah Philion; Antonio Torralba; Sanja Fidler

BibTeX

8 sources · checked 

Mechanics Automatically Recognized via Interactive Observation: Jumping

2017FDG 2017Conference paper

Infers platform-game jump mechanics by running controlled experiments in a modified FCEUX NES emulator. A person first plays each game to a safe state; the system then repeatedly holds the jump button for 1 to 120 frames, waits 120 frames and resets, recording every sprite from the PPU sprite table. Sprites that usually touch one another are merged into characters and tracked. A hand-designed four-state jump automaton (ground, rising with and without the button, falling) is then fitted with linear support vector regression, giving per-state velocity and gravity parameters plus minimum and maximum button-hold durations. Across 48 games (about 30% of NES platformers) and 52 characters, the authors cluster the learned jumps into three styles.

Scope & authors

Scope & limitations

Models only vertical jumps from a standing position; horizontal movement, running jumps, double jumps and interactions with enemies or terrain are ignored, and no game code, assets or complete mechanics are recovered. The fixed automaton is assumed rather than learned, so non-physical jumps such as Castlevania's fit with systematic errors. Stair-step arcs, delayed jump starts, unusual landings and animation jitter are acknowledged problems. Each game needs human play to reach a safe state, prior knowledge that it has jumping, and a known jump button. The 48 games form a descriptive, non-exhaustive sample; results are comparisons and clusters, with developer-specified parameters untested.

Authors & citation

Adam Summerville; Joseph C. Osborn; Christoffer Holmgård; Daniel W. Zhang

BibTeX

4 sources · checked 

Game Engine Learning from Video

2017IJCAI 2017Conference paper

Learns a rule-based forward simulator of a 2D game from gameplay video. Using a supplied sprite palette, OpenCV locates sprites in each frame; matched sprites are converted into hand-designed fact types for animation, position, relative distance, x and y velocity and camera offset. Game Engine Search then scans the frames, and whenever the current engine’s predicted next frame differs from the real one by more than a threshold, it runs a greedy search over engines that add or modify condition–effect rules or mark them as player-controlled. Engines are ranked by pixel error and rule count. Trained on one Super Mario Bros. Level 1-1 video, the learned engine predicts frames of a different player’s video more accurately than a CNN frame predictor and a previous-frame baseline, and a value-iteration agent planning with it shows no significant difference from one using the Infinite Mario engine’s native forward simulation.

Scope & authors

Scope & limitations

The evaluation covers one level of one game: training uses a single “speedrunner” video of Super Mario Bros. Level 1-1 (1,569 frames), and testing uses an “explorer” video of the same level. Frame parsing depends on a fan-authored sprite sheet and hand-authored fact types, which the authors say makes the method less applicable to more complex domains such as real video. The learned engine is a set of search-derived rules for on-screen sprite behavior; recovered game code and a binary are outside its scope. Player death and level transitions are absent from the model, and mechanics absent from Level 1-1 remain outside the transfer evidence. Search can be slow at low thresholds, up to two weeks for one level on a 2013 iMac, and the reported run used a zero threshold. The CNN comparison used downscaled grayscale frames, and the gameplay comparison is indirect, through agents in the Infinite Mario engine.

Authors & citation

Matthew Guzdial; Boyang Li; Mark O. Riedl

BibTeX

3 sources · checked 

App reconstruction and analysis

22 papers

From Dead Code and Static Requirements to Working Engines: Software Revival with Coding Agents

2026arXivPreprint

ReviveBench evaluates repair of nonrunning software and source-unavailable implementation of bounded computational and transactional engines from open specifications, using hidden reference-based checks. It also audits grading defects that can wrongly accept or reject reconstructions.

Scope & authors

Scope & limitations

Studies ten revival and thirteen bounded engine tasks; reconstruction receives public specifications and three worked examples. Most model/task cells have one or two seeds; the reconstruction matrix reports the best eligible run. Excluded infrastructure failures and differing API adapters limit comparisons. Task-level pass thresholds do not require every check to pass, and CFD passes leave numerical-solver capability unverified. Verifier audits and contamination controls leave general equivalence unverified and cannot rule out prior exposure.

Authors & citation

Tianyu Liu; Dingyuan Dai; Yufan Du; Zhen Yang

BibTeX

3 sources · checked 

From Code to Requirements: Agentic Reverse Engineering of Business Rules at Enterprise Scale

2026arXivPreprint

Uses seven agents and human review to recover business requirements from source, tests, configuration and documentation. A reported enterprise migration checks extracted rules against production-defect records.

Scope & authors

Scope & limitations

Evidence covers one enterprise Java programme and one legacy pilot. The cost comparison uses a modeled manual baseline with asymmetric accounting. Static analysis misses some runtime and external rules; coverage measures the rules it finds. Confidential inputs limit independent reproduction.

Authors & citation

Garima Agrawal; Prasun Das; Priyanka L; Minisha N; Akshay Sarvade; Hemath Manivanan; Sravani Joshna; Prasad Kalyansundaram

BibTeX

3 sources · checked 

On the Viability of Requirements Generation from Code: An Experience Report

2026IEEE REW 2026 / AIREConference paper

Studies a RAG-based, human-supervised pipeline for recovering requirements and code traces from two projects. It also tests deliberate generation of unimplemented requirements and requirements smells (potential quality issues), exposing verification and labeling difficulties.

Scope & authors

Scope & limitations

The 188 generated requirements come from a student web application and Mattermost Desktop, using one model and PhD evaluators. Prompt choices, accumulated feedback and author-resolved labels affect validity. Findings concern this small experience study, not all code-to-requirements methods.

Authors & citation

Alexander Korn; Jone Bartel; Max Unterbusch; Andreas Vogelsang

BibTeX

7 sources · checked 

DroidSentry: A Survey of Android Malware Dynamic Analysis Techniques

2026International Journal of Research and Scientific InnovationJournal article

This survey reviews dynamic analysis techniques for Android malware, set against static inspection that the opening pages say is strained by obfuscation, native code, and runtime payloads. The fetched PDF places the article in the May 2026 issue.

Scope & authors

Scope & limitations

The author list follows the PDF byline, omitting the courtesy title before the first name and a trailing comma in the Crossref record.

Authors & citation

Amritha R.; Shashank Gowda U.; Rudresh S C.; Sanketh Kumar K R.; Darshan K R

BibTeX

3 sources · checked 

From Visual Widgets to UI Code: Efficient Tool-Grounded Generation

2026MUCG @ ECCV 2026Conference accepted

WidgetGen reconstructs widget screenshots as React JSX. OCR text boxes and color palettes guide whole-widget layout reasoning and optional chart generation before one terminal render; generated render/code pairs also support model fine-tuning.

Scope & authors

Scope & limitations

The main comparison uses six models and 1,000 test widgets from one dataset. Its nine image-based metrics do not test interaction, accessibility or maintainability. The supervision experiment covers six Qwen-family checkpoints; broader UI and model-family generalization remains open.

Authors & citation

Houston H. Zhang; Tao Zhang; Li Gu; Linfeng Ye; Yuanhao Yu; Xinxin Zuo; Yang Wang; Zhixiang Chi

BibTeX

3 sources · checked 

Agentic Reverse Engineering: From I/O to Code with Discovery Agent

2026NeurIPS 2026Conference accepted

Synthesizes executable programs from input/output observations using LLM-guided evolutionary search, progressively revealed examples, simple-to-complex mutations and execution-error feedback. An active variant chooses inputs and queries a hidden reference program.

Scope & authors

Scope & limitations

IO2CodeBench has 125 generated tasks spanning basic operations, algorithms, geometry and image-to-value mappings, normally with eight visible and fifteen held-out examples. Active exploration covers a 25% subset from each level. Multimodal results average sample pass ratios, while other levels count tasks passing every held-out example. Finite tests measure success on the evaluated examples; original-source recovery and complete equivalence remain unverified; arbitrary applications and stateful services are not evaluated.

Authors & citation

Yihong Dong; Jiaru Qian; Haoran Zhang; Peixu Wang; Binhua Li; Zhi Jin; Yongbin Li; Ge Li; Xiaokang Yang; Xue Jiang

BibTeX

6 sources · checked 

UIOrchestra: Generating High-Fidelity Code from UI Designs with a Multi-agent System

2025Findings of EMNLP 2025Conference paper

UIOrchestra converts static mobile UI designs into React/CSS through layout-description, code-generation and rendered-image comparison agents. Its APPUI benchmark contains 1,101 human-refined code/rendering pairs based on screenshots from 165 apps across 12 categories. Human-refined reference code supports the evaluation.

Scope & authors

Scope & limitations

Tests visual, component and code similarity, not native-package execution, interaction, backend behavior or application equivalence. APPUI references are rendered reconstructions of iOS screenshots; unavailable images/icons use placeholders. A human study covers 200 samples with four annotators. The difference-analysis prompt ignores font-size/typeface differences and placeholder image content.

Authors & citation

Chuhuai Yue; Jiajun Chai; Yufei Zhang; Zixiang Ding; Xihao Liang; Peixin Wang; Shihai Chen; Wang Yixuan; Yanping Wang; Guojun Yin; Wei Lin

BibTeX

4 sources · checked 

Feature-Centric Approaches to Android Malware Analysis: A Survey

2025arXivPreprint

This systematic review compares feature-centric Android malware analysis across static, dynamic, hybrid, and graph-based methods. The abstract contrasts cheaper static features, which obfuscation can evade, with costlier dynamic analysis.

Scope & authors

Scope & limitations

The source file is arXiv:2509.10709v1. The article surveys prior detectors.

Authors & citation

Shama Maganur; Yili Jiang; Jiaqi Huang; Fangtian Zhong

BibTeX

3 sources · checked 

DeclarUI: Bridging Design and Development with Automated Declarative UI Code Generation

2025Proceedings of the ACM on Software Engineering (FSE 2025)Journal article

Combines visual component extraction, multimodal models, page-transition graphs and iterative checks to reconstruct multi-page mobile UI code from designs or screenshots, evaluated with React Native, Flutter and ArkUI.

Scope & authors

Scope & limitations

People review and correct the inferred navigation graph. Evaluation covers 50 five-page UI sets; it reports transition coverage and compilation, while full business-logic and backend recovery remain unevaluated. Framework results vary, and visual metrics imperfectly reflect perceived fidelity. Public scripts and data are available, but no project-level license was found at the reviewed commit.

Authors & citation

Ting Zhou; Yanjie Zhao; Xinyi Hou; Xiaoyu Sun; Kai Chen; Haoyu Wang

BibTeX

4 sources · checked 

On Benchmarking Code LLMs for Android Malware Analysis

2025ISSTA Companion 2025 (LLMSC Workshop)Conference paper

CAMA is a framework for benchmarking how code LLMs read decompiled Android malware. Androguard decompiles each APK into Java functions, and each model returns a structured output per function: a summary, a refined function name and a 0–10 maliciousness score. Two analysis tasks build on these outputs. Malicious-function identification is scored by consistency (whether scores and names stay stable when the model is re-prompted with its own summaries) and by fidelity (how much a LightGBM malware-category classifier loses confidence when the top-scored function descriptors are removed). Malware-purpose summarization is scored by semantic relevance (BLEU, METEOR and ROUGE-L against reference app descriptions). The benchmark holds 118 APKs from 6 categories and 13 families, with 7,542,799 decompiled functions. Of the four models evaluated, StarChat-Beta has the highest maliciousness consistency (0.813, against 0.381 for CodeLlama) and narrowly the highest semantic-relevance scores, while fidelity varies widely across models and removal sizes. Renaming functions with model-suggested names raises fidelity for CodeLlama and StarChat but lowers METEOR by about 10%.

Scope & authors

Scope & limitations

This eight-page workshop paper evaluates four open-source code LLMs, with current frontier models outside the comparison: CodeLlama-7b-Instruct, StarChat-Beta and the base-size CodeT5 and PLBART. CodeT5 and PLBART were fine-tuned for three epochs to produce the output fields, and their maliciousness scores come from a separate DeepSeek-R1-Distill-Llama-70B model, so score-based results do not measure those two models alone; both are also excluded from the renaming study. No function-level ground truth exists: malicious-function identification is measured indirectly through classifier confidence, and the reference app descriptions are GPT-4-generated summaries from the earlier LAMD dataset; the authors note that these surrogates can add noise and bias. The 118 samples are de-duplicated LAMD malware decompiled only with Androguard, and obfuscation is not studied separately. Fidelity scores have standard deviations close to their means, for example 0.332 ± 0.30 for CodeT5 at k = 2. The Zenodo record holds the structured model outputs (function summaries, refined names and maliciousness scores); neither it nor the LAMD record states that it contains the APK samples. CAMA analyzes decompiled Android malware with code models; malware detection and decompilation are outside its scope.

Authors & citation

Yiling He; Hongyu She; Xingzhi Qian; Xinran Zheng; Zhuo Chen; Zhan Qin; Lorenzo Cavallaro

BibTeX

7 sources · checked 

Neutaint: Efficient Dynamic Taint Analysis with Neural Networks

20202020 IEEE Symposium on Security and Privacy (SP)Conference paper

NEUTAINT learns source-to-sink information flow from execution traces and uses saliency maps to identify influential input bytes. It evaluates taint accuracy, runtime overhead, and taint-guided fuzzing.

Scope & authors

Scope & limitations

The evaluation compares NEUTAINT with three dynamic taint tools on six real-world programs and examines its use in taint-guided fuzzing.

Authors & citation

Dongdong She; Yizheng Chen; Abhishek Shah; Baishakhi Ray; Suman Jana

BibTeX

3 sources · checked 

Machine Learning-Based Prototyping of Graphical User Interfaces for Mobile Apps

2020IEEE Transactions on Software EngineeringJournal article

ReDraw turns screenshots or design mock-ups into native Android GUI prototypes by detecting components, classifying widget types with a CNN, and assembling a plausible view hierarchy with a data-driven nearest-neighbor method.

Scope & authors

Scope & limitations

The implementation covers 15 Android component classes and one screen at a time; multiple screens require manual combination, and hierarchy construction is tied to the mined screen size. Evaluation concerns appearance and view hierarchy; original app logic and backend recovery remain outside its scope. Screenshots and reconstructed mock-ups served as proxies for real design artifacts.

Authors & citation

Kevin Moran; Carlos Bernal-Cárdenas; Michael Curcio; Richard Bonett; Denys Poshyvanyk

BibTeX

9 sources · checked 

pix2code: Generating Code from a Graphical User Interface Screenshot

2018EICS 2018Conference paper

Learns screenshot-to-DSL generation for native Android XML, iOS Storyboards and web HTML/CSS interfaces, then compiles the DSL into platform UI code.

Scope & authors

Scope & limitations

Evaluation uses synthetic screenshot/code pairs: 1,500 training and 250 test instances per platform. Reported accuracy concerns DSL tokens; complete-app and behavioral reproduction rates remain unevaluated. Text labels are ignored; platform datasets train separate models using the same architecture. The task covers layout, components and relationships; application logic and backend recovery remain outside scope. The repository describes an educational research prototype.

Authors & citation

Tony Beltramelli

BibTeX

7 sources · checked 

From UI Design Image to GUI Skeleton: A Neural Machine Translator to Bootstrap Mobile GUI Implementation

2018ICSE 2018Conference paper

UI2code translates a mobile UI image into an Android component hierarchy and layout skeleton using a neural encoder-decoder. The paper evaluates structural prediction and a small developer study of implementing layouts from generated skeletons.

Scope & authors

Scope & limitations

The output covers component types and hierarchy from a single image; detailed styling and text require developer work. Structural token accuracy and an eight-participant study on five screenshots evaluate component structure; complete visual fidelity, navigation, app logic and backend recovery remain outside that evaluation. The main split is screenshot-based; a separate evaluation on 1,208 images from 20 unseen apps provides limited generalization evidence.

Authors & citation

Chunyang Chen; Ting Su; Guozhu Meng; Zhenchang Xing; Yang Liu

BibTeX

7 sources · checked 

Identifying Open-Source License Violation and 1-day Security Risk at Large Scale

2017CCS '17Conference paper

OSSPolice compares mobile app binaries with open-source code to identify potential license violations and known vulnerable component versions. It analyzed 1.6M free Google Play apps.

Scope & authors

Scope & limitations

The evaluation covers free Google Play apps and a database of 60K C/C++ and 77K Java open-source projects.

Authors & citation

Ruian Duan; Ashish Bijlani; Meng Xu; Taesoo Kim; Wenke Lee

BibTeX

2 sources · checked 

Rico: A Mobile App Dataset for Building Data-Driven Design Applications

2017UIST 2017Conference paper

Rico is a dataset of Android app designs and a runtime mining system that needs no access to or modification of app source code. Crowd workers used free Google Play apps through a web interface to a device farm, recording interaction traces. An automated crawler then replayed each trace and kept exploring, using a screenshot-and-resource-id similarity heuristic to identify new UI states. The paper reports 10,811 traces and 72,219 unique UIs from 9,772 apps in 27 categories. Each UI has a screenshot, augmented view hierarchy, explored interactions, transition animations and a 64-dimensional autoencoder layout vector.

Scope & authors

Scope & limitations

The paper presents a dataset and collection system and proposes UI code generation and interaction modeling as possible uses; the demonstrated system collects data rather than generating code or reconstructing apps. It records UIs and interactions reached during human sessions capped at 10 minutes, each followed by one hour of automated crawling; backend logic, source code and complete app behavior fall outside these records. Multimedia, productivity and personalization categories were excluded, and only free apps were mined. Coverage was evaluated on 10 popular apps by counting unique UIs, a measure that depends on the similarity heuristic (6% false-positive and 3% false-negative rates on 1,044 labeled pairs). The demonstrated application is autoencoder-based layout similarity search with qualitative examples. The 2017 snapshot will age as apps change.

Authors & citation

Biplab Deka; Zifeng Huang; Chad Franzen; Joshua Hibschman; Daniel Afergan; Yang Li; Jeffrey Nichols; Ranjitha Kumar

BibTeX

6 sources · checked 

Statistical Deobfuscation of Android Applications

2016ACM CCS 2016Conference paper

DeGuard reverses layout obfuscation in Android APKs, predicting original names for the fields, methods, classes and packages that ProGuard renames. Built on Soot, it represents an app as a dependency graph over program elements and keeps Android API and other unobfuscated names fixed. It then runs MAP inference with Nice2Predict on a conditional random field learned from 1,684 F-Droid apps, under constraints that keep the renamed APK semantically equivalent. On 100 held-out F-Droid apps obfuscated with ProGuard, names identical to the originals rise from 13.3% to 79.1%, and third-party library prediction reaches 91.3% precision and 91.0% recall.

Scope & authors

Scope & limitations

Only layout (identifier) obfuscation is addressed. Data, control-flow and cryptographic obfuscation, custom string encryption, reflection and goto-based code reordering are not reversed, and the paper notes that most malware samples it inspected also used such techniques. The benchmark is 100 benign, open-source F-Droid apps, obfuscated by enabling ProGuard without changing its rules and scored by exact match to the original names, so semantically close names count as errors; elements that ProGuard removed are not scored. Accuracy on other obfuscators or on malware may be lower. Libraries are identified by a package-name heuristic covering 133 libraries, and the training apps may import the same libraries. The 49-family malware study gives manual examples, such as Base64 decoders and location handling, without precision figures.

Authors & citation

Benjamin Bichsel; Veselin Raychev; Petar Tsankov; Martin Vechev

BibTeX

4 sources · checked 

Reverse Engineering Mobile Application User Interfaces with REMAUI (T)

2015ASE 2015Conference paper

Reconstructs native Android UI code from screenshots or design bitmaps using OCR, computer vision, and layout heuristics; evaluates visual similarity and view hierarchies on 488 screenshots from over 100 Android and iOS applications.

Scope & authors

Scope & limitations

The output is Android UI code; iOS screenshots serve as inputs, while native iOS output remains outside the reported scope. The work reconstructs UI; original logic and backend behavior remain outside scope, and multi-screen transitions were future work. OCR/layout heuristics can misidentify content. The linked REMAUI v2 repository has older dependencies; its identity as the exact 2015 artifact remains unverified.

Authors & citation

Tuan Anh Nguyen; Christoph Csallner

BibTeX

6 sources · checked 

Achieving accuracy and scalability simultaneously in detecting application clones on Android markets

2014ICSE '14Conference paper

Compares method dependency-graph centroids and combines method similarities to detect Android apps with cloned core functionality. Evaluated across five Android markets.

Scope & authors

Scope & limitations

The evaluation covers 150,145 apps, 203 million methods, and 26 billion opcodes across five Android markets. Cross-market detection took under one hour after centroids were generated once.

Authors & citation

Kai Chen; Peng Liu; Yingjun Zhang

BibTeX

2 sources · checked 

Guided GUI Testing of Android Apps with Minimal Restart and Approximate Learning

2013OOPSLA 2013Conference paper

SwiftHand generates test inputs for Android apps while learning an approximate GUI model during testing. It instruments Dalvik bytecode to read the GUI component tree and derive each screen's enabled touch, scroll, text, Back and Menu inputs; screens with the same enabled inputs are treated as equivalent states of an extended deterministic labeled transition system. The learned model steers execution toward unexplored frontier states and avoids restarts, since reinstalling an app took about 30 seconds. On 10 F-Droid apps, the authors report higher branch coverage than random and L*-based testing within the time budget, reached faster.

Scope & authors

Scope & limitations

A test-generation technique whose learned model is an approximate abstraction for guiding exploration; complete or exact GUI specification and app reimplementation are outside its result. States are identified only by their sets of enabled inputs and merged heuristically; tab views and similar designs caused state explosion and low coverage. The implementation rejects apps with a native main entry, works correctly only on Android 4.1 or later, and cannot handle apps that store data on remote servers, so such apps were excluded from the benchmark. Evaluation covers 10 F-Droid apps under Android 4.1.2: eight ran on emulators with a 3-hour budget and two on a Galaxy Nexus phone with 1 hour. Random testing caught up on some small apps given more time. Compatibility of the 2013 tool with current Android releases is untested.

Authors & citation

Wontae Choi; George Necula; Koushik Sen

BibTeX

7 sources · checked 

Towards automatic reverse engineering of software security configurations

2008CCS08Conference paper

ConfigRE partitions configuration input into fields, infers their semantic relationships and access-control roles, and generates a language for scanning configurations. It was evaluated on real applications.

Scope & authors

Scope & limitations

The work focuses on applications’ access-control configurations and the policies expressed through their configuration fields.

Authors & citation

Rui Wang; XiaoFeng Wang; Kehuan Zhang; Zhuowei Li

BibTeX

2 sources · checked 

GUI ripping: reverse engineering of graphical user interfaces for testing

2003WCRE 2003Conference paper

GUI ripping reverse engineers a test model from a running desktop application rather than from its source code or specifications. Starting from the top-level windows, a ripper opens each child window by programmatically clicking executable widgets, records every window’s widgets, properties and values, and builds a GUI forest of windows. From that forest it derives event-flow graphs, which record which events can follow one another within a component, and an integration tree of component invocations. The paper describes rippers for Microsoft Windows applications, using window handles and the Windows API, and for Java Swing applications, using Java’s AWT and Swing APIs. It applies them to WordPad, Notepad, Yahoo Messenger and four applications of the TerpOffice student office suite, with the models feeding automated test generation in the authors’ GUITAR and DART systems.

Scope & authors

Scope & limitations

The targets are 2003-era desktop GUIs on Microsoft Windows and Java Swing; mobile apps and web interfaces fall outside the evaluation. The model assumes deterministic events on widgets with discrete property values; timing-dependent, continuous-media and nondeterministic GUIs fall outside its scope. The recovered model contains windows, widgets and event structure for test generation; UI code, application logic and complete behavioral coverage remain outside the reported results. Ripping can miss windows and widgets: the Windows ripper misses widgets that bypass the Windows API and cannot distinguish modal from modeless windows, while the Java ripper cannot extract the Print dialog structure. In the case studies, testers added missed windows manually, taking 5 to 10 minutes per application, and identified top-level windows by hand for Windows applications. Results come from seven applications and the authors’ own test pipeline.

Authors & citation

Atif Memon; Ishan Banerjee; Adithya Nagarajan

BibTeX

4 sources · checked 

Firmware analysis and rehosting

55 papers

SoK: A Large-Scale Empirical Study of Emulation-Based Dynamic Analysis Research for ARM Cortex-M Firmware (Extended Version)

2026arXiv (extended version)Preprint

Organizes 24 MCU analysis tools into configuration recovery, emulation, fuzzing and diagnosis stages, then evaluates the runnable, pipeline-compatible subset on 4,571 filtered Cortex-M firmware images. Studies where recovered configurations and emulation artifacts fail to support later analysis.

Scope & authors

Scope & limitations

The execution comparison covers tools whose required manuals, source and hardware context were available from the set of 24 tools. ISA identification, admission thresholds and sampled crash diagnosis involve empirical judgments; findings are limited to the studied architecture. Reported crashes remain unconfirmed as vulnerabilities.

Authors & citation

Hongyuan Li; Ke Wang; Wei Zhou; Le Guan

BibTeX

4 sources · checked 

POZZER: A Power Side Channel-guided Fuzzer for Black-Box Embedded Systems

2026arXivPreprint

Builds a noise-tolerant pseudo execution-flow graph from one power trace per test input, using newly observed behavior as LibAFL feedback. It explores embedded firmware without access to its binary, source or instrumentation.

Scope & authors

Scope & limitations

Requires physical power measurement, known input pins and setup calibration. Evaluation covers 15 targets on two Cortex-M platforms and two commercial devices; benchmark coverage is measured by later instrumented replay, not recovered directly from power traces. Results depend on seeds and hardware, and long traces reduce throughput. The graph is derived from power traces; its status as a control-flow graph is unproven, and program recovery is outside the reported result. Real-device harnesses are withheld.

Authors & citation

Pouya Narimani; Kseniia Rogova; Addison Crump; Martin Mohl; Meng Wang; Ulysse Planta; Pansilu Pitigalaarachchi; Ali Abbasi

BibTeX

2 sources · checked 

Reactive Peripheral Modeling for Faithful Firmware Rehosting

2026arXivPreprint

Bluezz models peripherals as stateful event-condition-action systems, coordinating interrupts, MMIO and DMA rather than treating accesses independently. It uses these models to rehost BLE firmware and reach connected protocol states for analysis and fuzzing.

Scope & authors

Scope & limitations

The BLE evaluation covers 18 targets, with additional limited MCU examples. Hardware specifications, behavioral rules and use-case drivers require preparation and human validation.

Authors & citation

Qinying Wang; Florian Hofhammer; Eduard Vlad; Jianqiang Wang; Marcel Busch; Shouling Ji; Mathias Payer

BibTeX

2 sources · checked 

"Operator, can you hear me?" A Faithful Line into the UNISOC Baseband

2026arXivPreprint

The authors re-host the UNISOC UDX710 baseband by recovering its surrounding components from a real device. They evaluate it by reaching matching control-plane states, establishing a PDU session, and carrying IP traffic.

Scope & authors

Scope & limitations

The work starts from a Quectel RM500U-CNV module and evaluates re-hosting on the UNISOC UDX710; extending the design to other UNISOC basebands requires further reverse engineering.

Authors & citation

Eduard Vlad; Philipp Mao; Marcel Busch; Haitham Hassanieh; Mathias Payer

BibTeX

1 source · checked 

Khost: KVM-based Near Native MCU Firmware Rehosting

2026USENIX Security '26Conference paper

Extends KVM with MCU instruction handling, memory mapping and interrupt modeling to rehost firmware on ARMv8-A hosts. An MMIO monitor and firmware wrapper support peripheral interaction and coverage-guided testing.

Scope & authors

Scope & limitations

The prototype needs ARMv8-A with 32-bit compatibility and EL2 virtualization. Some coprocessor operations need added emulation, and entry-point or basic-block recovery can require manual correction. Peripheral approximations can cause false positives; evaluation covers two benchmarks and 12 firmware images, with behavior on other devices unverified.

Authors & citation

Chunlin Wang; Yicheng Yang; Yuan Zhang; Haoyu Xiao; Yifan Zhang; Jiarun Dai

BibTeX

5 sources · checked 

FirmPilot: Evidence-Guided Multi-Agent Environment Recovery for IoT Firmware Rehosting

2026arXivPreprint

FirmPilot reconstructs QEMU execution environments through coordinated retrieval, planning, filesystem, persistent-state and network recovery. Proposed changes are applied as constrained artifact deltas, then checked by rerunning the firmware and fixed probes.

Scope & authors

Scope & limitations

The main denominator is 10,033 obtainable LFwC images, not all 10,913 metadata records. The 2,400-second budget measures reachability; whole-device equivalence remains unverified; HTTP success can include redirects or authentication gates. Reported results use one LLM backend and fixed probes.

Authors & citation

Yanbing Shen; Fan Zhang; Haitao Xu

BibTeX

2 sources · checked 

Understanding Binary Code Similarity for Real-World Vulnerability Detection: A Large-Scale Empirical Study

2026arXivPreprint

Studies binary code similarity for vulnerability detection across 60,000 firmware images from 200 vendors, evaluating four performance factors and build-aware and TPL-aware search strategies.

Scope & authors

Scope & limitations

The evaluation covers vulnerable function versions, search space, function size, and compilation toolchains in firmware vulnerability searches.

Authors & citation

Jingdong Guo; Chaopeng Dong; Yimo Ren; Siyuan Li; Jie Liu; Hong Li; Hongsong Zhu

BibTeX

1 source · checked 

FirmCure:Towards Autonomous and Adaptive Rehosting of Linux-Based Firmware

2026arXivPreprint

FirmCure combines static dependency analysis, iterative boot-configuration repair and runtime fault diagnosis to rehost Linux firmware in QEMU. Specialized agents apply targeted repairs and use execution feedback to recover service behavior.

Scope & authors

Scope & limitations

Evaluation covers 21 images from ten vendors and five architectures: all opened ports, but only 19 reached full service interactivity within 45 minutes. Substituting an approximate kernel cannot preserve original-kernel or dedicated-hardware vulnerabilities. LLM reasoning loops caused residual failures. These author-reported results.

Authors & citation

Chuan Hong; Zheng Zhang; Lei Zhou; Laisong Li; Chenyifan Liu; Ze Huang; Xu Zhou; Peihong Lin

BibTeX

2 sources · checked 

SatBleed: Security of Commoditized Communication Modules in Satellites

2026IEEE S&P 2026Conference paper

Studies satellite communication modules through hardware inspection, firmware reverse engineering, protocol analysis, partial rehosting and targeted testing. A component-level threat model connects recovered data flows to security boundaries.

Scope & authors

Scope & limitations

Detailed assessment covers three vendors in isolated laboratory setups, with operational satellite links outside the assessment. The reported 28 of 64 active missions are passively inferred as plausibly vulnerable, with no active compromise observed; encrypted or compressed telemetry is excluded. Manual analysis leaves completeness unverified, and vendor-specific findings apply to the assessed modules. LLM use was limited to editorial work; no reversing-agent evaluation was conducted.

Authors & citation

Ulysse Planta; Julian Rederlechner; Martin Strohmeier; Mathias Fischer; Ali Abbasi

BibTeX

6 sources · checked 

FirmReBugger: A Benchmark Framework for Monolithic Firmware Fuzzers

2026arXivPreprint

FirmReBugger is a benchmark framework for comparing monolithic firmware fuzzers with bug oracles rather than with coverage counts alone. It replays seeds against firmware that the benchmark itself does not modify, so reached, triggered, and detected bugs can be separated.

Scope & authors

Scope & limitations

The paper is available as arXiv:2601.15774v1.

Authors & citation

Mathew Duong; Michael Chesser; Guy Farrelly; Surya Nepal; Damith C. Ranasinghe

BibTeX

3 sources · checked 

User-Space Dependency-Aware Rehosting for Linux-Based Firmware Binaries

2026NDSS 2026Conference paper

FIRMWELL reconstructs the execution environment of Linux firmware services by running their initialization processes, locating blocking dependencies and repairing missing system-level behavior. It combines containerized QEMU-user emulation with a QEMU-system fallback, using process traces and binary analysis to recover resources needed by the target service.

Scope & authors

Scope & limitations

The evaluation concerns selected network services; complete device and hardware equivalence lie outside its scope. HTTP acceptance uses configured response-status and error-content checks; other services need their own criteria. Coverage depends on unpacking, supported architectures, initialization heuristics and peripheral models. Symbolic path explosion, solver timeouts and complex peripheral checks remain failure modes. The paper’s recovery strategy avoids patching target binaries. Successful service interaction covers those tested services; original-source recovery and every device function remain outside the evaluation.

Authors & citation

Chuan Qin; Cen Zhang; Yaowen Zheng; Puzhuo Liu; Jian Zhang; Yeting Li; Weidong Zhang; Yang Liu; Limin Sun

BibTeX

8 sources · checked 

FirmAgent: Leveraging Fuzzing to Assist LLM Agents with IoT Firmware Vulnerability Discovery

2026NDSS 2026Conference paper

FirmAgent uses fuzzing to find runtime input points and reconstruct potential vulnerability paths, then uses LLM agents for taint analysis and PoC generation. It found 182 vulnerabilities across 14 IoT firmware.

Scope & authors

Scope & limitations

The evaluation covers vulnerability discovery in 14 real-world IoT firmware.

Authors & citation

Jiangan Ji; Chao Zhang; Shuitao Gan; Lin Jian; Hangtian Liu; Tieming Liu; Lei Zheng; Zhipeng Jia

BibTeX

2 sources · checked 

Protocol-Aware Firmware Rehosting for Effective Fuzzing of Embedded Network Stacks

2025CCS '25Conference paper

Pemu infers which network protocols firmware uses and generates valid packets carrying fuzzing data into deeper layers. It improved coverage with three rehosting tools and found known vulnerabilities and five new faults.

Scope & authors

Scope & limitations

The evaluation covers embedded network stacks using three existing rehosting tools.

Authors & citation

Moritz Bley; Tobias Scharnowski; Simon Wörner; Moritz Schloegel; Thorsten Holz

BibTeX

2 sources · checked 

FlexEmu: Towards Flexible MCU Peripheral Emulation

2025CCS '25Conference paper

FlexEmu models MCU peripherals using reusable structural primitives and semantic models, then extracts peripheral-specific details to generate emulators for firmware analysis.

Scope & authors

Scope & limitations

The evaluation covers 12 peripheral kinds, 90 firmware samples on 15 MCU platforms, unit tests, and fuzzing of three RTOSes.

Authors & citation

Chongqing Lei; Zhen Ling; Xiangyu Xu; Shaofeng Li; Guangchi Liu; Kai Dong; Junzhou Luo

BibTeX

2 sources · checked 

FirmRCA: Towards Post-Fuzzing Analysis on ARM Embedded Firmware with Efficient Event-based Fault Localization

20252025 IEEE Symposium on Security and Privacy (SP)Conference paper

FirmRCA records execution events, traces data propagation backward through firmware crashes, and highlights likely root-cause instructions. It evaluated 41 crashes across 17 firmware images.

Scope & authors

Scope & limitations

The evaluation covers synthetic and real-world ARM embedded firmware targets and measures whether root causes appear among the top 10 instructions.

Authors & citation

Boyu Chang; Binbin Zhao; Qiao Zhang; Peiyu Liu; Yuan Tian; Raheem Beyah; Shouling Ji

BibTeX

3 sources · checked 

BaseBridge: Bridging the Gap Between Over-the-Air and Emulation Testing for Cellular Baseband Firmware

20252025 IEEE Symposium on Security and Privacy (SP)Conference paper

BaseBridge restores state from real-device memory dumps to emulate cellular baseband firmware. It evaluates message handling, coverage, LTE conformance, and fuzzing results.

Scope & authors

Scope & limitations

The prototype covers MediaTek and Samsung baseband firmware, tested RRC and NAS messages, several LTE conformance tests, and a fuzzing campaign.

Authors & citation

Daniel Klischies; Dyon Goos; David Hirsch; Alyssa Milburn; Marius Muench; Veelasha Moonsamy

BibTeX

3 sources · checked 

Target-Centric Firmware Rehosting with Penguin

2025Workshop on Binary Analysis Research (BAR) 2025Conference paper

Penguin rehosts embedded Linux firmware from an extracted filesystem by deriving an editable configuration of emulation transformations, such as file changes, pseudofiles, NVRAM values and network interfaces, from static analysis. Dynamic-analysis plugins expose failures so the configuration can be refined for each target, and a minimizer identifies which transformations a working rehosting needs.

Scope & authors

Scope & limitations

Targets embedded Linux firmware through whole-system emulation with kernel replacement, as in Firmadyne and FirmAE; the implementation covers x86, ARM and MIPS and relies on the Linux syscall ABI. In the FirmAE comparison, success means a process binds port 80 or 443; a non-empty HTTP response is a stricter check, and the authors note that full functionality remains unassessed by either check. The 75% gain over FirmAE is author-reported on their own corpus of 13,649 images from vendor websites. Refinement still needs an analyst, and nondeterministic runs were repeated up to ten times. It builds an analysis environment. Faithful device reproduction and source recovery remain outside that analysis environment.

Authors & citation

Andrew Fasano; Zachary Estrada; Luke Craig; Ben Levy; Jordan McLeod; Jacques Becker; Caden Kline; Elysia Witham; Cole DiLorenzo; Ali Bobi; Dinko Dermendzhiev; Tim Leek; Wil Robertson

BibTeX

8 sources · checked 

Mens Sana In Corpore Sano: Sound Firmware Corpora for Vulnerability Research

2025NDSS 2025Conference paper

The paper develops guidelines for sound firmware corpora, reviews corpus practices in 44 papers, and builds LFwC, a Linux firmware corpus with verified unpacking, deduplication, content identification, and ground truth.

Scope & authors

Scope & limitations

The review covers 44 top-tier papers; the new corpus supports large-scale analysis of Linux firmware.

Authors & citation

René Helmke; Elmar Padilla; Nils Aschenbruck

BibTeX

2 sources · checked 

AIM: Automatic Interrupt Modeling for Dynamic Firmware Analysis

2024IEEE Transactions on Dependable and Secure ComputingJournal article

AIM uses firmware-guided, just-in-time interrupt firing to support dynamic symbolic execution in angr. It evaluated eight real-world MCU firmware and compared coverage with prior approaches and a firmware fuzzer.

Scope & authors

Scope & limitations

The evaluation focuses on interrupt-dependent code in eight real-world MCU firmware analyzed with angr.

Authors & citation

Bo Feng; Meng Luo; Changming Liu; Long Lu; Engin Kirda

BibTeX

3 sources · checked 

SplITS: Split Input-to-State Mapping for Effective Firmware Fuzzing

2024ESORICS 2023Conference paper

SplITS uses input-to-state feedback and targeted mutations to solve multi-byte string comparisons during firmware fuzzing. It evaluated 21 real-world firmware binaries and 3 new binaries.

Scope & authors

Scope & limitations

The evaluation covers monolithic firmware binaries, focusing on string comparisons involving peripheral inputs.

Authors & citation

Guy Farrelly; Paul Quirk; Salil S. Kanhere; Seyit Camtepe; Damith C. Ranasinghe

BibTeX

3 sources · checked 

Faster and Better: Detecting Vulnerabilities in Linux-based IoT Firmware with Optimized Reaching Definition Analysis

2024NDSS 2024Conference paper

HermeScan uses reaching definition analysis to trace untrusted inputs to sensitive operations in Linux-based IoT firmware and identify potential vulnerabilities.

Scope & authors

Scope & limitations

The evaluation covers 30 recent firmware in a 0-day dataset and 98 older firmware in an N-day dataset, with comparisons against SaTC and KARONTE.

Authors & citation

Zicong Gao; Chao Zhang; Hangtian Liu; Wenhou Sun; Zhizhuo Tang; Liehui Jiang; Jianjun Chen; Yong Xie

BibTeX

2 sources · checked 

A survey on IoT & embedded device firmware security: architecture, extraction techniques, and vulnerability analysis frameworks

2023Discover Internet of ThingsJournal article

This survey reviews security analysis of IoT and embedded firmware, including firmware extraction and the frameworks used to look for vulnerabilities. It treats obtaining and unpacking a firmware image as part of the analysis problem.

Scope & authors

Scope & limitations

The fetched PDF is the 2023 open-access Discover Internet of Things article. Extraction procedures were not repeated.

Authors & citation

Shahid Ul Haq; Yashwant Singh; Amit Sharma; Rahul Gupta; Dipak Gupta

BibTeX

3 sources · checked 

Icicle: A Re-Designed Emulator for Grey-Box Firmware Fuzzing

2023ISSTA '23Conference paper

Icicle is a multi-architecture emulator for grey-box firmware fuzzing. It supports architecture-agnostic instrumentation and found 7 new bugs in MSP430 firmware binaries.

Scope & authors

Scope & limitations

The evaluation covers Fuzzware on ARM firmware, LAVA-M benchmarks across x86-64, ARM/AArch64, RISC-V and MIPS, and real-world MSP430 firmware binaries.

Authors & citation

Michael Chesser; Surya Nepal; Damith C. Ranasinghe

BibTeX

3 sources · checked 

Ember-IO: Effective Firmware Fuzzing with Model-Free Memory Mapped IO

2023ASIA CCS '23Conference paper

Ember-IO fuzzes rehosted firmware by generating memory-mapped I/O values that help execution progress and avoiding functionally equivalent inputs. It evaluates coverage and bug discovery on 21 firmware binaries.

Scope & authors

Scope & limitations

The evaluation covers 21 firmware binaries, comparing block coverage with an existing fuzzer and examining bug discovery; it also evaluates Ember-IO integrated with Fuzzware.

Authors & citation

Guy Farrelly; Michael Chesser; Damith C. Ranasinghe

BibTeX

3 sources · checked 

What Your Firmware Tells You Is Not How You Should Emulate It: A Specification-Guided Approach for Firmware Emulation

2022ACM CCS 2022Conference paper

SEmu builds microcontroller peripheral models from vendor reference manuals rather than from the firmware itself. An NLP pipeline built on the Stanford tagger and parser turns register descriptions, interrupt tables and DMA channel tables taken from the manuals into structured condition-action rules, which the emulator checks, executes and chains at run time to answer MMIO accesses and raise interrupts or DMA requests. A symbolic-execution diagnostic tool built on S2E and µEmu traces invalid states back to the rules likely responsible, so that a person can correct them. The authors also use the models for fuzzing and to check driver code against specification rules.

Scope & authors

Scope & limitations

Rule extraction requires manual correction. The NLP engine mishandles cross-sentence references and nested conditions, and the raw rules for the clock peripherals of all three unit-test chips broke booting, so every one of P2IM's 66 unit tests failed until those rules were revised. After diagnosis-guided manual correction (26 rules added, 21 fixed and 3 removed, against 3,602 rules extracted from 23,424 sentences), the authors report that all 66 unit tests and 17 additional samples were emulated. Users must identify the MCU, configure memory maps and copy the needed manual sections into the pipeline, and diagnosis needs prepared test firmware; three developers took about two hours on average to fix the F103 I2C rules. The prototype covers 26 peripherals on five boards from three vendors (STM32F1, F4 and L1, NXP K64 and Atmel SAM3X), and trace-fidelity comparisons used real-hardware traces from only the K64F and F103RB boards. Rules model documented behaviour; equivalence with the silicon was outside the evaluation.

Authors & citation

Wei Zhou; Lan Zhang; Le Guan; Peng Liu; Yuqing Zhang

BibTeX

7 sources · checked 

MetaEmu: An Architecture Agnostic Rehosting Framework for Automotive Firmware

2022arXivPreprint

MetaEmu synthesizes processor emulators from Ghidra language definitions to rehost automotive firmware across architectures and support inter-device analysis.

Scope & authors

Scope & limitations

The evaluation covers five architectures, bare-metal and RTOS firmware, and three kinds of automotive ECU from four vendors. Demonstrated analyses include fuzzing, symbolic execution, CAN ID reverse engineering, and inter-device coverage tracking.

Authors & citation

Zitai Chen; Sam L. Thomas; Flavio D. Garcia

BibTeX

1 source · checked 

Fuzzware: Using Precise MMIO Modeling for Effective Firmware Fuzzing

2022USENIX Security 2022Conference paper

Rehosts monolithic ARM Cortex-M firmware for fuzzing, using locally scoped symbolic execution to model memory-mapped I/O accesses and focus input mutations on values relevant to firmware logic.

Scope & authors

Scope & limitations

The Cortex-M3/M4 artifact requires memory-map configuration and does not automatically model DMA. Abstracting hardware can produce crashes that are impossible on the physical device. This is an analysis environment; original-source recovery and faithful full-device reconstruction remain outside its scope.

Authors & citation

Tobias Scharnowski; Nils Bars; Moritz Schloegel; Eric Gustafson; Marius Muench; Giovanni Vigna; Christopher Kruegel; Thorsten Holz; Ali Abbasi

BibTeX

8 sources · checked 

A large-scale empirical analysis of the vulnerabilities introduced by third-party components in IoT firmware

2022ISSTA '22Conference paper

FirmSec identifies third-party components and versions in IoT firmware using syntactic and control-flow features, then maps them to vulnerabilities. The study analyzes 34,136 firmware images.

Scope & authors

Scope & limitations

The analysis covers 11,086 publicly accessible firmware images and 23,050 private images from TSmart, focusing on third-party components and their associated vulnerabilities.

Authors & citation

Binbin Zhao; Shouling Ji; Jiacheng Xu; Yuan Tian; Qiuyang Wei; Qinying Wang; Chenyang Lyu; Xuhong Zhang; Changting Lin; Jingzheng Wu; Raheem Beyah

BibTeX

3 sources · checked 

Reverse engineering and retrofitting robotic aerial vehicle control firmware using dispatch

2022MobiSys '22Conference paper

DisPatch decompiles RAV firmware to recover controller functions and variables, then injects patches written in a DSL. It was evaluated on 3DR IRIS+ and MantisQ firmware and two bug fixes.

Scope & authors

Scope & limitations

The evaluation covers two commodity RAV firmware instances, two firmware bugs, patch overhead, and soft real-time deadlines.

Authors & citation

Taegyu Kim; Aolin Ding; Sriharsha Etigowni; Pengfei Sun; Jizhou Chen; Luis Garcia; Saman Zonouz; Dongyan Xu; Dave (Jing) Tian

BibTeX

2 sources · checked 

FirmWire: Transparent Dynamic Analysis for Cellular Baseband Firmware

2022NDSS 2022Conference paper

FirmWire emulates unmodified baseband firmware, discovers internal APIs for message injection, and uses them to fuzz LTE and GSM protocols, finding seven pre-authentication memory corruptions.

Scope & authors

Scope & limitations

The platform supports 213 firmware images from 2 vendors and 9 phone models; the reported fuzzing covers LTE and GSM.

Authors & citation

Grant Hernandez; Marius Muench; Dominik Maier; Alyssa Milburn; Shinjo Park; Tobias Scharnowski; Tyler Tucker; Patrick Traynor; Kevin Butler

BibTeX

2 sources · checked 

ECMO: Peripheral Transplantation to Rehost Embedded Linux Kernels

2021Proceedings of the 2021 ACM SIGSAC Conference on Computer and Communications SecurityConference paper

ECMO transplants peripheral drivers into embedded Linux kernels to boot firmware in QEMU. It evaluated 815 firmware images across 20 kernel versions, 37 device models, and 24 vendors; 710 reached a user-space shell.

Scope & authors

Scope & limitations

The evaluation covers embedded Linux firmware across differing SoCs, QEMU kernel rehosting, kernel crash analysis, rootkit forensics, and kernel fuzzing.

Authors & citation

Muhui Jiang; Lin Ma; Yajin Zhou; Qiang Liu; Cen Zhang; Zhi Wang; Xiapu Luo; Lei Wu; Kui Ren

BibTeX

2 sources · checked 

Jetset: Targeted Firmware Rehosting for Embedded Systems

2021USENIX Security 2021Conference paper

Jetset rehosts firmware only as far as an analyst-chosen goal address, such as the point where a fuzzer can inject input. Given the architecture, the MMIO address range, an entry point and the goal, it symbolically executes the firmware with angr against a modified QEMU, treating peripheral reads as symbolic, cycling interrupts, and steering toward the goal with CFG distances and Tabu search. Solved constraints become C peripheral models for QEMU that replay the inferred values and interrupts so the firmware boots concretely to the goal. The authors evaluate 13 targets across x86, ARM and Motorola ColdFire, including Linux on a Raspberry Pi 2, a BeagleBoard-xM bootloader, a SEL-751 relay, a Boeing 737 CMU-900 and nine P²IM firmware, and use the CMU model with AFL to find a privilege escalation in its VRTX kernel.

Scope & authors

Scope & limitations

This is targeted rehosting. The analyst supplies the MMIO range, entry point and goal address, and the synthesized models replay one satisfying path and then the last satisfying value for each address, so they need not match real hardware and may mishandle stateful or complex peripheral interaction after the goal. DMA is unsupported; the two targets that needed it relied on an existing QEMU device model or a manually symbolic memory region. Incomplete CFGs, for example across virtual calls or x86 task switches, weaken the distance heuristic, and the BeagleBoard-xM emulator crashed when synthesized serial data was executed as code. Fidelity checks compare against hardware or a manually built QEMU model for selected targets. The VRTX privilege escalation is described by the authors as primarily of academic interest.

Authors & citation

Evan Johnson; Maxwell Bland; YiFei Zhu; Joshua Mason; Stephen Checkoway; Stefan Savage; Kirill Levchenko

BibTeX

9 sources · checked 

Automatic Firmware Emulation through Invalidity-guided Knowledge Inference

2021USENIX Security 2021Conference paper

µEmu emulates ARM Cortex-M microcontroller firmware without real hardware or hand-written peripheral models by symbolically executing the image with unknown peripheral registers as symbols. Invalidity-guided exploration detects invalid states such as unexpected infinite loops and steers execution toward valid paths, caching the chosen responses at individual peripheral access points in a tiered knowledge base whose rules range from simple storage to PC- and calling-context-based matching. During dynamic analysis the knowledge base answers peripheral reads while an integrated, modified AFL fuzzer supplies data-register input. The prototype extends S2E 2.0 with Cortex-M support.

Scope & authors

Scope & limitations

Targets ARM Cortex-M firmware; the repository lists DMA and other architectures as unsupported help-wanted items. Responses need only satisfy the firmware's own checks; they need not reproduce real peripheral values, and hardware equivalence was outside the evaluation. Invalidity checks can miss unhandled error paths, data registers can be mis-categorized (3 of 43 were missed against ground truth taken from chip manuals), and long loops whose concrete counters depend on symbols may go undetected. On P2IM's 66 unit tests the final paper reports 63 passes (95%) without manual help, and all after adding one invalid program point to each failure. Across 21 real-world firmware samples, 6 needed a user-defined invalid point and 3 a manually added data register. Coverage counts QEMU translation blocks against IDA-counted basic blocks, following P2IM.

Authors & citation

Wei Zhou; Le Guan; Peng Liu; Yuqing Zhang

BibTeX

5 sources · checked 

SoK: Enabling Security Analyses of Embedded Systems via Rehosting

2021ACM ASIA CCS 2021Conference paper

Systematizes rehosting: moving embedded firmware from its physical hardware into a virtual environment that models enough hardware behavior for dynamic analysis such as fuzzing and symbolic execution. The authors measure why whole-system emulation does not scale using 2,574 hardware configurations, 1,956 device tree blobs from Linux 5.11.4 and 618 vendor ARM Cortex SVD files. They compare corpus CPU models with QEMU support, count unique peripherals, use driver source lines as a complexity proxy, and run a Monte Carlo simulation of adding peripheral models SoC by SoC. Supporting a random 10% of the SoCs would need about 3,947 peripherals for the Linux corpus and 1,730 for the ARM Cortex corpus, against 1,083 implemented in QEMU 5.2. The paper then classifies prior systems by how they emulate, replace, symbolically model, pass through to hardware or leave each layer unmodified, describes an iterative rehosting process with fidelity evaluation, and sets out open problems.

Scope & authors

Scope & limitations

This is a systematization with a measurement study. The measurements use hardware descriptions rather than firmware images: device trees cover Linux-based (Type-1) systems and SVD files cover only ARM Cortex hardware, and only architectures or vendors with ten or more samples are counted. Driver source lines are an explicitly rough proxy for the effort of modeling a peripheral, and closed-source drivers are assigned an architecture average. The conclusion that manually written hardware emulators will not scale rests on these proxies and on QEMU 5.2 and OVPsim as of early 2021. The authors note that rehosting fidelity lacks a formal definition and that no large-scale fidelity evaluations exist, so the taxonomy compares approaches qualitatively; a concurrent survey covers fidelity in more detail.

Authors & citation

Andrew Fasano; Tiemoko Ballo; Marius Muench; Tim Leek; Alexander Bulekov; Brendan Dolan-Gavitt; Manuel Egele; Aurélien Francillon; Long Lu; Nick Gregory; Davide Balzarotti; William Robertson

BibTeX

6 sources · checked 

Conware: Automated Modeling of Hardware Peripherals

2021ACM ASIA CCS 2021Conference paper

Conware builds reusable software models of hardware peripherals from recordings of real firmware–peripheral interactions. An LLVM pass instruments Arduino source code to log MMIO reads, writes and interrupts on the real board, with existing hardware-in-the-loop recording as an alternative. Each recording becomes a per-peripheral graph whose read values are summarized as simple sub-models such as patterns; graphs are merged and optimized into automata that can be combined across peripherals and run in an Avatar²-based emulator. The authors model ten peripherals on an Arduino Due (SAM3X Cortex-M3) and emulate an uninstrumented smart-door-lock firmware from models trained only on vendor example code.

Scope & authors

Scope & limitations

Training needs the real board with the peripherals attached, plus source code for the LLVM-based recorder. The evaluation covers bare-metal Arduino Due firmware with ten hobbyist peripherals, and port-mapped I/O systems are out of scope. Models encode only behaviour observed during recording, assume that state transitions follow MMIO writes, and attach interrupts to transitions rather than to the writes that trigger them, so read-triggered transitions and exact interrupt timing are not supported. The unseen-firmware result is a single door-lock program built from six peripheral models. Its UART output matched real hardware, and it executed 362 of the 609 basic blocks (59%) and 58 of the 68 functions (85%) reachable from loop(); the authors measure survivability of execution rather than full peripheral fidelity. Record-and-replay comparisons ran each sample once for 10 minutes, since replays are deterministic.

Authors & citation

Chad Spensky; Aravind Machiry; Nilo Redini; Colin Unger; Graham Foster; Evan Blasband; Hamed Okhravi; Christopher Kruegel; Giovanni Vigna

BibTeX

7 sources · checked 

Snipuzz: Black-box Fuzzing of IoT Firmware via Message Snippet Inference

2021ACM CCS 2021Conference accepted

Snipuzz fuzzes IoT firmware as a client, using device responses to infer message snippets that guide mutations. It was evaluated on 20 real-world IoT devices and compared with four IoT fuzzing approaches.

Scope & authors

Scope & limitations

The evaluation covers 20 popular real-world IoT devices and comparisons with IoTFuzzer, BooFuzz, Doona, and Nemesys. It reports five newly discovered zero-day vulnerabilities, three exposed only by Snipuzz.

Authors & citation

Xiaotao Feng; Ruoxi Sun; Xiaogang Zhu; Minhui Xue; Sheng Wen; Dongxi Liu; Surya Nepal; Yang Xiang

BibTeX

1 source · checked 

DICE: Automatic Emulation of DMA Input Channels for Dynamic Firmware Analysis

2021IEEE S&P 2021Conference paper

DICE adds DMA input emulation to microcontroller firmware emulators that model neither peripherals nor DMA controllers. It watches firmware writes to the memory-mapped DMA controller region for pairs of source and destination transfer pointers, and infers the transfer direction from later firmware accesses. When firmware reads a peripheral-to-RAM destination buffer, DICE answers with analyzer-supplied input such as fuzzer data, growing buffer bounds conservatively. Prototypes patch the QEMU forks of P2IM (ARM Cortex-M) and a PIC32 emulator (MIPS M4K/M-Class). On 83 sample firmware covering 9 DMA controllers from 5 vendors, the authors report 33 of 37 input channels detected with no false positives, correct input for 21 of 22 buffers and 3.4% average overhead. Fuzzing 7 real firmware for 48 hours found 5 previously unknown bugs.

Scope & authors

Scope & limitations

Emulates DMA input channels only; it does not model peripheral behavior, recover peripheral semantics or produce a faithful device replica, and supplied inputs are analyzer data rather than real peripheral traffic. It assumes transfer descriptors are written to DMA controller registers, so descriptors stored in RAM are unsupported. Destination-only configurations, used by two controller models such as nRF52832 EasyDMA, are also missed, accounting for 7 of 52 stream configurations. Buffer sizes are heuristic estimates. Ground truth came from datasheets and firmware inspection, and results cover the authors' 83 sample firmware and 7 fuzzed firmware. Bugs were found in two of the seven fuzzed firmware with a basic memory sanitizer. The PIC32 prototype runs only firmware whose other peripherals can be handled by simple default register handlers.

Authors & citation

Alejandro Mera; Bo Feng; Long Lu; Engin Kirda

BibTeX

7 sources · checked 

Challenges in Firmware Re-Hosting, Emulation, and Analysis

2021ACM Computing SurveysJournal article

Surveys firmware re-hosting tools and workflows, classifies popular works along five axes, and presents 28 challenges from firmware acquisition through post-emulation analysis.

Scope & authors

Scope & limitations

Covers tool selection and challenges across the firmware re-hosting workflow.

Authors & citation

Christopher Wright; William A. Moeglein; Saurabh Bagchi; Milind Kulkarni; Abraham A. Clements

BibTeX

2 sources · checked 

From Library Portability to Para-rehosting: Natively Executing Microcontroller Software on Commodity Hardware

2021Proceedings 2021 Network and Distributed System Security SymposiumConference paper

The paper uses a POSIX-based portable MCU and replaceable peripheral drivers to rehost MCU software for native execution and security testing on commodity hardware.

Scope & authors

Scope & limitations

It rehosts nine MCU operating systems, including Amazon FreeRTOS, ARM Mbed OS, Zephyr, and LiteOS. AFL and ASAN testing found 28 previously unknown bugs; five received CVEs and 19 were confirmed by vendors at the time of writing.

Authors & citation

Wenqiang Li; Le Guan; Jingqiang Lin; Jiameng Shi; Fengjun Li

BibTeX

2 sources · checked 

BaseSpec: Comparative Analysis of Baseband Software and Cellular Specifications for L3 Protocols

2021NDSS 2021Conference paper

BaseSpec extracts message structures from baseband firmware and compares them with cellular specifications. It found mismatches linked to functional errors and memory vulnerabilities.

Scope & authors

Scope & limitations

The evaluation covered 18 firmware images from 9 models of one vendor and 3 models from another vendor.

Authors & citation

Eunsoo Kim; Dongkwan Kim; CheolJun Park; Insu Yun; Yongdae Kim

BibTeX

2 sources · checked 

FirmAE: Towards Large-Scale Emulation of IoT Firmware for Dynamic Analysis

2020ACSAC 2020Conference paper

Extends Firmadyne with empirically derived interventions for boot, networking, NVRAM, kernel behavior, and other runtime failures, enabling Linux router and IP-camera firmware web services to run for dynamic analysis.

Scope & authors

Scope & limitations

Arbitration deliberately changes execution and targets functioning web interfaces, not identical physical-device behavior. The evaluation covers ARM little-endian and MIPS little-/big-endian firmware from routers and IP cameras; heuristics may fail on unseen devices or configurations. It reuses firmware binaries rather than recovering their source.

Authors & citation

Mingeun Kim; Dongkwan Kim; Eunsoo Kim; Suryeon Kim; Yeongjin Jang; Yongdae Kim

BibTeX

6 sources · checked 

Device-agnostic Firmware Execution is Possible: A Concolic Execution Approach for Peripheral Emulation

2020ACSAC '20Conference paper

Laelaps uses symbolic execution to infer the peripheral inputs firmware expects and steer its concrete execution without prior device knowledge.

Scope & authors

Scope & limitations

The evaluation covers dynamic analysis of microcontroller firmware and identification of self-injected and real-world vulnerabilities.

Authors & citation

Chen Cao; Le Guan; Jiang Ming; Peng Liu

BibTeX

2 sources · checked 

FirmXRay: Detecting Bluetooth Link Layer Vulnerabilities From Bare-Metal Firmware

2020CCS '20Conference paper

FirmXRay statically analyzes bare-metal BLE firmware, identifying base addresses, data structures, and configuration values to detect link-layer vulnerabilities. It evaluated 793 firmware images from 538 devices.

Scope & authors

Scope & limitations

The prototype uses Ghidra and focuses on BLE firmware from Nordic and Texas Instruments SoCs.

Authors & citation

Haohuang Wen; Zhiqiang Lin; Yinqian Zhang

BibTeX

2 sources · checked 

P2IM: Scalable and Hardware-independent Firmware Testing via Automatic Peripheral Interface Modeling

2020USENIX Security 2020Conference paper

P2IM emulates monolithic ARM Cortex-M firmware in a modified QEMU by classifying memory-mapped I/O registers as control-status, status, data or control-data during speculative execution runs and feeding fuzzer inputs through data registers and round-robin interrupts.

Scope & authors

Scope & limitations

Scoped to processor-peripheral interfaces in monolithic ARM Cortex-M firmware without OS kernels; DMA, nuanced interrupt timing and external bus devices are outside its model, and it assumes firmware runs through peripheral abstraction layers (HAL/driver libraries). Misclassified registers, unmodeled hardware semantics or unsupported MCU layouts can stall booting or cause false crashes and hangs. Evaluating 70 sample programs and 10 real-world device firmwares establishes a fuzzing environment for fuzzing.

Authors & citation

Bo Feng; Alejandro Mera; Long Lu

BibTeX

11 sources · checked 

HALucinator: Firmware Re-hosting Through Abstraction Layer Emulation

2020USENIX Security 2020Conference paper

HALucinator rehosts monolithic ARM Cortex-M firmware by identifying hardware-abstraction-library functions and replacing them with authored Python handlers and peripheral models. LibMatch locates library interfaces; the QEMU/Avatar2 implementation supports interactive I/O, while the paper-associated HAL-fuzz variant uses AFL-Unicorn for fuzzing.

Scope & authors

Scope & limitations

LibMatch requires an available HAL/library and a sufficiently similar compilation environment; compiler variation and inlining limit matching. Rehosting also needs a QEMU-supported architecture, firmware memory layout, interception addresses and authored handlers/models. Unmodeled direct hardware accesses may return zero or ignore writes; timing and peripheral behavior are simplified. The demonstrations cover the tested firmware rehosting and fuzzing cases; hardware equivalence, universal firmware coverage, complete device reconstruction and original-source recovery remain outside their scope.

Authors & citation

Abraham A Clements; Eric Gustafson; Tobias Scharnowski; Paul Grosen; David Fritz; Christopher Kruegel; Giovanni Vigna; Saurabh Bagchi; Mathias Payer

BibTeX

12 sources · checked 

On Manually Reverse Engineering Communication Protocols of Linux Based IoT Systems

2020arXivPreprint

Presents a manual framework for reverse engineering communication protocols in embedded Linux IoT systems. It applies the framework to several systems and details a WeMo smart plug case study.

Scope & authors

Scope & limitations

The detailed evaluation covers a WeMo smart plug: extracting firmware from flash, analyzing it statically and dynamically, and examining network traffic. The framework covers read-only and writable embedded Linux filesystems.

Authors & citation

Kaizheng Liu; Ming Yang; Zhen Ling; Huaiyu Yan; Yue Zhang; Xinwen Fu; Wei Zhao

BibTeX

1 source · checked 

BaseSAFE: Baseband SAnitized Fuzzing through Emulation

2020Proceedings of the 13th ACM Conference on Security and Privacy in Wireless and Mobile NetworksConference paper

BaseSAFE partially rehosts closed-source cellular baseband firmware for instrumented fuzzing and uses a sanitizing allocator to detect heap buffer overflows.

Scope & authors

Scope & limitations

The evaluation fuzzed rogue-base-station-accessible parsers in a Nucleus RTOS-based MediaTek baseband, using LTE signaling message test cases. It found memory corruption and reached about 15,000 test cases per second in total.

Authors & citation

Dominik Maier; Lukas Seidel; Shinjo Park

BibTeX

2 sources · checked 

Frankenstein: Advanced Wireless Fuzzing to Exploit New Bluetooth Escalation Targets

2020USENIX Security 2020Conference accepted

Frankenstein emulates Bluetooth firmware dumps and fuzzes a virtual modem. It evaluates Broadcom and Cypress stacks, finding three zero-click vulnerabilities, host escalation issues, and BlueFrag on Android.

Scope & authors

Scope & limitations

The evaluation covers Broadcom and Cypress Bluetooth stacks, Wi-Fi/Bluetooth coexistence, a Bluetooth 5.2 link-key flaw, and Android devices.

Authors & citation

Jan Ruge; Jiska Classen; Francesco Gringoli; Matthias Hollick

BibTeX

1 source · checked 

FirmUp: Precise Static Detection of Common Vulnerabilities in Firmware

2018ACM SIGPLAN NoticesJournal article

FirmUp matches known vulnerable procedures in stripped firmware binaries using procedure similarity and relationships among procedures. It evaluated over 40 million procedures across 4 architectures and found 373 vulnerabilities.

Scope & authors

Scope & limitations

The evaluation covers publicly available vendor firmware images across 4 architectures and searches for occurrences of a known vulnerable procedure.

Authors & citation

Yaniv David; Nimrod Partush; Eran Yahav

BibTeX

2 sources · checked 

FirmUSB: Vetting USB Device Firmware using Domain Informed Symbolic Execution

2017CCS '17Conference paper

FirmUSB uses USB protocol knowledge and symbolic execution to analyze firmware without source code. It finds malicious activity in embedded 8051 firmware and reports a 7× speedup over unconstrained symbolic execution.

Scope & authors

Scope & limitations

The evaluation covers embedded USB device firmware, including 8051 firmware, and compares its targeting algorithms with unconstrained fully symbolic execution.

Authors & citation

Grant Hernandez; Farhaan Fowze; Dave Tian; Tuba Yavuz; Kevin R. B. Butler

BibTeX

2 sources · checked 

Scalable Graph-based Bug Search for Firmware Images

2016CCS'16Conference paper

Genius converts binary control-flow graphs into numeric vectors and uses hashing to search firmware for similar vulnerable functions. The paper evaluates search speed and accuracy against earlier approaches.

Scope & authors

Scope & limitations

The evaluation covers a dataset of 33,045 devices, searches across 8,126 firmware images, and searches for 154 vulnerabilities in two D-LINK firmware images. Manual analysis examined candidates among the top 50 search results.

Authors & citation

Qian Feng; Rundong Zhou; Chengcheng Xu; Yao Cheng; Brian Testa; Heng Yin

BibTeX

2 sources · checked 

Towards Automated Dynamic Analysis for Linux-based Embedded Firmware

2016NDSS 2016Conference paper

Firmadyne crawls, extracts and emulates Linux-based firmware for network-connected commercial devices such as routers and IP cameras. It replaces the vendor kernel with pre-built, instrumented kernels for little-endian ARM and little- and big-endian MIPS, boots the extracted filesystem under QEMU full-system emulation with a userspace NVRAM library, infers the network configuration, then runs automated analyses including 60 known and 14 newly found exploits. From 23,035 images across 42 vendors, the authors extracted 9,486 and report 887 of the 1,971 network-reachable images vulnerable to at least one sampled exploit.

Scope & authors

Scope & limitations

The work targets Linux-based firmware on little-endian ARM and little- and big-endian MIPS, which made up 90.8% of the dataset; x86, VxWorks and other real-time operating systems are outside the system. Its pre-built kernels do not load vendor out-of-tree kernel modules, so vendor kernels and modules are outside the checks, and instrumented emulation can differ from device behavior. The emulation funnel narrows sharply: of 8,591 images that initially emulated, 2,797 had a network configuration inferred and 1,971 answered ping. NVRAM semantics, interface naming and a single emulated Ethernet device on ARM are among the reported causes. WAN and LAN ports are grouped together, leaving remote exploitability undetermined; results count firmware images rather than unique products and are skewed by vendor composition. FirmAE extends Firmadyne to address such emulation failures; these rates describe 2016 results.

Authors & citation

Daming D. Chen; Manuel Egele; Maverick Woo; David Brumley

BibTeX

7 sources · checked 

Automated Dynamic Firmware Analysis at Scale: A Case Study on Embedded Web Interfaces

2015arXivPreprint

The paper emulates firmware images and uses static and dynamic tools to find vulnerabilities in embedded web interfaces. It evaluated 1,925 images from 54 vendors and found vulnerabilities in 185 images.

Scope & authors

Scope & limitations

The study covers embedded web interfaces and network services in COTS device firmware, including routers, modems, VoIP phones, and IP/CCTV cameras. Its method is designed for different vendors, devices, and architectures.

Authors & citation

Andrei Costin; Apostolis Zarras; Aurélien Francillon

BibTeX

1 source · checked 

Avatar: A Framework to Support Dynamic Security Analysis of Embedded Systems’ Firmwares

2014NDSS 2014Conference paper

Avatar runs embedded firmware in an instrumented emulator, S²E on QEMU, while forwarding memory-mapped I/O to the real device and injecting the device's interrupts back into the emulator, so firmware that depends on undocumented peripherals can still be analyzed dynamically. The device is reached through JTAG via OpenOCD or through a small debugging stub over a serial line. Because forwarding every access over a 38400-baud serial link is very slow, about five instructions per second in one of the authors' measurements, Avatar also keeps memory that never behaves like I/O local to the emulator, migrates selected code to run natively on the device, and switches state between the two. With S²E's selective symbolic execution, the authors probe a hard-disk mask-ROM bootloader for hidden commands, an IEEE 802.15.4 sensor node for an injected overflow, and the SMS decoding routines of a GSM feature phone.

Scope & authors

Scope & limitations

Avatar needs a physical device and a working debug channel or an injectable stub; peripheral modeling is outside its method. The three case studies are all ARM devices (a hard disk with an ARM966 core, a Redwire Econotag and a Motorola C118 phone), and each needed manual work to choose hook points and code regions. Full-separation mode is too slow for time-critical code such as DRAM initialization, and the authors report that memory changed by DMA, or by code migrated to the device, is hard to keep synchronized with the emulator. The sensor-node vulnerability was artificially inserted into a demonstration program, the bootloader study confirmed documented commands rather than finding a backdoor, and the phone's GSM stack was too complex for symbolic execution: 42 subroutines were explored without an exploitable condition before state explosion. These are 2014 results on an S²E port the authors extended for ARM.

Authors & citation

Jonas Zaddach; Luca Bruno; Aurélien Francillon; Davide Balzarotti

BibTeX

6 sources · checked 

Protocol inference and analysis

33 papers

SEMPRE: Semantic-Aware Protocol Reverse Engineering via Consistency-Driven Joint Optimization

2026arXivPreprint

SEMPRE uses dynamic analysis and LLM reasoning to recover hierarchical message fields, infer their types and roles, and refine field boundaries. It evaluates the method on mainstream protocols and a botnet case study.

Scope & authors

Scope & limitations

The evaluation covers mainstream protocols, comparisons with six baselines, component ablations, and a botnet case study.

Authors & citation

Yihua Xu; Weijie Huang; Xiaofeng Wang; Hang Zhang; Binghui Wang; Yue Duan

BibTeX

1 source · checked 

Protocol Reverse Engineering via Deep Transfer Learning

2026Proceedings of the ACM on Software Engineering / FSE 2026Journal article

Transfers field-boundary patterns from standardized protocol traces labeled by Tshark to poorly documented target protocols. A source-selection stage chooses related protocols, and a neural domain-adaptation model infers message syntax from their shared patterns.

Scope & authors

Scope & limitations

Recovers message syntax, not state transitions. Evaluation uses 12 protocol variants; payload noise can distort source selection, while encrypted, compressed or obfuscated traffic needs separate preprocessing. Camera experiments supplement format metrics, but the four reported issues were vendor-known, and complete protocol recovery remains unverified.

Authors & citation

Yanyang Zhao; Zhengxiong Luo; Wenlong Zhang; Feifan Wu; Yuanliang Chen; Fuchen Ma; Qi Xu; Heyuan Shi; Yu Jiang

BibTeX

3 sources · checked 

RFCLLM: Evaluating LLMs' Reasoning Ability of Network Protocol State Machines

2026Findings of EMNLP 2026Conference accepted

Tests reasoning over protocol state machines using 1,482 questions across 16 protocols. Four context settings distinguish RFC retrieval from reasoning over supplied transitions; tasks cover next states, conditions, predecessor states and paths.

Scope & authors

Scope & limitations

Evaluates reasoning over prepared FSMs; FSM extraction and implementation reconstruction are outside the contribution. Gold FSMs were prepared by one author; judge agreement was checked on 50 instances by the three authors. Packet formats, error handling, configurations and real code mappings are outside scope. Results depend on context, judges and output budgets.

Authors & citation

Anqi Chen; Dan Goldwasser; Cristina Nita-Rotaru

BibTeX

3 sources · checked 

Recovering Process Variables from Industrial Network Traffic via Search-Based Optimization

2026CCS 2026Conference accepted

PVParser recovers process-variable layouts from industrial traffic and historian records. Periodic-pattern detection locates relevant payloads; a modified Monte Carlo tree search proposes field boundaries, types and endianness, then aligns decoded sequences with observed process variables.

Scope & authors

Scope & limitations

Payload localization uses SCADA-N, SWaT and WADI; field/semantic recovery uses SWaT and WADI. Recovery depends on traffic and historian observations plus recurrent, stable plaintext byte layouts. Encrypted traffic, bit-level buses and event-driven messages whose PV lists vary are outside scope. It complements protocol dissectors.

Authors & citation

Chuan Sheng; Shan Jiang; Jianming Zhao; Yu Yao

BibTeX

3 sources · checked 

ICEPRE: ICS Protocol Reverse Engineering via Data-Driven Concolic Execution

2025Proceedings of the ACM on Software Engineering (ISSTA 2025)Journal article

Infers message-field boundaries by following concrete message-guided paths through binary protocol parsers, then symbolically replaying them to extract byte-level data flow. It merges bytes using value-preserving operations and similar processing traces. For the 1,000-message datasets of four public ICS protocols, the authors report average boundary F1 of 0.76 and field perfection of 0.67.

Scope & authors

Scope & limitations

Recovery covers message syntax; field semantics, protocol state machines and endpoint equivalence are outside its scope. It needs the binary, loader configuration and correctly identified initialization, input and parsing functions; manual filtering remains necessary, especially without symbols. Encrypted protocols and bit-level fields are unsupported, and ignored or only copied bytes can be merged incorrectly. Perfection measures fields with both boundaries correct. Quantitative tests use four public protocols with 50- and 1,000-message sets; separate proprietary studies cover three protocols in five firmware targets, with interaction checks on three devices and manually established ground truth. The interaction checks cover the tested interactions; complete device behavior remains untested.

Authors & citation

Yibo Qu; Dongliang Fang; Zhen Wang; Jiaxing Cheng; Shuaizong Si; Yongle Chen; Limin Sun

BibTeX

12 sources · checked 

Unleashing the Power of LLM to Infer State Machine From the Protocol Implementation

2025IWQoS 2025Conference paper

ProtocolGPT infers protocol state machines from implementation source code with a retrieval-augmented LLM. It extracts state-machine-related code with regular expressions and a code filter, splits it into syntax-aware chunks stored in a FAISS vector store with OpenAI embeddings, and prompts GPT-4 step by step to recover states and message-triggered transitions. On six protocols in five open-source code bases (IKEv2, TLS 1.3, TLS 1.2, BGP, RTSP and L2TP), the authors report transition precision above 90%, more than 30% higher precision and 55% higher recall than baselines. Seeding AFLNet with the inferred machines raised coverage by more than 20% and found two previously unknown crash bugs in an RTSP server.

Scope & authors

Scope & limitations

Requires source code; binaries or traffic alone are insufficient inputs. Each implementation was chosen for explicitly defined states, and results cover only the six evaluated protocols, two of which share the s2n-tls code base. Ground truth was built manually by three experts from repository code; precision and recall count only fully correct transitions. RFCNLP had higher precision on RTSP. Results depend on GPT-4 at temperature 0.2 through a commercial API, so outputs and costs may change. The inferred machines are LLM summaries of the implementations; implementation fidelity and equivalence were outside the evaluation. Fuzzing gains come from AFLNet seeds; BGP's event-driven transitions limited message-based coverage. The two crash bugs are in the feng RTSP server.

Authors & citation

Haiyang Wei; Ligeng Chen; Zhengjie Du; Yuhan Wu; Haohui Huang; Yue Liu; Guang Cheng; Fengyuan Xu; Linzhang Wang; Bing Mao

BibTeX

5 sources · checked 

BinPRE: Enhancing Field Inference in Binary Analysis Based Protocol Reverse Engineering

2024ACM CCS 2024Conference paper

Infers protocol-message field boundaries and semantics from instrumented server binaries and input messages. BinPRE groups bytes by the instruction operators that process them, applies detectors for field types and functions, then refines results across similar messages. On eight protocols with 50 messages each, the authors report average field perfection of 0.73 and type/function F1 scores of 0.74/0.81.

Scope & authors

Scope & limitations

The study infers fields; protocol state machines and complete endpoint behavior are outside its scope. It requires an accessible, instrumentable implementation and runtime message processing; runtime processing is required beyond passive captures. Perfection counts exactly segmented fields against all true fields, rather than a measure of recovered protocols. The detector library covers five semantic types and six functions. Byte-level taint has limited accuracy for bit flags; unexercised behavior remains untested. Ground truth uses Wireshark dissectors and specifications; three binary-analysis baselines were author reimplementations. Reported fuzzing improvements are a downstream evaluation of those cases; implementation equivalence remains outside its scope.

Authors & citation

Jiayi Jiang; Xiyuan Zhang; Chengcheng Wan; Haoyi Chen; Haiying Sun; Ting Su

BibTeX

14 sources · checked 

DynPRE: Protocol Reverse Engineering via Dynamic Inference

2024NDSS 2024Conference paper

DynPRE starts from captured client–server traces and then interacts with a live protocol server to infer message formats and types. It detects session-specific identifiers such as cookies and rewrites them on the fly so that replayed requests stay valid. It then sends byte-level probe requests whose responses serve as semantic feedback for field identification, aligns the responses, and applies a request–response mapping refinement that also recognizes message types. On 12 protocols with 10-, 100- and 1,000-message datasets, the authors report average field perfection of 0.50 and message-type V-measure of 0.94, against 0.15–0.31 perfection for Netzob, NetPlier, FieldHunter, BinaryInferno and NEMESYS.

Scope & authors

Scope & limitations

The method needs captured traces plus a reachable server that it can query repeatedly; it does not work from passive captures alone. Probing changes server state: each probe opens a new session, but protocols with global state, such as IoT device power state, can still degrade feedback. On the 1,000-message datasets an analysis averaged 259 minutes, 50,344 connection attempts and about 3.98 million exchanged messages, so slow or rate-limiting servers reduce efficiency. Encryption and authentication were disabled in the open-source evaluation setups, and encrypted traffic in the IoT case studies was decrypted with device private keys. Checksummed protocols need an added checksum-reversal step, shown only on ICMP. Format ground truth comes from tshark dissectors, and message types from manual reading of protocol documents. The five-device IoT case studies test whether generated messages trigger device behaviors, not whether specifications are complete. State-machine inference reuses existing methods and is not evaluated as a contribution.

Authors & citation

Zhengxiong Luo; Kai Liang; Yanyang Zhao; Feifan Wu; Junze Yu; Heyuan Shi; Yu Jiang

BibTeX

5 sources · checked 

Lifting Network Protocol Implementation to Precise Format Specification with Security Applications

2023ACM CCS 2023Conference paper

NetLifter statically lifts source-available C protocol parsers into BNF-style message grammars and first-order constraints between packet fields. It analyzes annotated LLVM bitcode using abstract format graphs, localized path-sensitive analysis, unfolding and reordering. The resulting field boundaries, constraints and names can support packet generation and parser construction.

Scope & authors

Scope & limitations

Requires source/LLVM IR and packet-buffer/length annotations; it is not closed-binary or traffic-only recovery. The paper targets common top-down C parsers and does not support C++, inline assembly or libraries without available code. Pointer/loop analysis remains approximate; checksum fields can be identified while some checksum constraints are omitted, and fields ignored by an implementation may be missed. Precision/recall was manually checked on ten selected protocols. The reported fuzzing evaluation used three-hour runs repeated twenty times and bypassed checksum checks. It infers formats, not protocol state machines or proof of implementation equivalence.

Authors & citation

Qingkai Shi; Junyang Shao; Yapeng Ye; Mingwei Zheng; Xiangyu Zhang

BibTeX

14 sources · checked 

Extracting Protocol Format as State Machine via Controlled Static Loop Analysis

2023arXivPreprint

The paper extracts protocol message formats from parser code by analyzing parsing loops as state machines. It evaluates format inference and the use of the extracted machines in protocol fuzzers.

Scope & authors

Scope & limitations

The analysis targets protocols with constraint-enhanced regular-expression formats parsed by finite-state machines. Reported results include over 90% precision and recall in five minutes, 20%–230% higher fuzzer coverage, and ten additional zero-days detected.

Authors & citation

Qingkai Shi; Xiangzhe Xu; Xiangyu Zhang

BibTeX

1 source · checked 

BinaryInferno: A Semantic-Driven Approach to Field Inference for Binary Message Formats

2023NDSS 2023Conference paper

Infers partial binary-message formats from static message samples without instrumenting an executable. Specialized detectors recognize floats, timestamps, lengths, entropy boundaries and serialization patterns; a graph-based integration step reconciles their descriptions. Across samples from ten protocols, the authors report top-level field-boundary precision of 0.69, recall of 0.73 and false-positive rate of 0.04 for the 1,000-message setting without analyst priors.

Scope & authors

Scope & limitations

Assumes error-free, uncompressed, unencrypted, byte-aligned data and infers common fields or payload regions beginning at consistent offsets. It leaves optional/union fields and unsupported serialization patterns unresolved; sample diversity matters. The 26 encapsulated-payload test sets were pre-grouped using ground-truth message types, not discovered automatically. Ground truth merges adjacent fields that are constant across the sample; empty inference results are excluded from reported averages where stated. BI+ additionally uses supplied endianness and capture-time ranges. These are field-boundary results, not complete semantic recovery, protocol-state inference or behavioral equivalence.

Authors & citation

Jared Chandler; Adam Wick; Kathleen Fisher

BibTeX

11 sources · checked 

The Closer You Look, The More You Learn: A Grey-box Approach to Protocol State Machine Learning

2022ACM CCS 2022Conference paper

StateInspector learns protocol Mealy machines by combining active message queries with snapshots of runtime memory, without requiring the target’s source code. It identifies candidate state-defining heap locations and uses taint and concolic analysis to merge states, evaluated by the authors on TLS 1.2 and WPA/2 implementations.

Scope & authors

Scope & limitations

Assumes a finite Mealy-machine abstraction, a known input alphabet that can reach the relevant states, and state-defining memory on the heap exercised by bootstrap queries. State merging depends on configured search-depth and symbolic look-ahead bounds. Missing inputs or state stored elsewhere can leave behavior unmodeled; malformed harness messages, response abstraction and timeouts can create misleading transitions. Learned models and bounded checks leave full implementation equivalence unverified, and they do not recover unknown message formats or reconstruct an application’s source code.

Authors & citation

Chris McMahon Stone; Sam L. Thomas; Mathy Vanhoef; James Henderson; Nicolas Bailluet; Tom Chothia

BibTeX

7 sources · checked 

Fingerprinting and analysis of Bluetooth devices with automata learning

2022Formal Methods in System DesignJournal article

Learns Mealy-machine models of Bluetooth Low Energy implementations on physical peripherals by active automata learning. An nRF52840 central running SweynTooth-derived firmware sends abstract BLE inputs, with error handling, repeated queries and caching for lost packets and non-deterministic replies. The authors learn connection-procedure models of six devices and legacy-pairing models of three, and use model differences to fingerprint their SoCs.

Scope & authors

Scope & limitations

Models are bounded by the chosen abstract alphabet and cover only connection and legacy pairing; message formats are not inferred, and secure pairing is left to future work. Equivalence was approximated with a small number of conformance tests per state, so models are hypotheses, not proofs. One SoC was learnable only with reduced alphabets, two were learned from an already-connected state, and some pairing runs needed manual hard resets. The fingerprinting sequence holds only for the tested SoCs. Apart from one crashing input sequence, the authors report no security vulnerabilities in the learned models.

Authors & citation

Andrea Pferscher; Bernhard K. Aichernig

BibTeX

9 sources · checked 

Automated Attack Synthesis by Extracting Finite State Machines from Protocol Specification Documents

2022IEEE Symposium on Security and Privacy 2022Conference accepted

Extracts protocol FSMs from RFC prose using technical word representations, zero-shot text mapping, and rules, then uses the extracted FSMs to synthesize attacks.

Scope & authors

Scope & limitations

Evaluates FSM extraction on RFCs for six protocols: BGPv4, DCCP, LTP, PPTP, SCTP, and TCP. Attack synthesis case studies cover TCP and DCCP.

Authors & citation

Maria Leonor Pacheco; Max von Hippel; Ben Weintraub; Dan Goldwasser; Cristina Nita-Rotaru

BibTeX

1 source · checked 

Noncompliance as Deviant Behavior: An Automated Black-box Noncompliance Checker for 4G LTE Cellular Devices

2021ACM CCS 2021Conference paper

DIKEUE checks 4G LTE control-plane (NAS and RRC) implementations in commercial phones and modems for noncompliance through differential testing rather than predefined security properties. Its FSM inference module runs TTT active automata learning in LearnLib through an LTE-specific adapter on a modified srsLTE network with a USRP B210 radio, adding a context checker, query cache, inconsistency resolver and reset without rebooting. An equivalence checker then encodes pairs of learned input-output finite state machines for the nuXmv model checker and enumerates diverse deviation-inducing input sequences, which the authors analyze manually.

Scope & authors

Scope & limitations

Covers control-plane NAS and RRC procedures with a chosen input alphabet and queries up to length 12; session management, data-plane protocols and 5G are left to future work. Learned machines are hypotheses bounded by Wp-method conformance testing and custom termination conditions. The authors list false-negative sources, including omitted message predicates, pruned infeasible sequences, models disconnected by removing deviating transitions, and devices that are noncompliant in the same way. Findings cover 14 devices with basebands from five vendors (Qualcomm, Intel, MediaTek, HiSilicon and Exynos): 17 deviations, 15 of them new, of which the authors class 11 as exploitable and 3 as potential interoperability issues. Deviations were triaged and attacks constructed manually, and the behaviour of other devices, firmware versions and networks remains unverified.

Authors & citation

Syed Rafiul Hussain; Imtiaz Karim; Abdullah Al Ishtiaq; Omar Chowdhury; Elisa Bertino

BibTeX

6 sources · checked 

NetPlier: Probabilistic Network Protocol Reverse Engineering from Message Traces

2021NDSS 2021Conference paper

Uses multiple sequence alignment and probabilistic keyword-field inference to cluster network messages by type, evaluated across ten protocols with downstream format and state-machine analysis.

Scope & authors

Scope & limitations

Requires unencrypted traces; recovery is limited to message types present in those traces. Larger alignments, sub-byte keywords and one-way traffic can reduce accuracy. Format/FSM inference serves as downstream evaluation, a secondary part of the work; state semantics in a case study were manually annotated. Complete application or device reconstruction remains outside the models’ scope.

Authors & citation

Yapeng Ye; Zhuo Zhang; Fei Wang; Xiangyu Zhang; Dongyan Xu

BibTeX

6 sources · checked 

Message Type Identification of Binary Network Protocols using Continuous Segment Similarity

2020IEEE INFOCOM 2020 - IEEE Conference on Computer CommunicationsConference paper

The method compares field-based feature vectors, combines Hirschberg alignment with DBSCAN, and configures its parameters automatically. It evaluates message-type identification quality and execution performance against earlier approaches.

Scope & authors

Scope & limitations

The study focuses on identifying message types in binary network protocols from traffic traces.

Authors & citation

Stephan Kleber; Rens Wouter van der Heijden; Frank Kargl

BibTeX

2 sources · checked 

LibreCAN: Automated CAN Message Translator

2019ACM CCS 2019Conference paper

LibreCAN reverse-engineers proprietary CAN message formats from traffic recorded at a vehicle's OBD-II port, without the OEM's DBC translation files. Phase 0 extracts candidate signal boundaries from bit-flip behaviour, extending the earlier READ algorithm; Phase 1 correlates extracted signals with standard OBD-II PIDs and smartphone IMU data to identify kinematic signals and estimate their scale and offset; Phase 2 filters the CAN IDs recorded while a driver performs 53 scripted body-related events to shortlist candidate IDs for each event.

Scope & authors

Scope & limitations

Evaluated on four newer vehicles from a single OEM, using DBC files the authors obtained as ground truth and their own judgement of which CAN signals correspond to each reference signal; they call the evaluation partly subjective because the OEM was not involved. Phase 0 recovered 51.6–62.4% of DBC signals, but only 21.0–36.4% of extracted signals had correct boundaries, partly because normal driving rarely exercises high value ranges. With extracted boundaries, Phase 1 precision was 61.1–78.1% and recall 25.6–57.3%; Phase 2 cut candidates more than tenfold, with 8.5–15.0% precision. Only buses reachable through OBD-II were analysed, so signals on other buses were missed. The system reads traffic only and recovers a partial translation table, not complete DBC files, ECU logic or validated injection.

Authors & citation

Mert D. Pesé; Troy Stacer; C. Andrés Campos; Eric Newberry; Dongyao Chen; Kang G. Shin

BibTeX

4 sources · checked 

Automatic Wireless Protocol Reverse Engineering

201913th USENIX Workshop on Offensive Technologies (WOOT 19)Conference paper

Infers message formats of proprietary wireless protocols from demodulated physical-layer captures: it aligns messages by preamble and sync word, then uses RSSI and dedicated engines to label length, address, sequence-number and checksum fields, optionally using known addresses or field positions.

Scope & authors

Scope & limitations

Only message formats are inferred: preamble, sync, length, address, sequence number and checksum. State-machine inference and payload fields, such as an on/off bit, are out of scope. The method assumes length-efficient binary messages with one preamble and sync word each. Accuracy is measured on 8 generated protocols; 3 real smart-home captures (EnOcean, Homematic BidCoS and an eQ-3 protocol used by RWE Smarthome) serve for performance tests, which the authors call a limited test set.

Authors & citation

Johannes Pohl; Andreas Noack

BibTeX

7 sources · checked 

Protocol Specification Extraction Based on Contiguous Sequential Pattern Algorithm

2019IEEE AccessJournal article

Uses a contiguous sequential pattern algorithm to infer protocol fields, message and flow formats, semantics, and a finite state machine. Evaluated message-format inference on HTTP and DNS.

Scope & authors

Scope & limitations

The reported evaluation covers HTTP and DNS message formats: 100% correctness and 99% coverage for HTTP, and 100% correctness and coverage for DNS.

Authors & citation

Young-Hoon Goo; Kyu-Seok Shim; Min-Seob Lee; Myung-Sup Kim

BibTeX

3 sources · checked 

NEMESYS: Network Message Syntax Reverse Engineering by Analysis of the Intrinsic Structure of Individual Messages

201812th USENIX Workshop on Offensive Technologies (WOOT 18)Conference paper

Infers approximate field boundaries within individual binary-protocol messages from changes in bit congruence, and introduces Format Match Score to compare inferred segmentation with known protocol dissectors.

Scope & authors

Scope & limitations

Requires plaintext payloads. Evaluation covers DNS, DHCP and NTP with protocol-tuned parameters. Single-byte fields are not inferred; zero-filled fields, character sequences and pseudo-random values can cause errors. FMS needs known field boundaries for validation. The output is approximate segmentation, not field semantics, a state machine or complete application/device behavior.

Authors & citation

Stephan Kleber; Henning Kopp; Frank Kargl

BibTeX

5 sources · checked 

Dissecting Customized Protocols: Automatic Analysis for Customized Protocols based on IEEE 802.15.4

2016WiSec'16Conference paper

WASp groups captured packets, reconstructs customized IEEE 802.15.4 protocols to byte-level accuracy, and generates packets for verification or spoofing. It was evaluated on smart plug and platform screen door systems.

Scope & authors

Scope & limitations

The evaluation covers two IEEE 802.15.4 systems, using 7,299 smart plug packets and 217 platform screen door packets. Packet collection is manual; the later analysis phases are automated.

Authors & citation

Kibum Choi; Yunmok Son; Juhwan Noh; Hocheol Shin; Jaeyeong Choi; Yongdae Kim

BibTeX

2 sources · checked 

A Survey of Automatic Protocol Reverse Engineering Tools

2015ACM Computing SurveysJournal article

Surveys automatic tools for reverse engineering closed network protocols and organizes them by whether they recover protocol state machines or message formats.

Scope & authors

Scope & limitations

Covers previously presented automatic protocol reverse engineering tools, focusing on state machine and format inference.

Authors & citation

John Narayan; Sandeep K. Shukla; T. Charles Clancy

BibTeX

2 sources · checked 

Automatic protocol field inference for deeper protocol understanding

20152015 IFIP Networking Conference (IFIP Networking)Conference paper

FieldHunter extracts fields from binary and textual protocol messages and infers their types using correlations across sessions, messages, and metadata. It was evaluated on ISP traffic from three continents.

Scope & authors

Scope & limitations

The evaluation covers real ISP traffic and examples including DNS, MSNP, SopCast, and Ramnit.

Authors & citation

Ignacio Bermudez; Alok Tongaonkar; Marios Iliofotou; Marco Mellia; Maurizio M. Munafo

BibTeX

3 sources · checked 

AUTOPROBE: Towards Automatic Active Malicious Server Probing Using Dynamic Binary Analysis

2014CCS'14Conference paper

Autoprobe analyzes malware binaries to generate C&C server fingerprints, including for pull-based protocols and servers offline during fingerprint generation.

Scope & authors

Scope & limitations

The evaluation uses real-world malware samples to generate C&C fingerprints and Internet-scale active probing to uncover malicious servers.

Authors & citation

Zhaoyan Xu; Antonio Nappa; Robert Baykov; Guangliang Yang; Juan Caballero; Guofei Gu

BibTeX

2 sources · checked 

Towards Automated Protocol Reverse Engineering Using Semantic Information

2014ACM ASIA CCS 2014Conference paper

Infers the vocabulary of an undocumented protocol, its message types and formats, from communication traces. The approach uses contextual information embedded in the messages to improve message clustering and the identification of field boundaries; the HAL record lists contextual clustering and semantic sequence alignment as keywords. The authors motivate the work with parsers and traffic generators for network security products, and compare it with their own reimplementations of ASAP, Discoverer and ScriptGen. The first two authors are the authors of Netzob, the open-source protocol reverse-engineering framework.

Scope & authors

Scope & limitations

The method starts from captured traces and addresses the protocol’s vocabulary, not its grammar or state machine; contextual hints help only where such information appears in the observed messages. Baseline results come from the authors’ reimplementations of ASAP, Discoverer and ScriptGen rather than the original tools. The comparative study and its results are the authors’ 2014 evaluation. Netzob has changed substantially since 2014.

Authors & citation

Georges Bossert; Frédéric Guihéry; Guillaume Hiet

BibTeX

7 sources · checked 

Learning stateful models for network honeypots

2012AISec '12Conference paper

PRISMA infers protocol state machines and message formats from network traffic to simulate sessions for honeypots. It was evaluated on three real-world traces and in a malware-traffic case study.

Scope & authors

Scope & limitations

The evaluation covers three traces of binary and textual protocols, ranging from 10,000 to 2 million messages, plus a malware-traffic case study.

Authors & citation

Tammo Krueger; Hugo Gascon; Nicole Krämer; Konrad Rieck

BibTeX

2 sources · checked 

Inference and analysis of formal models of botnet command and control protocols

2010CCS '10Conference paper

Infers protocol state machines in high-latency networks and uses them to analyze botnet command and control. Evaluates the method on Postfix SMTP and MegaD.

Scope & authors

Scope & limitations

The evaluation covers Postfix's SMTP implementation, compared with the SMTP standard, and MegaD's command and control protocol.

Authors & citation

Chia Yuan Cho; Domagoj Babić; Eui Chul Richard Shin; Dawn Song

BibTeX

2 sources · checked 

Dispatcher: enabling active botnet infiltration using automatic protocol reverse-engineering

2009CCS '09Conference paper

Dispatcher analyzes a bot binary to recover the formats of sent protocol messages and the field semantics of sent and received messages. It was used to analyze MegaD and rewrite its C&C messages.

Scope & authors

Scope & limitations

The evaluation focuses on MegaD's undocumented C&C protocol and rewriting its messages.

Authors & citation

Juan Caballero; Pongsin Poosankam; Christian Kreibich; Dawn Song

BibTeX

2 sources · checked 

Prospex: Protocol Specification Extraction

2009IEEE S&P 2009Conference paper

Prospex infers message formats and a protocol state machine from execution traces of a Linux server handling client sessions. Dynamic taint analysis splits each session into messages and recovers their formats; messages are then clustered into types by input-format, execution and server-impact similarity, such as the system calls, outputs and file paths a message triggers. The observed type sequences form an augmented prefix tree acceptor, which prerequisite and end-state heuristics label before Exbar computes a minimal consistent automaton. The resulting specifications are translated for the Peach fuzzer to reach later protocol states. The evaluation covers the Agobot command-and-control protocol, SMTP on Sendmail, SMB on Samba and SIP on Asterisk.

Scope & authors

Scope & limitations

Prospex traces one endpoint, the server, and its taint tool runs only on Linux, so only Linux server binaries were analyzed. It cannot handle encrypted traffic: TLS sessions made up the 6.5% of 31,903 Postfix sessions that the inferred SMTP specification could not parse. Training sets are small (for example 16 SMTP and 31 SMB sessions), and the inferred machines cover only behavior exercised during training; two SMB states are artifacts of limited training variety, and SMB recall against the reference automaton is 0.58. Reference state machines were built manually by the authors, and soundness was checked with 50,000 random walks per protocol; the sk-strings and beams baselines are state-machine learners; full protocol reverse-engineering systems were outside this baseline comparison. The fuzzing case studies found previously known issues in an older Samba release and in Asterisk, not new vulnerabilities in the latest Samba or Windows XP SMB versions tested.

Authors & citation

Paolo Milani Comparetti; Gilbert Wondracek; Christopher Kruegel; Engin Kirda

BibTeX

4 sources · checked 

ReFormat: Automatic Reverse Engineering of Encrypted Messages

2009Computer Security – ESORICS 2009Conference paper

ReFormat distinguishes decryption from protocol processing, then uses runtime buffer lifetime analysis to locate decrypted messages and recover their structure. It was evaluated on several real-world protocols.

Scope & authors

Scope & limitations

The work focuses on encrypted protocol messages and the runtime buffers holding their decrypted contents.

Authors & citation

Zhi Wang; Xuxian Jiang; Weidong Cui; Xinyuan Wang; Mike Grace

BibTeX

3 sources · checked 

Tupni: Automatic Reverse Engineering of Input Formats

2008ACM CCS 2008Conference paper

Tupni infers an input format from an execution trace of an x86 program parsing one input, using byte-level dynamic taint tracking. It segments the input into fields from the instructions that operate on tainted bytes, finds record sequences from parsing loops, groups records into types by the code that handles them, and emits an enhanced BNF grammar with length, value and some inter-message constraints. Grammars from several inputs can be merged into a more complete specification. The evaluation covers five file formats (WMF, BMP, JPG, PNG, TIF) and five network protocols (DNS, RPC, TFTP, HTTP, FTP), and the output is used for zero-day vulnerability signature generation with ShieldGen.

Scope & authors

Scope & limitations

Tupni needs the parsing program and a recorded execution trace for every input; it does not work from captured traffic or files alone. The prototype combined iDNA traces with a re-implemented Vigilante taint engine, and the traces came from Windows XP SP2 binaries such as gdi32.dll, gdiplus.dll, nslookup.exe and IIS components. Single-input accuracy uses one input per format, scored by the authors against published specifications; WMF, DNS and HTTP guided the design, compressed image data was skipped in favor of container structure, and no quantitative baseline was run because earlier tools were unavailable. All record sequences were found, with some false-positive sequences, and 889 of 1,551 PNG fields were misidentified because the program ignored repeated chunk data. Coverage depends on input diversity, constraints can be specific to the samples, byte-level taint handles fields that do not align with bytes poorly (including many encrypted or compressed formats), and formats beyond regular expressions are out of scope. Inter-message constraints were evaluated only for TFTP, and multi-input aggregation only on 150 WMF files.

Authors & citation

Weidong Cui; Marcus Peinado; Karl Chen; Helen J. Wang; Luis Irun-Briz

BibTeX

6 sources · checked 

Polyglot: Automatic Extraction of Protocol Message Format using Dynamic Binary Analysis

2007ACM CCS 2007Conference paper

Polyglot infers the format of a message that a program receives by monitoring how the program binary processes it, an approach the authors call shadowing. An execution monitor taints network input and records an instruction trace; offline analyses then find direction fields, such as length and pointer fields, from tainted memory accesses and loop conditions, separators from comparisons between tainted bytes and constants, multi-byte fixed-length fields from how instructions group input bytes, and protocol keywords from successful comparisons. It works on stripped IA-32 binaries without source code or debugging information.

Scope & authors

Scope & limitations

It extracts the format of one received message at a time and only of messages given to the analysis; messages that never appear stay unknown, and messages the program sends are not analyzed. It does not infer the protocol state machine. The evaluation covers eleven 2007-era programs implementing DNS, HTTP, IRC, ICQ and Samba, mostly Windows servers plus an ICQ client and a Linux Samba server, with one representative message per protocol, compared against Wireshark 0.99.5 dissectors. Field formats omit data types and encodings, analysis is at byte granularity so sub-byte flags are missed, and field semantics are limited to direction fields; timestamps, checksums and addresses are not identified. Message boundaries rely on assuming a synchronous protocol, unused fixed-length fields after an ICQ length field were merged into the variable-length field, and the authors state that the techniques are not fully resistant against obfuscation.

Authors & citation

Juan Caballero; Heng Yin; Zhenkai Liang; Dawn Song

BibTeX

4 sources · checked 

↑↓ move↵ open⌘↵ new tab