BoomerangDecompiler / boomerang

Boomerang Decompiler - Fighting the code-rot :)
Other
374 stars 59 forks source link

Fix #146: DOS MZ Exe misidentified as NE Exe #150

Closed powerbf closed 5 years ago

powerbf commented 5 years ago

Creating a new pull request to replace #147. Changes are now on a separate branch and squashed into one commit. All changes requested by ceeac in pull request #147 have been included.

As before, the fix is to check for the signature "NE" at offset contained in word at 0x3C, instead of checking for reloc table offset = 0x40, which is unreliable.