Trees | Indices | Help |
|
---|
|
IDA Plugin SDK API wrapper: frame
Classes | |
llabel_t Proxy of C++ llabel_t class. |
|
regvar_t Proxy of C++ regvar_t class. |
|
stkpnt_t Proxy of C++ stkpnt_t class. |
|
stkpnts_t Proxy of C++ stkpnts_t class. |
|
xreflist_entry_t Proxy of C++ xreflist_entry_t class. |
|
xreflist_t Proxy of C++ qvector< xreflist_entry_t > class. |
Functions | |||
bool |
|
||
bool |
|
||
int |
|
||
bool |
|
||
str |
|
||
|
|||
ea_t |
|
||
bool |
|
||
bool |
|
||
int |
|
||
bool |
|
||
int |
|
||
int |
|
||
regvar_t |
|
||
ea_t |
|
||
ea_t |
|
||
ea_t |
|
||
ea_t |
|
||
sval_t |
|
||
struc_t |
|
||
|
|||
int |
|
||
asize_t |
|
||
ea_t |
|
||
ea_t |
|
||
sval_t |
|
||
sval_t |
|
||
PyObject * |
|
||
bool |
|
||
bool |
|
||
sval_t |
|
||
bool |
|
||
int |
|
||
bool |
|
||
bool |
|
||
int |
|
||
sval_t |
|
||
bool |
|
Function Details |
Add automatic SP register change point.
|
Add function frame.
|
Define a register variable.
|
Add user-defined SP register change point.
|
Build automatic stack variable name.
|
Fill 'out' with a list of all the xrefs made from function 'pfn', to the argument or variable 'mptr' in 'pfn's stack frame.
|
Calculate offset of stack variable in the frame structure.
|
Define/redefine a stack variable.
|
Delete a function frame.
|
Delete a register variable definition.
|
Delete SP register change point.
|
find_regvar(pfn, ea, canon) -> regvar_t Find a register variable definition (powerful version). One of 'canon' and 'user' should be NULL. If both 'canon' and 'user' are NULL it returns the first regvar definition in the range.
|
Get starting address of arguments section.
|
Get start address of local variables section.
|
Get starting address of return address section.
|
Get starting address of saved registers section.
|
Get effective difference between the initial and current values of ESP. This function returns the sp-diff used by the instruction. The difference between 'get_spd()' and 'get_effective_spd()' is present only for instructions like "pop [esp+N]": they modify sp and use the modified value.
|
get_frame(ea) -> struc_t * Get pointer to function frame.
|
Get offsets of the frame part in the frame.
|
Get size of function return address.
|
Get full size of a function frame. This function takes into account size of local variables + size of saved registers + size of return address + number of purged bytes. The purged bytes correspond to the arguments of the functions with __stdcall and __fastcall calling conventions.
|
Get function by its frame id.this function works only with databases created by IDA > 5.6
|
Get modification of SP made at the specified location
|
Get difference between the initial and current values of ESP.
|
Get pointer to stack variable
|
Is there a register variable definition?
|
Does the given offset lie within the arguments section?
|
Does the given offset lie within the local variables section?
|
Recalculate SP delta for an instruction that stops execution. The next instruction is not reached from the current instruction. We need to recalculate SP for the next instruction.This function will create a new automatic SP register change point if necessary. It should be called from the emulator (emu.cpp) when auto_state == 'AU_USED' if the current instruction doesn't pass the execution flow to the next instruction.
|
Rename a register variable.
|
Set size of function frame. Note: The returned size may not include all stack arguments. It does so only for __stdcall and __fastcall calling conventions. To get the entire frame size for all cases use get_struc_size(get_frame(pfn)).
|
Set the number of purged bytes for a function or data item (funcptr). This function will update the database and plan to reanalyze items referencing the specified address. It works only for processors with 'PR_PURGING' bit in 16 and 32 bit modes.
|
Set comment for a register variable.
|
Convert struct offsets into fp-relative offsets. This function converts the offsets inside the 'struc_t' object into the frame pointer offsets (for example, EBP-relative).
|
Update frame pointer delta.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Oct 11 15:05:11 2019 | http://epydoc.sourceforge.net |