pub struct PeSection {
pub start: u64,
pub mem_size: u64,
pub data: Vec<u8>,
pub writable: bool,
}Fields§
§start: u64§mem_size: u64§data: Vec<u8>§writable: boolIMAGE_SCN_MEM_WRITE from the section characteristics. Unlike
executability (which the loader deliberately leaves permissive, see
BinaryFormat::mapped_regions), writability is read straight from the
section table, so a section without the bit is proven read-only.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PeSection
impl RefUnwindSafe for PeSection
impl Send for PeSection
impl Sync for PeSection
impl Unpin for PeSection
impl UnsafeUnpin for PeSection
impl UnwindSafe for PeSection
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