#[repr(C)]pub struct _module_names_t {
pub module_name: *const c_char,
pub file_name: *const c_char,
pub inode: uint64,
}Expand description
Holds the names of a module. This structure contains multiple fields corresponding to different sources of a module name. Note that some of these names may not exist for certain modules. It is highly likely, however, that at least one name is available. Use dr_module_preferred_name() on the parent _module_data_t to get the preferred name of the module.
Fields§
§module_name: *const c_char< On windows this name comes from the PE header exports section (NULL if the module has no exports section). On Linux the name will come from the ELF DYNAMIC program header (NULL if the module has no SONAME entry).
file_name: *const c_char< The file name used to load this module. Note - on Windows this is not always available.
inode: uint64< The inode of the module file mapped in.
Trait Implementations§
Source§impl Clone for _module_names_t
impl Clone for _module_names_t
Source§fn clone(&self) -> _module_names_t
fn clone(&self) -> _module_names_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for _module_names_t
impl Debug for _module_names_t
impl Copy for _module_names_t
Auto Trait Implementations§
impl Freeze for _module_names_t
impl RefUnwindSafe for _module_names_t
impl !Send for _module_names_t
impl !Sync for _module_names_t
impl Unpin for _module_names_t
impl UnwindSafe for _module_names_t
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more