jchristman / PyDA

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

Represent Data Sections as Code #8

Open direwolf314 opened 10 years ago

direwolf314 commented 10 years ago

All data sections should be represented as code in a manner similar to that used by IDA. As an initial step, single-byte declarations are good enough. For example, for the byte 0x1a, a line would simply declare: db 1ah . See other taskings for examples of data section postprocessing (identifying strings, etc.)

direwolf314 commented 10 years ago

Boom. Done. Single bytes and Strings are identified too.

wiseone13 commented 10 years ago

We also need to be able to redefine sections of data as: db - 1 byte dd - 2 bytes dw - 4 bytes dq - 8 bytes s - force a string c - force disassembly ...and maybe more.