JH1979
December 4th, 2003, 12:38
Hi,
I am writing an OllyDBG plugin to parse arguments to a given function, essentially by locating calls to the function then disassembling back, looking for PUSH instructions. I can handle simple instances of PUSH contant or PUSH register but I am not sure how to decode instructions such as: PUSH DWORD PTR SS:[EBP+8]. What fields of t_disasm will indicate this is happening? I can't find any that indicate EBP is the register involved.
Cheers
J
I am writing an OllyDBG plugin to parse arguments to a given function, essentially by locating calls to the function then disassembling back, looking for PUSH instructions. I can handle simple instances of PUSH contant or PUSH register but I am not sure how to decode instructions such as: PUSH DWORD PTR SS:[EBP+8]. What fields of t_disasm will indicate this is happening? I can't find any that indicate EBP is the register involved.
Cheers
J