jchristman / PyDA

Python binary DisAssembler
http://suntzuii.github.io/PyDA/
Other
26 stars 10 forks source link

Make CommonInstFormat a Subclass of CsInsn #58

Open direwolf314 opened 10 years ago

direwolf314 commented 10 years ago

CsInsn is basically the common format we already wanted. It also includes a ton of information about the instruction:

  1. Operand types a. Register - needed for stack tracking - #17 b. Immediate - good to know for #10 and #19 c. Memory access - #30, #34
  2. Opcode types - Definitely needed for recursive descent #14 and future applications - #21, #24

See (5) here for an idea of what I'm talking about.