#include <dr_tools.h>
Data Fields | |
app_pc | end |
app_pc | entry_point |
uint | flags |
module_names_t | names |
char * | full_path |
version_number_t | file_version |
version_number_t | product_version |
uint | checksum |
uint | timestamp |
size_t | module_internal_size |
app_pc | start |
module_handle_t | handle |
On Windows the start address can be cast to an IMAGE_DOS_HEADER for use in finding the IMAGE_NT_HEADER and its OptionalHeader. The OptionalHeader can be used to walk the module sections (among other things). See WINNT.H.
When accessing any memory inside the module (including header fields) user is responsible for guarding against corruption and the possibility of the module being unmapped.
module checksum from the PE headers
app_pc _module_data_t::end |
ending address of this module
app_pc _module_data_t::entry_point |
entry point for this module as specified in the headers
file version number from .rsrc section
Reserved, set to 0
full path to the file backing this module
module_handle for use with dr_get_proc_address()
module internal size (from PE headers SizeOfImage)
struct containing name(s) for this module; use dr_module_preferred_name() to get the preferred name for this module
product version number from .rsrc section
app_pc _module_data_t::start |
starting address of this module
module timestamp from the PE headers