DynamoRIO
_tracedump_file_header_t Struct Reference

#include <dr_tracedump.h>

Data Fields

int version
 
bool x64
 
int linkcount_size
 

Detailed Description

   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];

Field Documentation

◆ linkcount_size

int _tracedump_file_header_t::linkcount_size

Size of the linkcount (linkcounts are deprecated).

◆ version

int _tracedump_file_header_t::version

The DynamoRIO version that created the file.

◆ x64

bool _tracedump_file_header_t::x64

Whether a 64-bit DynamoRIO library created the file.


The documentation for this struct was generated from the following file:
  • /home/runner/work/dynamorio/dynamorio/build_release-64/include/dr_tracedump.h