Struct goblin::pe::symbol::AuxSectionDefinition
source · #[repr(C)]pub struct AuxSectionDefinition {
pub length: u32,
pub number_of_relocations: u16,
pub number_of_line_numbers: u16,
pub checksum: u32,
pub number: u16,
pub selection: u8,
pub unused: [u8; 3],
}
Expand description
Auxiliary symbol record for section definitions.
Fields§
§length: u32
The size of section data; the same as size_of_raw_data
in the section header.
number_of_relocations: u16
The number of relocation entries for the section.
number_of_line_numbers: u16
The number of line-number entries for the section.
checksum: u32
The checksum for communal data.
It is applicable if the IMAGE_SCN_LNK_COMDAT
flag is set in the section header.
number: u16
One-based index into the section table for the associated section.
This is used when the selection
field is IMAGE_COMDAT_SELECT_ASSOCIATIVE
.
selection: u8
The COMDAT selection number.
This is applicable if the section is a COMDAT section.
unused: [u8; 3]
Unused padding.
Trait Implementations§
source§impl Clone for AuxSectionDefinition
impl Clone for AuxSectionDefinition
source§fn clone(&self) -> AuxSectionDefinition
fn clone(&self) -> AuxSectionDefinition
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 AuxSectionDefinition
impl Debug for AuxSectionDefinition
source§impl Default for AuxSectionDefinition
impl Default for AuxSectionDefinition
source§fn default() -> AuxSectionDefinition
fn default() -> AuxSectionDefinition
Returns the “default value” for a type. Read more
source§impl FromCtx<Endian> for AuxSectionDefinition
impl FromCtx<Endian> for AuxSectionDefinition
source§impl<'a> IntoCtx<Endian> for &'a AuxSectionDefinition
impl<'a> IntoCtx<Endian> for &'a AuxSectionDefinition
source§impl IntoCtx<Endian> for AuxSectionDefinition
impl IntoCtx<Endian> for AuxSectionDefinition
source§impl PartialEq for AuxSectionDefinition
impl PartialEq for AuxSectionDefinition
source§fn eq(&self, other: &AuxSectionDefinition) -> bool
fn eq(&self, other: &AuxSectionDefinition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFromCtx<'a, Endian> for AuxSectionDefinitionwhere
AuxSectionDefinition: 'a,
impl<'a> TryFromCtx<'a, Endian> for AuxSectionDefinitionwhere AuxSectionDefinition: 'a,
source§impl<'a> TryIntoCtx<Endian> for &'a AuxSectionDefinition
impl<'a> TryIntoCtx<Endian> for &'a AuxSectionDefinition
source§impl TryIntoCtx<Endian> for AuxSectionDefinition
impl TryIntoCtx<Endian> for AuxSectionDefinition
impl Copy for AuxSectionDefinition
impl StructuralPartialEq for AuxSectionDefinition
Auto Trait Implementations§
impl RefUnwindSafe for AuxSectionDefinition
impl Send for AuxSectionDefinition
impl Sync for AuxSectionDefinition
impl Unpin for AuxSectionDefinition
impl UnwindSafe for AuxSectionDefinition
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