pub struct Segment<'a> { /* private fields */ }
Implementations§
Source§impl<'a> Segment<'a>
impl<'a> Segment<'a>
pub fn start_address(&self) -> Address
pub fn end_address(&self) -> Address
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn contains_address(&self, addr: Address) -> bool
pub fn name(&self) -> Option<String>
pub fn alignment(&self) -> SegmentAlignment
pub fn permissions(&self) -> SegmentPermissions
pub fn bitness(&self) -> usize
pub fn type(&self) -> SegmentType
pub fn bytes(&self) -> Vec<u8>
pub fn address_bits(&self) -> u32
pub fn address_bytes(&self) -> usize
pub fn is_16bit(&self) -> bool
pub fn is_32bit(&self) -> bool
pub fn is_64bit(&self) -> bool
pub fn is_loader(&self) -> bool
pub fn is_header(&self) -> bool
pub fn is_ephemeral(&self) -> bool
pub fn is_debugger(&self) -> bool
pub fn is_visible(&self) -> bool
Auto Trait Implementations§
impl<'a> Freeze for Segment<'a>
impl<'a> !RefUnwindSafe for Segment<'a>
impl<'a> !Send for Segment<'a>
impl<'a> !Sync for Segment<'a>
impl<'a> Unpin for Segment<'a>
impl<'a> !UnwindSafe for Segment<'a>
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