DynamoRIO
_drmodtrack_info_t Struct Reference

#include <drcovlib.h>

Data Fields

size_t struct_size
 
uint containing_index
 
app_pc start
 
size_t size
 
char * path
 
uint checksum
 
uint timestamp
 
void * custom
 
uint index
 
uint64 offset
 
app_pc preferred_base
 

Detailed Description

Information for one module as recorded during execution.

Field Documentation

◆ checksum

uint _drmodtrack_info_t::checksum

The checksum field as stored in the module headers.

◆ containing_index

uint _drmodtrack_info_t::containing_index

The unique index of the module segment for the base address of the containing module. If the module consists of a single contiguous mapping (the typical case), there is only one index for the whole module. If the module has gaps in its mapping, each non-contiguous segment has its own index, with this field pointing to the index of the segment with the lowest base address.

◆ custom

void* _drmodtrack_info_t::custom

The custom field set by the load_cb passed to drmodtrack_add_custom_data().

◆ index

uint _drmodtrack_info_t::index

The unique index of this module segment. This equals the index parameter passed to drmodtrack_offline_lookup().

◆ offset

uint64 _drmodtrack_info_t::offset

The offset of this segment from the beginning of this backing file. If this field is not present in an older-version offline file, it will be filled in with -1. On Windows this field is always 0.

◆ path

char* _drmodtrack_info_t::path

The full path to the file backing the module. This points to a buffer of size MAXIMUM_PATH. It can be modified.

◆ preferred_base

app_pc _drmodtrack_info_t::preferred_base

The preferred base address of this segment of the module. If this field is not present in an older-version offline file, it will be filled in with -1.

◆ size

size_t _drmodtrack_info_t::size

The size of this segment of the module.

◆ start

app_pc _drmodtrack_info_t::start

The start address of this segment of the module as it was during execution. If the module has multiple non-contiguous segments, each segment will have a distinct entry with its own unique index identifier. The containing_index field can be used to identify which segments belong to the same module. They will also all have the same path.

◆ struct_size

size_t _drmodtrack_info_t::struct_size

Used for compatibility purposes for adding new fields, the user must set this value to the size of the structure.

◆ timestamp

uint _drmodtrack_info_t::timestamp

The timestamp field as stored in the module headers.


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