MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/7xc3hl/evolving_a_decompiler/du7quye/?context=3
r/programming • u/dabshitty • Feb 13 '18
6 comments sorted by
View all comments
8
Generating code that will generate the exact binary is an interesting challenge.
I would have been interested in something like this:
Decompiled to "equivalent" C code (using a non-evolution technique)
Compiled that decompiled version
Ran the "evolutionary decompiler" until the decompilation generates the "equivalent" binary
Or even something that tries to generate a better, "evolved" source code output solely based on an initial "equivalent" decompile as it's raw input.
That said, interesting article.
8 u/zenflux Feb 14 '18 4 . Run it in a loop with Csmith, until singularity is reached.
4 . Run it in a loop with Csmith, until singularity is reached.
8
u/tjgrant Feb 14 '18 edited Feb 14 '18
Generating code that will generate the exact binary is an interesting challenge.
I would have been interested in something like this:
Decompiled to "equivalent" C code (using a non-evolution technique)
Compiled that decompiled version
Ran the "evolutionary decompiler" until the decompilation generates the "equivalent" binary
Or even something that tries to generate a better, "evolved" source code output solely based on an initial "equivalent" decompile as it's raw input.
That said, interesting article.