Struct goblin::pe::optional_header::StandardFields32
source · #[repr(C)]pub struct StandardFields32 {
pub magic: u16,
pub major_linker_version: u8,
pub minor_linker_version: u8,
pub size_of_code: u32,
pub size_of_initialized_data: u32,
pub size_of_uninitialized_data: u32,
pub address_of_entry_point: u32,
pub base_of_code: u32,
pub base_of_data: u32,
}
Expand description
Standard 32-bit COFF fields (for PE32
).
In winnt.h
, this is a subset of IMAGE_OPTIONAL_HEADER32
.
- For 64-bit version, see
StandardFields64
. - For unified version, see
StandardFields
.
Fields§
§magic: u16
See docs for StandardFields::magic
.
major_linker_version: u8
See docs for StandardFields::major_linker_version
.
minor_linker_version: u8
See docs for StandardFields::minor_linker_version
.
size_of_code: u32
See docs for StandardFields::size_of_code
.
size_of_initialized_data: u32
See docs for StandardFields::size_of_initialized_data
.
size_of_uninitialized_data: u32
See docs for StandardFields::size_of_uninitialized_data
.
address_of_entry_point: u32
See docs for StandardFields::address_of_entry_point
.
base_of_code: u32
See docs for StandardFields::base_of_code
.
base_of_data: u32
See docs for StandardFields::base_of_data
.
Trait Implementations§
source§impl Clone for StandardFields32
impl Clone for StandardFields32
source§fn clone(&self) -> StandardFields32
fn clone(&self) -> StandardFields32
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 StandardFields32
impl Debug for StandardFields32
source§impl Default for StandardFields32
impl Default for StandardFields32
source§fn default() -> StandardFields32
fn default() -> StandardFields32
Returns the “default value” for a type. Read more
source§impl From<StandardFields> for StandardFields32
impl From<StandardFields> for StandardFields32
source§fn from(fields: StandardFields) -> Self
fn from(fields: StandardFields) -> Self
Converts to this type from the input type.
source§impl From<StandardFields32> for StandardFields
impl From<StandardFields32> for StandardFields
source§fn from(fields: StandardFields32) -> Self
fn from(fields: StandardFields32) -> Self
Converts to this type from the input type.
source§impl PartialEq for StandardFields32
impl PartialEq for StandardFields32
source§fn eq(&self, other: &StandardFields32) -> bool
fn eq(&self, other: &StandardFields32) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFromCtx<'a, Endian> for StandardFields32where
StandardFields32: 'a,
impl<'a> TryFromCtx<'a, Endian> for StandardFields32where
StandardFields32: 'a,
source§impl<'a> TryIntoCtx<Endian> for &'a StandardFields32
impl<'a> TryIntoCtx<Endian> for &'a StandardFields32
source§impl TryIntoCtx<Endian> for StandardFields32
impl TryIntoCtx<Endian> for StandardFields32
impl Copy for StandardFields32
impl StructuralPartialEq for StandardFields32
Auto Trait Implementations§
impl Freeze for StandardFields32
impl RefUnwindSafe for StandardFields32
impl Send for StandardFields32
impl Sync for StandardFields32
impl Unpin for StandardFields32
impl UnwindSafe for StandardFields32
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