PyDA
PyDA copied to clipboard
Represent Data Sections as Code
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.)
Boom. Done. Single bytes and Strings are identified too.
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.