#[repr(C)]pub struct DosStub(pub [u8; 64]);
Expand description
The DOS stub program which should be executed in DOS mode. It prints the message “This program cannot be run in DOS mode” and exits.
§Position in a modern PE file
The DosStub is usually located immediately after the DosHeader and…
- De facto, can be followed by a non-standard “Rich header”.
- According to the standard, is followed by the Header::signature and then the CoffHeader.
Tuple Fields§
§0: [u8; 64]
Trait Implementations§
source§impl PartialEq for DosStub
impl PartialEq for DosStub
source§impl<'a> TryIntoCtx<Endian> for &'a DosStub
impl<'a> TryIntoCtx<Endian> for &'a DosStub
source§impl TryIntoCtx<Endian> for DosStub
impl TryIntoCtx<Endian> for DosStub
impl Copy for DosStub
impl StructuralPartialEq for DosStub
Auto Trait Implementations§
impl Freeze for DosStub
impl RefUnwindSafe for DosStub
impl Send for DosStub
impl Sync for DosStub
impl Unpin for DosStub
impl UnwindSafe for DosStub
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