add_frame_member
summary: add a new member to an existing function frame
- description:
The goal of this script is to demonstrate some usage of the type API. In this script, we show a way to add a new frame member (a pointer to
an uint64) inside a wide enough gap in the frame:
Get the function object surrounding cursor location.
Use this function to retrieve the corresponding frame object.
Find a wide enough gap to create our new member.
If found, we use cal_frame_offset() to get the actual offset in the frame structure.
Use the previous result to add the new member.
level: advanced
Functions
|
Module Contents
- add_frame_member.add_frame_member(func_ea)