• Home
  • Search
  • Using recurrent neural networks for decompilation
  • Cite Icon81
  • https://doi.org/10.1109/saner.2018.8330222Copy DOI Icon

Using recurrent neural networks for decompilation

  • Mar 1, 2018
  • Deborah S Katz +2 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Decompilation, recovering source code from binary, is useful in many situations where it is necessary to analyze or understand software for which source code is not available. Source code is much easier for humans to read than binary code, and there are many tools available to analyze source code. Existing decompilation techniques often generate source code that is difficult for humans to understand because the generated code often does not use the coding idioms that programmers use. Differences from human-written code also reduce the effectiveness of analysis tools on the decompiled source code. To address the problem of differences between decompiled code and human-written code, we present a novel technique for decompiling binary code snippets using a model based on Recurrent Neural Networks. The model learns properties and patterns that occur in source code and uses them to produce decompilation output. We train and evaluate our technique on snippets of binary machine code compiled from C source code. The general approach we outline in this paper is not language-specific and requires little or no domain knowledge of a language and its properties or how a compiler operates, making the approach easily extensible to new languages and constructs. Furthermore, the technique can be extended and applied in situations to which traditional decompilers are not targeted, such as for decompilation of isolated binary snippets; fast, on-demand decompilation; domain-specific learned decompilation; optimizing for readability of decompilation; and recovering control flow constructs, comments, and variable or function names. We show that the translations produced by this technique are often accurate or close and can provide a useful picture of the snippet's behavior.

Similar Papers
  • Conference Article
  • Citations1

Bin2Source: Matching Binary to Source Code

  • Dec 01, 2021
  • Hayk Aslanyan +3
  • Conference Article
  • Citations24

Accurate source-level simulation of embedded software with respect to compiler optimizations

  • Mar 12, 2012
  • Zhonglei Wang +1
  • Research Article

Source and channel coding using Fountain codes

  • Jan 01, 2009
  • Infoscience (Ecole Polytechnique Fédérale de Lausanne)
  • Bertrand Ndzana Ndzana
  • Book Chapter

BinderAnn: Automated Reification of Source Annotations for Monadic EDSLs

  • Jan 01, 2020
  • Agustín Mista +1
  • Research Article
  • Citations3

Against the “Networked Information Economy”: Rethinking Decentralization, Community, and Free Software Development

  • Jan 01, 2011
  • Criticism
  • Ben Roberts
  • Book Chapter
  • Citations2

Multivariate Time Series Retrieval with Binary Coding from Transformer

  • Jan 01, 2023
  • Zehan Tan +3
  • Conference Article
  • Citations621

Deep code search

  • May 27, 2018
  • Xiaodong Gu +2
  • Conference Article
  • Citations6

Platform-Specific Code Generation from Platform-Independent Timed Models

  • Oct 16, 2015
  • Baekgyu Kim +3
  • Conference Article
  • Citations20

Source code retrieval on StackOverflow using LDA

  • May 01, 2015
  • Achmad Arwan +2
  • Conference Article

MA 2 -VD: Cross-Modal Vulnerability Detection Across Source and Binary Code via Modal Adapters and Memory Alignment

  • Jan 16, 2026
  • Qinghao Li +3
  • Conference Article

Formal Verification of OSEK/VDX Real-Time Operating System (Empirical Report)

  • Jun 20, 2012
  • Jian Shi +3
  • Conference Article

Automatic State Space Analysis for Modeling Untrusted Embedded Device Drivers

  • Aug 01, 2020
  • Thomas Fehmel +3
  • Conference Article
  • Citations36

Java bytecode clone detection via relaxation on code fingerprint and Semantic Web reasoning

  • Jun 01, 2012
  • Iman Keivanloo +2
  • Conference Article
  • Citations37

LibDB

  • May 23, 2022
  • Wei Tang +5
  • Conference Article
  • Citations3

Automatic Source Code Generator Based on AUTOSAR RTE for Vehicular Applications

  • Jan 01, 2009
  • Hyun Chul Jo +3
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.