DynamoRIO
_drpttracer_output_t Struct Reference

#include <drpttracer.h>

Data Fields

void * pt_buffer
 
size_t pt_buffer_size
 
size_t pt_size
 
void * sideband_buffer
 
size_t sideband_buffer_size
 
size_t sideband_size
 

Detailed Description

The storage container type of drpttracer's output. This data struct is used by drpttracer to store PT trace, and sideband data. These data can be dumped into different files by the client. These files can be the inputs of pt2ir_t, which decodes the PT data into Dynamorio's IR.

Note
This buffer can be shared across different tracing sessions. Thus, we allocate a buffer with the maximum trace size. The pt_size and sideband_size variables indicate the valid data size within the buffer.

Field Documentation

◆ pt_buffer

void* _drpttracer_output_t::pt_buffer

The buffer of PT trace.

◆ pt_buffer_size

size_t _drpttracer_output_t::pt_buffer_size

The size of PT trace's buffer.

◆ pt_size

size_t _drpttracer_output_t::pt_size

The size of vaild PT trace stored in PT buffer.

◆ sideband_buffer

void* _drpttracer_output_t::sideband_buffer

The PT sideband data's buffer.

◆ sideband_buffer_size

size_t _drpttracer_output_t::sideband_buffer_size

The size of PT sideband data's buffer.

◆ sideband_size

size_t _drpttracer_output_t::sideband_size

The size of vaild PT sideband data stored in PT buffer.


The documentation for this struct was generated from the following file:
  • /home/runner/work/dynamorio/dynamorio/ext/drpttracer/drpttracer.h