Beyond the C: Retargetable Decompilation using Neural Machine Translation
Not on the map. Why?
Abstract (arXiv)
The problem of reversing the compilation process, decompilation, is an important tool in reverse engineering of computer software. Recently, researchers have proposed using techniques from neural machine translation to automate the process in decompilation. Although such techniques hold the promise of targeting a wider range of source and assembly languages, to date they have primarily targeted C code. In this paper we argue that existing neural decompilers have achieved higher accuracy at the cost of requiring language-specific domain knowledge such as tokenizers and parsers to build an abstract syntax tree (AST) for the source language, which increases the overhead of supporting new languages. We explore a different tradeoff that, to the extent possible, treats the assembly and source languages as plain text, and show that this allows us to build a decompiler that is easily retargetable to new languages. We evaluate our prototype decompiler, Beyond The C (BTC), on Go, Fortran, OCaml, and C, and examine the impact of parameters such as tokenization and training data selection on the quality of decompilation, finding that it achieves comparable decompilation results to prior work in neural decompilation with significantly less domain knowledge. We will release our training data, trained decompilation models, and code to help encourage future research into language-agnostic decompilation.
Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Builds on 13 of its 41 references that are in the map. First posted on arXiv 17 Dec 2022.
Builds on
13 of 41 references.
References · 13
- 2017Attention Is All You Needcited by 59,932
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2014On the Properties of Neural Machine Translation: Encoder-Decoder Approachescited by 1,303
- 2017Beam Search Strategies for Neural Machine Translationcited by 232
- 2019Does BLEU Score Work for Code Migration?cited by 49
- 2021PalmTree: Learning an Assembly Language Model for Instruction Embeddingcited by 49
- 2020Trex: Learning Execution Semantics from Micro-Traces for Binary Similaritycited by 34
- 2015Describing Multimedia Content using Attention-based Encoder--Decoder Networkscited by 32
- 2020XDA: Accurate, Robust Disassembly with Transfer Learningcited by 21
- 2019Towards Neural Decompilationcited by 15
1 more
Built on by
Citing papers per year: 2023: 4; 2024: 4; 2025: 4; 2026: 3.
15 papers.
Sort:
By area:
- 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Codecited by 62
- 2023Large Language Models for Compiler Optimizationcited by 52
- 2024Meta Large Language Model Compiler: Foundation Models of Compiler Optimizationcited by 39
- 2023SLaDe: A Portable Small Language Model Decompiler for Optimized Assemblycited by 28
- 2024How Does Code Pretraining Affect Language Model Task Performance?cited by 28
- 2023Nova: Generative Language Models for Assembly Code with Hierarchical Attention and Contrastive Learningcited by 12
- 2026ShieldedCode: Learning Robust Representations for Virtual Machine Protected Codecited by 8
- 2025DecompileBench: A Comprehensive Benchmark for Evaluating Decompilers in Real-World Scenarioscited by 4
- 2024Forklift: An Extensible Neural Liftercited by 2
- 2025Deconstructing Obfuscation: A four-dimensional framework for evaluating Large Language Models assembly code deobfuscation capabilitiescited by 1
- 2026Decaf: Improving Neural Decompilation with Automatic Feedback and Searchcited by 1
- 2024Can Neural Decompilation Assist Vulnerability Prediction on Binary Code?cited by 0
- 2026Echo: Learning-based Matching Decompilation using Trusted Back Translation16 Sep 2026
- 2026Decaf: Improving Neural Decompilation with Automatic Feedback and Search12 May 2026
- 2026ShieldedCode: Learning Robust Representations for Virtual Machine Protected Code28 Jan 2026
- 2025Asm2SrcEval: Evaluating Large Language Models for Assembly-to-Source Code Translation28 Nov 2025
- 2025QiMeng-NeuComBack: Self-Evolving Translation from IR to Assembly Code3 Nov 2025
- 2025Deconstructing Obfuscation: A four-dimensional framework for evaluating Large Language Models assembly code deobfuscation capabilities26 May 2025
- 2025DecompileBench: A Comprehensive Benchmark for Evaluating Decompilers in Real-World Scenarios16 May 2025
- 2024Can Neural Decompilation Assist Vulnerability Prediction on Binary Code?10 Dec 2024
- 2024How Does Code Pretraining Affect Language Model Task Performance?6 Sep 2024
- 2024Meta Large Language Model Compiler: Foundation Models of Compiler Optimization27 Jun 2024
- 2024Forklift: An Extensible Neural Lifter1 Apr 2024
- 2023Nova: Generative Language Models for Assembly Code with Hierarchical Attention and Contrastive Learning22 Nov 2023
- 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Codecited by 62
- 2023Large Language Models for Compiler Optimizationcited by 52
- 2024Meta Large Language Model Compiler: Foundation Models of Compiler Optimizationcited by 39
- 2023SLaDe: A Portable Small Language Model Decompiler for Optimized Assemblycited by 28
- 2024How Does Code Pretraining Affect Language Model Task Performance?cited by 28
- 2023Nova: Generative Language Models for Assembly Code with Hierarchical Attention and Contrastive Learningcited by 12
- 2026ShieldedCode: Learning Robust Representations for Virtual Machine Protected Codecited by 8
- 2025DecompileBench: A Comprehensive Benchmark for Evaluating Decompilers in Real-World Scenarioscited by 4
- 2024Forklift: An Extensible Neural Liftercited by 2
- 2025Deconstructing Obfuscation: A four-dimensional framework for evaluating Large Language Models assembly code deobfuscation capabilitiescited by 1
- 2026Decaf: Improving Neural Decompilation with Automatic Feedback and Searchcited by 1
- 2024Can Neural Decompilation Assist Vulnerability Prediction on Binary Code?cited by 0
12 most cited of 14 All 14 (JSON)
- 2026Echo: Learning-based Matching Decompilation using Trusted Back Translation16 Sep 2026
- 2026Decaf: Improving Neural Decompilation with Automatic Feedback and Search12 May 2026
- 2026ShieldedCode: Learning Robust Representations for Virtual Machine Protected Code28 Jan 2026
- 2025Asm2SrcEval: Evaluating Large Language Models for Assembly-to-Source Code Translation28 Nov 2025
- 2025Deconstructing Obfuscation: A four-dimensional framework for evaluating Large Language Models assembly code deobfuscation capabilities26 May 2025
- 2025DecompileBench: A Comprehensive Benchmark for Evaluating Decompilers in Real-World Scenarios16 May 2025
- 2024Can Neural Decompilation Assist Vulnerability Prediction on Binary Code?10 Dec 2024
- 2024How Does Code Pretraining Affect Language Model Task Performance?6 Sep 2024
- 2024Meta Large Language Model Compiler: Foundation Models of Compiler Optimization27 Jun 2024
- 2024Forklift: An Extensible Neural Lifter1 Apr 2024
- 2023Nova: Generative Language Models for Assembly Code with Hierarchical Attention and Contrastive Learning22 Nov 2023
- 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Code14 Nov 2023
12 newest of 14 All 14 (JSON)