|
IDA C++ SDK 9.2
|
Functions | |
| idaman bool ida_export | add_frame_ea (ea_t func_ea, sval_t frsize, ushort frregs, asize_t argsize) |
| Add function frame. | |
| idaman bool ida_export | del_frame_ea (ea_t func_ea) |
| Delete a function frame. | |
| idaman bool ida_export | set_frame_size_ea (ea_t func_ea, asize_t frsize, ushort frregs, asize_t argsize) |
| Set size of function frame. | |
| idaman asize_t ida_export | get_frame_size_ea (ea_t func_ea) |
| Get full size of a function frame. | |
| idaman int ida_export | get_frame_retsize_ea (ea_t func_ea) |
| Get size of function return address. | |
| idaman bool ida_export | get_frame_part_ea (range_t *range, ea_t func_ea, frame_part_t part) |
| Get offsets of the frame part in the frame. | |
| ea_t | frame_off_args_ea (ea_t func_ea) |
| Get starting address of arguments section. | |
| ea_t | frame_off_retaddr_ea (ea_t func_ea) |
| Get starting address of return address section. | |
| ea_t | frame_off_savregs_ea (ea_t func_ea) |
| Get starting address of saved registers section. | |
| ea_t | frame_off_lvars_ea (ea_t func_ea) |
| Get start address of local variables section. | |
| DEPRECATED ea_t | frame_off_args (const func_t *pfn) |
| Get starting address of arguments section. | |
| DEPRECATED ea_t | frame_off_retaddr (const func_t *pfn) |
| Get starting address of return address section. | |
| DEPRECATED ea_t | frame_off_savregs (const func_t *pfn) |
| Get starting address of saved registers section. | |
| DEPRECATED ea_t | frame_off_lvars (const func_t *pfn) |
| Get start address of local variables section. | |
| idaman bool ida_export | get_func_frame_ea (tinfo_t *out, ea_t func_ea) |
| Get type of function frame. | |
| bool | get_func_frame (tinfo_t *tif, ea_t ea) |
| idaman sval_t ida_export | soff_to_fpoff_ea (ea_t func_ea, uval_t soff) |
| Convert struct offsets into fp-relative offsets. | |
| idaman bool ida_export | update_fpd_ea (ea_t func_ea, asize_t fpd) |
| Update frame pointer delta. | |
| bool | processor_t::is_funcarg_off_ea (ea_t func_ea, uval_t frameoff) const |
| Does the given offset lie within the arguments section? | |
| sval_t | processor_t::lvar_off_ea (ea_t func_ea, uval_t frameoff) const |
| Does the given offset lie within the local variables section? | |
| bool | processor_t::is_funcarg_off (const func_t *pfn, uval_t frameoff) const |
| Does the given offset lie within the arguments section? | |
| sval_t | processor_t::lvar_off (const func_t *pfn, uval_t frameoff) const |
| Does the given offset lie within the local variables section? | |
Add function frame.
| func_ea | any address of the function |
| frsize | size of function local variables |
| frregs | size of saved registers |
| argsize | size of function arguments range which will be purged upon return. this parameter is used for __stdcall and __pascal calling conventions. for other calling conventions please pass 0. |
| 1 | ok |
| 0 | failed (no function at func_ea, frame already exists) |
Delete a function frame.
| func_ea | any address of the function |
| idaman bool ida_export set_frame_size_ea | ( | ea_t | func_ea, |
| asize_t | frsize, | ||
| ushort | frregs, | ||
| asize_t | argsize ) |
Set size of function frame.
| func_ea | any address of the function |
| frsize | size of function local variables |
| frregs | size of saved registers |
| argsize | size of function arguments that will be purged from the stack upon return |
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.
| func_ea | any address of the function |
Get size of function return address.
| func_ea | any address of the function |
| idaman bool ida_export get_frame_part_ea | ( | range_t * | range, |
| ea_t | func_ea, | ||
| frame_part_t | part ) |
Get offsets of the frame part in the frame.
| [out] | range | pointer to the output buffer with the frame part start/end(exclusive) offsets, can't be nullptr |
| func_ea | any address of the function | |
| part | frame part |
Get starting address of arguments section.
| func_ea | any address of the function |
Get starting address of return address section.
| func_ea | any address of the function |
Get starting address of saved registers section.
| func_ea | any address of the function |
Get start address of local variables section.
| func_ea | any address of the function |
Get starting address of arguments section.
Get starting address of return address section.
Get starting address of saved registers section.
Get start address of local variables section.
Get type of function frame.
| [out] | out | type info |
| func_ea | any address of the function |
Convert struct offsets into fp-relative offsets.
| func_ea | any address of the function |
| soff | struct offset |
Update frame pointer delta.
| func_ea | any address of the function |
| fpd | new fpd value. cannot be bigger than the local variable range size. |
Does the given offset lie within the arguments section?
| func_ea | any address of the function |
| frameoff | offset in frame |
Does the given offset lie within the local variables section?
| func_ea | any address of the function |
| frameoff | offset in frame |
Does the given offset lie within the arguments section?
Does the given offset lie within the local variables section?