pub struct SegmentInfo {
pub name: String,
pub vmaddr: u64,
pub vmsize: u64,
pub fileoff: u64,
pub filesize: u64,
pub maxprot: u32,
pub initprot: u32,
pub sections: Vec<SectionInfo>,
}Expand description
One segment from the image.
Fields§
§name: StringSegment name (__TEXT, __DATA, …).
vmaddr: u64Preferred virtual address.
vmsize: u64Virtual size.
fileoff: u64File offset.
filesize: u64Bytes mapped from file.
maxprot: u32Maximum VM protection bits.
initprot: u32Initial VM protection bits.
sections: Vec<SectionInfo>Sections contained in this segment.
Trait Implementations§
Source§impl Clone for SegmentInfo
impl Clone for SegmentInfo
Source§impl Debug for SegmentInfo
impl Debug for SegmentInfo
impl Eq for SegmentInfo
Source§impl PartialEq for SegmentInfo
impl PartialEq for SegmentInfo
impl StructuralPartialEq for SegmentInfo
Auto Trait Implementations§
impl Freeze for SegmentInfo
impl RefUnwindSafe for SegmentInfo
impl Send for SegmentInfo
impl Sync for SegmentInfo
impl Unpin for SegmentInfo
impl UnsafeUnpin for SegmentInfo
impl UnwindSafe for SegmentInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.