#[repr(C)]pub struct LdrDataTableEntry {
pub in_load_order_links: ListEntry,
pub in_memory_order_links: ListEntry,
pub in_initialization_order_links: ListEntry,
pub dll_base: NativePtr,
pub entry_point: NativePtr,
pub size_of_image: u32,
pub full_dll_name: UnicodeString,
pub base_dll_name: UnicodeString,
}Expand description
LDR_DATA_TABLE_ENTRY - represents a loaded module
this is a simplified version; full structure has more fields that vary by Windows version
Fields§
§in_load_order_links: ListEntry§in_memory_order_links: ListEntry§in_initialization_order_links: ListEntry§dll_base: NativePtr§entry_point: NativePtr§size_of_image: u32§full_dll_name: UnicodeString§base_dll_name: UnicodeStringImplementations§
Source§impl LdrDataTableEntry
impl LdrDataTableEntry
Sourcepub fn entry_point(&self) -> usize
pub fn entry_point(&self) -> usize
get entry point address
Sourcepub fn contains_address(&self, addr: usize) -> bool
pub fn contains_address(&self, addr: usize) -> bool
check if address is within this module
Sourcepub unsafe fn matches_name(&self, name: &str) -> bool
pub unsafe fn matches_name(&self, name: &str) -> bool
Auto Trait Implementations§
impl Freeze for LdrDataTableEntry
impl RefUnwindSafe for LdrDataTableEntry
impl !Send for LdrDataTableEntry
impl !Sync for LdrDataTableEntry
impl Unpin for LdrDataTableEntry
impl UnwindSafe for LdrDataTableEntry
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