PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
March 8, 20241 citationsOpen Access

LLM4Decompile: Decompiling Binary Code with Large Language Models

View Full Paper
HTHanzhuo TanQLQ. LuoJLJing Li

Key Points

Key points are not available for this paper at this time.

Abstract

Decompilation aims to restore compiled code to human-readable source code, but struggles with details like names and structure. Large language models (LLMs) show promise for programming tasks, motivating their application to decompilation. However, there does not exist any open-source LLM for decompilation. Moreover, existing decompilation evaluation systems mainly consider token-level accuracy and largely ignore code executability, which is the most important feature of any program. Therefore, we release the first open-access decompilation LLMs ranging from 1B to 33B pre-trained on 4 billion tokens of C source code and the corresponding assembly code. The open-source LLMs can serve as baselines for further development in the field. To ensure practical program evaluation, we introduce Decompile-Eval, the first dataset that considers re-compilability and re-executability for decompilation. The benchmark emphasizes the importance of evaluating the decompilation model from the perspective of program semantics. Experiments indicate that our LLM4Decompile has demonstrated the capability to accurately decompile 21% of the assembly code, which achieves a 50% improvement over GPT-4. Our code, dataset, and models are released at https://github.com/albertan017/LLM4Decompile

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Tan et al. (2024) studied this question.

synapsesocial.com/papers/68e752dab6db6435876cb703https://doi.org/10.48550/arxiv.2403.05286
Ask AI
Helpful
Bookmark
Share
View Full Paper

Also Consider

Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context:

  1. 1Interactive End-to-End Decompilation via Large Language Models2025
  2. 2Energy-Efficient LLM-Based Decompilation via a Two-Stage Pipeline on Constrained Hardware2026
  3. 3Meta Large Language Model Compiler: Foundation Models of Compiler Optimization2024 · 2 citations
  4. 4Disassembling Obfuscated Executables with LLM2024
  5. 5Deconstructing Obfuscation: A four-dimensional framework for evaluating Large Language Models assembly code deobfuscation capabilities2025 · 1 citations