Re: disassembly of COM vs EXE




bob@xxxxxxxxxxxxxx wrote:
Is it safe to say that the disassembly of an EXE will typically be more
correct than the disassembly of a COM program?

My thinking is that the disassembler won't know what's code and what's
data in the COM file so it will erroneously attempt to disassemble
data. However, since code and data are separate in an EXE, this is no
longer a problem.

It is easier to disassemble well-structured PE files (32-bit EXEs)
than, say, COM files, but there is nothing stopping someone from
putting code and data into a single section or otherwise employing
other code obfuscastion techniques.

Of course, .OBJ (PE/COFF) files are the nicest to disassemble as they
often contain symbolic information.
Cheers,
Randy Hyde

.



Relevant Pages

  • Re: Help needed
    ... They can still disassemble the exe ... Obfuscation helps a little. ... >> If you don't want one exe and multiple DLLs, ...
    (microsoft.public.dotnet.general)
  • Re: disassembly of COM vs EXE
    ... However, since code and data are separate in an EXE, this is no ... It is easier to disassemble well-structured PE files ... other code obfuscastion techniques. ... .OBJ files are the nicest to disassemble as they ...
    (alt.lang.asm)
  • Re: Disassembler
    ... u can disassemble an exe but u cant generate the source of the exe ... yet....not sure wht u want to do. ...
    (comp.security.misc)