Struct AnonObjectHeaderV2

struct AnonObjectHeaderV2 { ... }

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

Implementations

impl Clone for AnonObjectHeaderV2

fn clone(self: &Self) -> AnonObjectHeaderV2

impl Copy for AnonObjectHeaderV2

impl Debug for AnonObjectHeaderV2

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Freeze for AnonObjectHeaderV2

impl Pod for AnonObjectHeaderV2

impl RefUnwindSafe for AnonObjectHeaderV2

impl Send for AnonObjectHeaderV2

impl Sync for AnonObjectHeaderV2

impl Unpin for AnonObjectHeaderV2

impl UnsafeUnpin for AnonObjectHeaderV2

impl UnwindSafe for AnonObjectHeaderV2

impl<T> Any for AnonObjectHeaderV2

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for AnonObjectHeaderV2

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for AnonObjectHeaderV2

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for AnonObjectHeaderV2

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for AnonObjectHeaderV2

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for AnonObjectHeaderV2

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for AnonObjectHeaderV2

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for AnonObjectHeaderV2

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for AnonObjectHeaderV2

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>