readexe
readexe copied to clipboard
Reads out structural information on Microsoft .exe formats
Running the OS/2 build of `readexe` under HX Extender's `DPMILD16` will result in the value of `this->mxz->nextHeader` being read/displayed as 0x00000000, where then `read_next_header()` chokes on reading the DOS MZ...
Some executables contain multiple modules, or don't necessarily conform with the standard of a DOS stub followed by the "new" format. Add a command-line flag to manually specify an offset...
Invoking `readexe` with no arguments just says "Not enough arguments" but doesn't specifiy what those arguments should be. A basic usage message should be included, to be invoked via `-h`...
More precisely, when invoking `readexe` without any arguments, the "not enough arguments" message is normally prefixed with the program's name; however, the included err.c functions instead get the message prefixed...
After the DOS MZ header readout, it crashes once identifying the LE/LX header, like so: ```Linear Executable header found at offset 0x00000220 The instruction at 0x004022d0 referenced memory at 0x00000000....