IDA C++ SDK 9.2
Loading...
Searching...
No Matches
Stack variable flags

Convert to data using information about operand value type (op_t::dtype). Emulator could use this function to convert unexplored bytes to data when an instruction references them. This function creates data only if the address was unexplored.

Parameters
ea_linear address to be converted to data
opoffoffset of the operand from the start of instruction if the offset is unknown, then 0
dtypeoperand value type (from op_t::dtype)
Return values
trueok
falsefailed to create data item

Convenient alias

Create or modify a stack variable in the function frame. The emulator could use this function to create stack variables in the function frame before converting the operand to a stack variable. Please check with may_create_stkvars() before calling this function.

Parameters
xoperand (used to determine the addressing type)
va displacement in the operand
flags_Stack variable flags
Return values
1ok, a stack variable exists now
0no, couldn't create stack variable

Passed as 'flags' parameter to create_stkvar()