| IDA SDK

Functions
Trace management functions
Debugger functions » Tracing

## Detailed Description

## Functions
bool idaapi | load_trace_file (qstring *buf, const char *filename)
| Load a recorded trace file in the 'Tracing' window. More...
bool idaapi | save_trace_file (const char *filename, const char *description)
| Save the current trace in the specified file.
bool idaapi | is_valid_trace_file (const char *filename)
| Is the specified file a valid trace file for the current database?
bool idaapi | set_trace_file_desc (const char *filename, const char *description)
| Change the description of the specified trace file.
bool idaapi | get_trace_file_desc (qstring *buf, const char *filename)
| Get the file header of the specified trace file.
bool idaapi | choose_trace_file (qstring *buf)
| Show the choose trace dialog.
bool idaapi | diff_trace_file (const char *NONNULL filename)
| Show difference between the current trace and the one from 'filename'.
bool idaapi | graph_trace (void)
| Show the trace callgraph.
void idaapi | set_highlight_trace_options (bool hilight, bgcolor_t color, bgcolor_t diff)
| Set highlight trace parameters.
void idaapi | set_trace_platform (const char *platform)
| Set platform name of current trace.
const char *idaapi | get_trace_platform ()
| Get platform name of current trace.
void idaapi | set_trace_dynamic_register_set (dynamic_register_set_t &idaregs)
| Set dynamic register set of current trace.
void idaapi | get_trace_dynamic_register_set (dynamic_register_set_t *idaregs)
| Get dynamic register set of current trace.

## Function Documentation

## ◆ load_trace_file()

bool idaapi load_trace_file | ( | qstring * | buf,
|  | const char * | filename
| ) |  |
| inline

Load a recorded trace file in the 'Tracing' window.

If the call succeeds and 'buf' is not null, the description of the trace stored in the binary trace file will be returned in 'buf'