pub struct PeImage {
pub image: Vec<u8>,
pub entry_offset: u64,
pub alignment: u64,
}Expand description
A PE/COFF image laid out at its section addresses.
Fields§
§image: Vec<u8>The image, SizeOfImage bytes long, rounded up to a whole page.
entry_offset: u64The entry point, as an offset from the start of the image.
alignment: u64The alignment that the image base needs.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PeImage
impl RefUnwindSafe for PeImage
impl Send for PeImage
impl Sync for PeImage
impl Unpin for PeImage
impl UnsafeUnpin for PeImage
impl UnwindSafe for PeImage
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