logoalt Hacker News

rhdunn • today at 2:33 PM • 1 reply • view on HN

It should be theoretically possible to use C/etc. source code, assembly output, and compiled output in the training set with equivalence mapping between them. That would make it possible for the LLM to learn disassembly and decompiling to some degree.

You don't need software for that aside from the compiler/linker tools (which are free for C/C++ compilers, rust, etc.). You can then permutate/generate the source code using tools/techniques like fuzzing.

There's also things like Intel's instruction set documentation.


Replies

cedws • today at 2:52 PM

An LLM trained on decompilation would be a game changer, but there's no way they'd allow us to use it.

➕ show 1 reply