IDA C++ SDK 9.2
|
These providers supply information about the source files and lines to the source level debugger. More...
Classes | |
class | eval_ctx_t |
Execution context. More... | |
class | source_file_t |
Describes a source file. More... | |
class | source_item_t |
Describes a subdivision of source information. More... | |
class | srcinfo_provider_t |
Describes the mechanism used to retrieve source file information. More... |
Typedefs | |
typedef qrefcnt_t< source_item_t > | source_item_ptr |
Maintain a reference count for source items. | |
typedef qiterator< source_item_ptr > | _source_item_iterator |
Iterator for source items. | |
typedef qrefcnt_t< _source_item_iterator > | source_item_iterator |
Maintain a reference count for source item iterators. | |
typedef qvector< source_item_ptr > | source_items_t |
Vector of source items. | |
typedef qrefcnt_t< source_file_t > | source_file_ptr |
Maintain a reference count for source file objects. | |
typedef qiterator< source_file_ptr > | _source_file_iterator |
Iterator for source files. | |
typedef qrefcnt_t< _source_file_iterator > | source_file_iterator |
Maintain a reference count for source file iterators. |
Enumerations | |
enum | src_item_kind_t { SRCIT_NONE , SRCIT_MODULE , SRCIT_FUNC , SRCIT_STMT , SRCIT_EXPR , SRCIT_STTVAR , SRCIT_LOCVAR } |
Kinds of source items. More... |
Functions | |
bool idaapi | register_srcinfo_provider (srcinfo_provider_t *sp) |
Register a source information provider. | |
bool idaapi | unregister_srcinfo_provider (srcinfo_provider_t *sp) |
Unregister a source information provider. | |
source_view_t * | create_source_viewer (TWidget **out_ccv, TWidget *parent, TWidget *custview, source_file_ptr sf, strvec_t *lines, int lnnum, int colnum, int flags) |
Create a source code view. | |
idaman bool ida_export | get_dbg_byte (uint32 *out, ea_t ea) |
Get one byte of the debugged process memory. | |
idaman bool ida_export | put_dbg_byte (ea_t ea, uint32 x) |
Change one byte of the debugged process memory. |
These providers supply information about the source files and lines to the source level debugger.
Currently this interface is not frozen and may change. We will freeze it once we settle things down.
typedef qrefcnt_t<source_item_t> source_item_ptr |
Maintain a reference count for source items.
Iterator for source items.
Maintain a reference count for source item iterators.
typedef qvector<source_item_ptr> source_items_t |
Vector of source items.
typedef qrefcnt_t<source_file_t> source_file_ptr |
Maintain a reference count for source file objects.
Iterator for source files.
Maintain a reference count for source file iterators.
enum 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).
|
inline |
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.
|
inline |
Unregister a source information provider.
Returns false: no such provider.
|
inline |
Create a source code view.
Get one byte of the debugged process memory.
out | pointer to byte value |
ea | linear address |
true | success |
false | address inaccessible or debugger not running |