3 ms·
> Either way, you want to start with a working binary and gradually replace some parts of it (but not others) with C code as you gradually understand more of th
by woodruffw 6y ago
> Either way, you want to start with a working binary and gradually replace some parts of it (but not others) with C code as you gradually understand more of the binary.
The author found RetDec, but might not have known about McSema[1] and other binary lifters. The latter have this exact goal in mind: you lift the original binary to LLVM IR (and then potentially to C[2]) to perform transformations.
[1]: https://github.com/lifting-bits/mcsema https://github.com/lifting-bits/mcsema
[2]: https://github.com/lifting-bits/rellic https://github.com/lifting-bits/rellic
FD: My company's work. But I don't currently work on either of those tools.