Is there a way to generate "pure" machine code from a Module with LLVM?
I mean, I have a Module and want to get only the x86 opcodes without any MachO or Darwin object headers, just the opcodes(and if possible, get them relocated to a certain base address).
I think you are looking for objdump.
use objdump -d your_executable > dump_file
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With