AI RESEARCH

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

arXiv CS.AI

ArXi:2604.12913v1 Announce Type: cross Binary decompilation is a critical reverse engineering task aimed at reconstructing high-level source code from stripped executables. Although Large Language Models (LLMs) have recently shown promise, they often suffer from "logical hallucinations" and "semantic misalignment" due to the irreversible semantic loss during compilation, resulting in generated code that fails to re-execute. In this study, we propose Cognitive Decompiler Refinement with Robustness (CoDe-R), a lightweight two-stage code refinement framework. The first stage.