IDA C++ SDK 9.2
Loading...
Searching...
No Matches
Step tracing

Plugins can use these functions to implement a custom tracing engine. More...

Topics

 Step trace options
 Flags returned by get_step_trace_options()

Functions

bool idaapi is_step_trace_enabled (void)
 Get current state of step tracing.
int idaapi get_step_trace_options (void)
 Get current step tracing options.
void idaapi set_step_trace_options (int options)
 Modify step tracing options.
void idaapi request_set_step_trace_options (int options)
 Post a set_step_trace_options() request.

Enable/Disable step tracing

Enable or disable the step tracing

TypeSynchronous function - available as request
Notificationnone (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)

Detailed Description

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)

Function Documentation

◆ is_step_trace_enabled()

bool idaapi is_step_trace_enabled ( void )
inline

Get current state of step tracing.

TypeSynchronous function
Notificationnone (synchronous function)

◆ enable_step_trace()

bool idaapi enable_step_trace ( int enable = 1)
inline

◆ disable_step_trace()

bool disable_step_trace ( void )
inline

◆ request_enable_step_trace()

bool idaapi request_enable_step_trace ( int enable = 1)
inline

◆ request_disable_step_trace()

bool request_disable_step_trace ( void )
inline

◆ get_step_trace_options()

int idaapi get_step_trace_options ( void )
inline

Get current step tracing options.

TypeSynchronous function
Notificationnone (synchronous function)
Returns
Step trace options

◆ set_step_trace_options()

void idaapi set_step_trace_options ( int options)
inline

Modify step tracing options.

TypeSynchronous function - available as request
Notificationnone (synchronous function)

◆ request_set_step_trace_options()

void idaapi request_set_step_trace_options ( int options)
inline

Post a set_step_trace_options() request.