Struct lief::pe::symbol::AuxiliarySectionDefinition
pub struct AuxiliarySectionDefinition<'a> { /* private fields */ }
Expand description
This auxiliary symbol exposes information about the associated section.
It duplicates some information that are provided in the section header
Implementations§
§impl AuxiliarySectionDefinition<'_>
impl AuxiliarySectionDefinition<'_>
pub fn length(&self) -> u32
pub fn length(&self) -> u32
The size of section data. The same as SizeOfRawData
in the section header.
pub fn nb_line_numbers(&self) -> u16
pub fn nb_line_numbers(&self) -> u16
The number of line-number entries for the section.
pub fn checksum(&self) -> u32
pub fn checksum(&self) -> u32
The checksum for communal data. It is applicable if the IMAGE_SCN_LNK_COMDAT
flag is set
in the section header.
pub fn section_idx(&self) -> u16
pub fn section_idx(&self) -> u16
One-based index into the section table for the associated section. This is used when the COMDAT selection setting is 5.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for AuxiliarySectionDefinition<'a>
impl<'a> !Send for AuxiliarySectionDefinition<'a>
impl<'a> !Sync for AuxiliarySectionDefinition<'a>
impl<'a> Unpin for AuxiliarySectionDefinition<'a>
impl<'a> !UnwindSafe for AuxiliarySectionDefinition<'a>
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