These providers supply information about the source files and lines to the source level debugger.
- Note
- objects that inherit from qrefcnt_obj_t must be freed using the release() method. do not use the 'delete' operator! See description for qrefcnt_obj_t::release()
Currently this interface is not frozen and may change. We will freeze it once we settle things down.
|
#define | SRCDBG_PROV_VERSION 4 |
|
◆ src_item_kind_t
Kinds of source items.
Source items are organized into trees. Each tree starts with a MODULE. Each MODULE consists of FUNC and STTVAR global items. Each FUNC consists of STMTs (statements). Each STMT contains some EXPRs (expressions).
Enumerator |
---|
SRCIT_NONE | unknown
|
SRCIT_MODULE | module
|
SRCIT_FUNC | function
|
SRCIT_STMT | a statement (if/while/for...)
|
SRCIT_EXPR | an expression (a+b*c)
|
SRCIT_STTVAR | static variable/code
|
SRCIT_LOCVAR | a stack, register, or register-relative local variable or parameter
|
◆ register_srcinfo_provider()
Register a source information provider.
Source information providers will call this function to register themselves with IDA kernel. Returns false: a service provider with this name already exists.
◆ unregister_srcinfo_provider()
Unregister a source information provider.
Returns false: no such provider.
◆ get_dbg_byte()
idaman bool ida_export get_dbg_byte |
( |
uint32 * |
out, |
|
|
ea_t |
ea |
|
) |
| |
Get one byte of the debugged process memory.
- Parameters
-
out | pointer to byte value |
ea | linear address |
- Returns
- true success
-
false address inaccessible or debugger not running
◆ put_dbg_byte()
idaman bool ida_export put_dbg_byte |
( |
ea_t |
ea, |
|
|
uint32 |
x |
|
) |
| |
Change one byte of the debugged process memory.
- Parameters
-
ea | linear address |
x | byte value |
- Returns
- true if the process memory has been modified