Plugins can use these functions to implement a custom tracing engine.
More...
|
Enable or disable the step tracing
Type | Synchronous function - available as request |
Notification | none (synchronous function) |
- Parameters
-
enable |
- 1 : enable step tracing
- 0 : disable step tracing
- -1 : temporarily disable step tracing (trace-over breakpoints are conserved: these could re-enable step tracing later)
|
|
bool idaapi | enable_step_trace (int enable=1) |
|
bool | disable_step_trace (void) |
|
bool idaapi | request_enable_step_trace (int enable=1) |
|
bool | request_disable_step_trace (void) |
|
Plugins can use these functions to implement a custom tracing engine.
When enabled, IDA uses single-stepping feature of the debugger and generates a dbg_trace notification after each step in the current thread. Tracing buffer is not maintained in this mode (you need to use one of the higher level tracing types for it)
◆ IT_LOG_SAME_IP
#define IT_LOG_SAME_IP 0x01 |
specific options for instruction tracing (see set_insn_trace_options())
instruction tracing will log new instructions even when IP doesn't change
◆ FT_LOG_RET
◆ BT_LOG_INSTS
#define BT_LOG_INSTS 0x01 |
◆ is_step_trace_enabled()
bool idaapi is_step_trace_enabled |
( |
void |
| ) |
|
|
inline |
Get current state of step tracing.
Type | Synchronous function |
Notification | none (synchronous function) |
◆ get_step_trace_options()
int idaapi get_step_trace_options |
( |
void |
| ) |
|
|
inline |
Get current step tracing options.
Type | Synchronous function |
Notification | none (synchronous function) |
- Returns
- Step trace options
◆ set_step_trace_options()
void idaapi set_step_trace_options |
( |
int |
options | ) |
|
|
inline |
Modify step tracing options.
Type | Synchronous function - available as request |
Notification | none (synchronous function) |