-1

Possible Duplicate:
How to write a disassembler?

I would like to start writing a dis-assembler. Can you help me with right start. I searched the forum and most of them are for a dis-assembler program.

The reason I want to start writing one is I would like to have some customized features to address my requirements.

Edit: This is to dis-assemble an IL code generated by .NET

Community
  • 1
  • 1
Nishant
  • 905
  • 1
  • 16
  • 36

1 Answers1

1

Most of what you need directly available via reflection in .Net - up to getting bytes with IL code for given method for given class. Next step is to parse IL and usually Mono Cecil is recommended to do so (also can be done from scratch based on IL documentation).

Check also this question Open Source Alternatives to Reflector? that lists other existing IL disassemblers.

Community
  • 1
  • 1
Alexei Levenkov
  • 98,904
  • 14
  • 127
  • 179