xor2003/masm2c

MASM format

Skin36 opened this issue · 6 comments

how to get the MASM format from the IDA?

Looks like by default it generates almost MASM format.
Options->Analysis->Target Assembler->Generic for Intel 80x86

the script masm2c.py generates an error for the same names of different structures. Is it correct ?

  1. your code should build beforehand successfully with Masm (or UASM: http://www.terraspace.co.uk/uasm.html)
  2. the masm2c tools do not even try to support you with the complexity of the reversing (if will not work if you're not able to build your reversed code with masm)
  3. reversing a DOS program (or something) else is definitily more work then producing asm with IDA and run masm2c :)

what about a real sample?

изображение
But this is not a global name, just the name of a member of the structure

Sctructures and macro support is the current next step

You didn't provided enought information.
I prepared workaround: commit
Try latest version.
Structures are skipped.