pub unsafe extern "C" fn dr_lookup_module(
pc: *mut byte,
) -> *mut module_data_tExpand description
Looks up the module containing \p pc. If a module containing \p pc is found returns a module_data_t describing that module. Returns NULL if \p pc is outside all known modules, which is the case for most dynamically generated code. Can be used to obtain a module_handle_t for dr_lookup_module_section() or dr_get_proc_address() via the \p handle field inside module_data_t.
\note Returned module_data_t must be freed with dr_free_module_data().