Use this file to discover all available pages before exploring further.
Stack frame tools operate on IDA’s function frame — the structured description of a function’s local storage. You can inspect every frame variable with its offset, type, and size; create new variables at specific offsets with explicit types; and delete variables that are no longer needed. These tools complement the rename and type operations available in the Modification and Type tools.
Stack frame variables are IDA frame members, distinct from Hex-Rays local variables (lvars). Renaming a frame member renames it in the disassembly view; renaming an lvar renames it in the decompiler view. Use rename with the stack key for frame members and local for decompiler variables.
Frame offset for the new variable, as a hex or decimal string. Negative values refer to local storage (e.g., -0x18); positive values to function arguments.
Use declare_type to register a custom struct before referencing it as a ty here. Any type already in IDA’s type library — including standard C types like uint32_t — can be used directly.
Delete a stack frame variable by name. The function’s frame is looked up automatically. Special frame members (such as saved registers and the return address) and argument slots cannot be deleted.