4 ms·
BinaryNinja does this. They have several layers of intermediate representations[1], which they build their compiler on top of. Ghidra does something similar wit
by withzombies 3y ago
BinaryNinja does this. They have several layers of intermediate representations[1], which they build their compiler on top of. Ghidra does something similar with their PCode. They disassemble to PCode and then decompile the PCode[2].
[1] https://docs.binary.ninja/dev/bnil-overview.html https://docs.binary.ninja/dev/bnil-overview.html
[2] https://riverloopsecurity.com/blog/2019/05/pcode/ https://riverloopsecurity.com/blog/2019/05/pcode/ (an example)
- cristeigabriel 3y agoThanks for sharing!