Struct object::pe::ImageFileHeader
source · #[repr(C)]pub struct ImageFileHeader {
pub machine: U16<LE>,
pub number_of_sections: U16<LE>,
pub time_date_stamp: U32<LE>,
pub pointer_to_symbol_table: U32<LE>,
pub number_of_symbols: U32<LE>,
pub size_of_optional_header: U16<LE>,
pub characteristics: U16<LE>,
}
Fields§
§machine: U16<LE>
§number_of_sections: U16<LE>
§time_date_stamp: U32<LE>
§pointer_to_symbol_table: U32<LE>
§number_of_symbols: U32<LE>
§size_of_optional_header: U16<LE>
§characteristics: U16<LE>
Trait Implementations§
source§impl Clone for ImageFileHeader
impl Clone for ImageFileHeader
source§fn clone(&self) -> ImageFileHeader
fn clone(&self) -> ImageFileHeader
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 CoffHeader for ImageFileHeader
impl CoffHeader for ImageFileHeader
type ImageSymbol = ImageSymbol
type ImageSymbolBytes = ImageSymbolBytes
source§fn is_type_bigobj() -> bool
fn is_type_bigobj() -> bool
Return true if this type is
AnonObjectHeaderBigobj
. Read morefn machine(&self) -> u16
fn number_of_sections(&self) -> u32
fn pointer_to_symbol_table(&self) -> u32
fn number_of_symbols(&self) -> u32
fn characteristics(&self) -> u16
source§fn parse<'data, R: ReadRef<'data>>(
data: R,
offset: &mut u64
) -> Result<&'data Self>
fn parse<'data, R: ReadRef<'data>>(
data: R,
offset: &mut u64
) -> Result<&'data Self>
Read the file header. Read more