Idioms: Neural Decompilation With Joint Code and Type Definition Prediction

Luke Dramko, Claire Le Goues, Edward J. Schwartz · 2025

Read Idioms: Neural Decompilation With Joint Code and Type Definition Prediction by Luke Dramko, Claire Le Goues, Edward J. Schwartz (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2502-04536.txt.

Description

Luke Dramko, Claire Le Goues, and Edward Schwartz teach a neural model to turn compiled code back into readable source, in a 2025 paper. Normal decompilers lose names, types, and structure, since compiling throws those details away. Learning models can guess them, but past ones could not define the custom types real programs need.

Their system, Idioms, learns to output both the code and the type definitions it uses. They also built Realtype, a test set with far richer types than older sets. On a hard public benchmark the model hit 54.4 percent accuracy, ahead of two named rivals. On Realtype it beat prior work by at least 95 percent. Reverse engineers gain a tool that returns code closer to what a human wrote.

Catalog record

CREATORLuke Dramko, Claire Le Goues, Edward J. Schwartz
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE69 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2502-04536

Browse the full library · About the Tower of Babel