|
|
|
|
|
by classichasclass
775 days ago
|
|
(author) Thank you! But this was actually not very difficult. The PE format is well-documented, so I just extracted the code segment addresses, then generated an ELF by emitting code like this with a hacky Perl script: .globl main
main:
trap
.byte 0xfc
.byte 0xff
...
etc. Assemble, run that in gdb, it traps immediately, and just disassemble from PC. |
|