Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
41 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Self-Constructed Context Decompilation with Fined-grained Alignment Enhancement (2406.17233v2)

Published 25 Jun 2024 in cs.SE and cs.CL

Abstract: Decompilation transforms compiled code back into a high-level programming language for analysis when source code is unavailable. Previous work has primarily focused on enhancing decompilation performance by increasing the scale of model parameters or training data for pre-training. Based on the characteristics of the decompilation task, we propose two methods: (1) Without fine-tuning, the Self-Constructed Context Decompilation (sc$2$dec) method recompiles the LLM's decompilation results to construct pairs for in-context learning, helping the model improve decompilation performance. (2) Fine-grained Alignment Enhancement (FAE), which meticulously aligns assembly code with source code at the statement level by leveraging debugging information, is employed during the fine-tuning phase to achieve further improvements in decompilation. By integrating these two methods, we achieved a Re-Executability performance improvement of approximately 3.90% on the Decompile-Eval benchmark, establishing a new state-of-the-art performance of 52.41%. The code, data, and models are available at https://github.com/AlongWY/sccdec.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (8)
  1. Yunlong Feng (26 papers)
  2. Yang Xu (277 papers)
  3. Dechuan Teng (3 papers)
  4. Honglin Mu (11 papers)
  5. Xiao Xu (81 papers)
  6. Libo Qin (77 papers)
  7. Wanxiang Che (152 papers)
  8. Qingfu Zhu (39 papers)
X Twitter Logo Streamline Icon: https://streamlinehq.com