Struct object::pe::AnonObjectHeaderV2
source · #[repr(C)]pub struct AnonObjectHeaderV2 {
pub sig1: U16<LittleEndian>,
pub sig2: U16<LittleEndian>,
pub version: U16<LittleEndian>,
pub machine: U16<LittleEndian>,
pub time_date_stamp: U32<LittleEndian>,
pub class_id: ClsId,
pub size_of_data: U32<LittleEndian>,
pub flags: U32<LittleEndian>,
pub meta_data_size: U32<LittleEndian>,
pub meta_data_offset: U32<LittleEndian>,
}
Fields§
§sig1: U16<LittleEndian>
Must be IMAGE_FILE_MACHINE_UNKNOWN
sig2: U16<LittleEndian>
Must be 0xffff
version: U16<LittleEndian>
= 2 (implies the Flags field is present - otherwise V1)
machine: U16<LittleEndian>
§time_date_stamp: U32<LittleEndian>
§class_id: ClsId
Used to invoke CoCreateInstance
size_of_data: U32<LittleEndian>
Size of data that follows the header
flags: U32<LittleEndian>
0x1 -> contains metadata
meta_data_size: U32<LittleEndian>
Size of CLR metadata
meta_data_offset: U32<LittleEndian>
Offset of CLR metadata
Trait Implementations§
source§impl Clone for AnonObjectHeaderV2
impl Clone for AnonObjectHeaderV2
source§fn clone(&self) -> AnonObjectHeaderV2
fn clone(&self) -> AnonObjectHeaderV2
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AnonObjectHeaderV2
impl Debug for AnonObjectHeaderV2
impl Copy for AnonObjectHeaderV2
impl Pod for AnonObjectHeaderV2
Auto Trait Implementations§
impl Freeze for AnonObjectHeaderV2
impl RefUnwindSafe for AnonObjectHeaderV2
impl Send for AnonObjectHeaderV2
impl Sync for AnonObjectHeaderV2
impl Unpin for AnonObjectHeaderV2
impl UnwindSafe for AnonObjectHeaderV2
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)