#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 |
Information for one module as recorded during execution.
uint _drmodtrack_info_t::checksum |
The checksum field as stored in the module headers.
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.
void* _drmodtrack_info_t::custom |
The custom field set by the load_cb
passed to drmodtrack_add_custom_data().
uint _drmodtrack_info_t::index |
The unique index of this module segment. This equals the index
parameter passed to drmodtrack_offline_lookup().
uint64 _drmodtrack_info_t::offset |
The offset of this segment from the beginning of this backing file.
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.
size_t _drmodtrack_info_t::size |
The size of this segment of the module.
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
.
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.
uint _drmodtrack_info_t::timestamp |
The timestamp field as stored in the module headers.