|
IDA C++ SDK 9.2
|
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.
| ea_ | linear address to be converted to data |
| opoff | offset of the operand from the start of instruction if the offset is unknown, then 0 |
| dtype | operand value type (from op_t::dtype) |
| true | ok |
| false | failed 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.
| x | operand (used to determine the addressing type) |
| v | a displacement in the operand |
| flags_ | Stack variable flags |
| 1 | ok, a stack variable exists now |
| 0 | no, couldn't create stack variable |
Passed as 'flags' parameter to create_stkvar()