Hacker News new | ask | show | jobs
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.
1 comments

The entire article was like 100X what anyone deserves. It was an awesome amount of detail. I absolutely love when random lost pieces of hardware/software history end up right where they belong with exactly the right person to know what to do with them.