State-of-the-art binary code analysis tools
Instruction tracing

Detailed Description

When instruction tracing is active, each executed instruction is stored in the tracing buffer.

Internally, IDA uses step tracing to record register values after the execution of the instruction.

Functions

bool idaapi is_insn_trace_enabled (void)
 Get current state of instruction tracing. More...
 
int idaapi get_insn_trace_options (void)
 Get current instruction tracing options. More...
 
void idaapi set_insn_trace_options (int options)
 Modify instruction tracing options. More...
 
void idaapi request_set_insn_trace_options (int options)
 Post a set_insn_trace_options() request.
 

Enable/Disable instruction tracing

TypeSynchronous function - available as request
Notificationnone (synchronous function)
bool idaapi enable_insn_trace (bool enable=true)
 
bool disable_insn_trace (void)
 
bool idaapi request_enable_insn_trace (bool enable=true)
 
bool request_disable_insn_trace (void)
 

Function Documentation

◆ is_insn_trace_enabled()

bool idaapi is_insn_trace_enabled ( void  )
inline

Get current state of instruction tracing.

TypeSynchronous function
Notificationnone (synchronous function)

◆ get_insn_trace_options()

int idaapi get_insn_trace_options ( void  )
inline

Get current instruction tracing options.

Also see IT_LOG_SAME_IP

TypeSynchronous function
Notificationnone (synchronous function)

◆ set_insn_trace_options()

void idaapi set_insn_trace_options ( int  options)
inline

Modify instruction tracing options.

TypeSynchronous function - available as request
Notificationnone (synchronous function)