--- title: "_tracedump_file_header_t Struct Reference" layout: default permalink: /struct__tracedump__file__header__t.html ---
|
DynamoRIO
|
#include <dr_tracedump.h>
Data Fields | |
| int | version |
| bool | x64 |
| int | linkcount_size |
Binary trace dump format:
the file starts with a tracedump_file_header_t
then, for each trace:
struct _tracedump_trace_header
if num_bbs > 0 # tracedump_origins
foreach bb:
app_pc tag;
int bb_code_size;
byte code[bb_code_size];
endif
foreach exit:
struct _tracedump_stub_data
if linkcount_size > 0 # deprecated
linkcount_type_t count; # sizeof == linkcount_size
endif
if separate from body
(i.e., exit_stub < cache_start_pc || exit_stub >= cache_start_pc+code_size):
byte stub_code[15]; # all separate stubs are 15
endif
endfor
byte code[code_size];
| int _tracedump_file_header_t::linkcount_size |
Size of the linkcount (linkcounts are deprecated).
| int _tracedump_file_header_t::version |
The DynamoRIO version that created the file.
| bool _tracedump_file_header_t::x64 |
Whether a 64-bit DynamoRIO library created the file.