pub struct Section {
pub name: String,
pub range: Range<u64>,
}Expand description
One section of a mapped module.
Fields§
§name: StringSection name as written in the PE header, e.g. .text.
PE names are 8 bytes and are NOT NUL-terminated when exactly 8 long, so this is the trimmed form rather than a raw C string.
range: Range<u64>Address range of the section as mapped in this process.
Trait Implementations§
impl Eq for Section
impl StructuralPartialEq for Section
Auto Trait Implementations§
impl Freeze for Section
impl RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnsafeUnpin for Section
impl UnwindSafe for Section
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