Struct object::pe::ImageNtHeaders32
source · #[repr(C)]pub struct ImageNtHeaders32 {
pub signature: U32<LE>,
pub file_header: ImageFileHeader,
pub optional_header: ImageOptionalHeader32,
}
Fields§
§signature: U32<LE>
§file_header: ImageFileHeader
§optional_header: ImageOptionalHeader32
Trait Implementations§
source§impl Clone for ImageNtHeaders32
impl Clone for ImageNtHeaders32
source§fn clone(&self) -> ImageNtHeaders32
fn clone(&self) -> ImageNtHeaders32
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 ImageNtHeaders32
impl Debug for ImageNtHeaders32
source§impl ImageNtHeaders for ImageNtHeaders32
impl ImageNtHeaders for ImageNtHeaders32
type ImageOptionalHeader = ImageOptionalHeader32
type ImageThunkData = ImageThunkData32
source§fn is_type_64(&self) -> bool
fn is_type_64(&self) -> bool
Return true if this type is a 64-bit header. Read more
source§fn is_valid_optional_magic(&self) -> bool
fn is_valid_optional_magic(&self) -> bool
Return true if the magic field in the optional header is valid.
source§fn file_header(&self) -> &ImageFileHeader
fn file_header(&self) -> &ImageFileHeader
Return the file header.
source§fn optional_header(&self) -> &Self::ImageOptionalHeader
fn optional_header(&self) -> &Self::ImageOptionalHeader
Return the optional header.
source§fn parse<'data, R: ReadRef<'data>>(
data: R,
offset: &mut u64
) -> Result<(&'data Self, DataDirectories<'data>)>
fn parse<'data, R: ReadRef<'data>>(
data: R,
offset: &mut u64
) -> Result<(&'data Self, DataDirectories<'data>)>
Read the NT headers, including the data directories. Read more