Hacker News

Favorites Setup
Comment by hedgehog | original | 500B Tokens Later: Letting AI Agents Decompile a First-Person Shooter
[−]hedgehog · 2026-10-11 Sun 03:20 UTC · link
You can do the process in stages. Do the first decompilation mechanically (no LLM), use a SMT solver to show it builds to an equivalent binary to the original, and then use LLM to clean up the code into something idiomatic with the benefit of a correct binary built with the new toolchain. This helps when you want to port across languages or toolchains, and helps protect against toolchain bugs.