_tracedump_file_header_t Struct Reference

#include <dr_tools.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
         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];
 if the -tracedump_threshold option (deprecated) was specified:
     int num_below_treshold
     linkcount_type_t count_below_threshold
   endif

Field Documentation

Size of the linkcount (linkcounts are deprecated).

The DynamoRIO version that created the file.

Whether a 64-bit DynamoRIO library created the file.


The documentation for this struct was generated from the following file:

  DynamoRIO API version 2.0.0 --- Thu Apr 22 00:18:20 2010