cs.LGApr 15, 2026

Neural architectures for resolving references in program code

Authors: Gergő Szalay, Gergely Zsolt Kovács, Sándor Teleki, Balázs Pintér, Tibor Gregorics

Organizations: Faculty of Informatics, ELTE Eötvös Loránd University, Budapest, H-1117

Abstract

Resolving and rewriting references is fundamental in programming languages. Motivated by a real-world decompilation task, we abstract reference rewriting into the problems of direct and indirect indexing by permutation. We create synthetic benchmarks for these tasks and show that well-known sequence-to-sequence machine learning architectures are struggling on these benchmarks. We introduce new sequence-to-sequence architectures for both problems. Our measurements show that our architectures outperform the baselines in both robustness and scalability: our models can handle examples that are ten times longer compared to the best baseline. We measure the impact of our architecture in the real-world task of decompiling switch statements, which has an indexing subtask. According to our measurements, the extended model decreases the error rate by 42%. Multiple ablation studies show that all components of our architectures are essential.

Figures & tables

Appendix figures & tables6 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Decaf: Improving Neural Decompilation with Automatic Feedback and Search

    May 12, 2026Alexander Shypula, Osbert Bastani, Edward SchwartzSoftware Reverse EngineeringCompiler-Guided Program Synthesis

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

    Apr 14, 2026Qiang Zhang, Zhongnian LiAdaptive InferenceSoftware Reverse Engineering

  3. Echo: Learning-based Matching Decompilation using Trusted Back Translation

    Sep 16, 2026Jun Bi, Xiangxin Fang, Aarsh Chaube +3Software Reverse EngineeringProgram Synthesis