Struct object::pe::ImageSymbolEx
source · #[repr(C)]pub struct ImageSymbolEx {
pub name: [u8; 8],
pub value: U32Bytes<LE>,
pub section_number: I32Bytes<LE>,
pub typ: U16Bytes<LE>,
pub storage_class: u8,
pub number_of_aux_symbols: u8,
}
Fields§
§name: [u8; 8]
If first 4 bytes are 0, then second 4 bytes are offset into string table.
value: U32Bytes<LE>
§section_number: I32Bytes<LE>
§typ: U16Bytes<LE>
§storage_class: u8
§number_of_aux_symbols: u8
Trait Implementations§
source§impl Clone for ImageSymbolEx
impl Clone for ImageSymbolEx
source§fn clone(&self) -> ImageSymbolEx
fn clone(&self) -> ImageSymbolEx
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 ImageSymbolEx
impl Debug for ImageSymbolEx
source§impl ImageSymbol for ImageSymbolEx
impl ImageSymbol for ImageSymbolEx
fn raw_name(&self) -> &[u8; 8]
fn value(&self) -> u32
fn section_number(&self) -> i32
fn typ(&self) -> u16
fn storage_class(&self) -> u8
fn number_of_aux_symbols(&self) -> u8
source§fn name<'data, R: ReadRef<'data>>(
&'data self,
strings: StringTable<'data, R>
) -> Result<&'data [u8]>
fn name<'data, R: ReadRef<'data>>(
&'data self,
strings: StringTable<'data, R>
) -> Result<&'data [u8]>
Parse a COFF symbol name. Read more
source§fn address(&self, image_base: u64, sections: &SectionTable<'_>) -> Result<u64>
fn address(&self, image_base: u64, sections: &SectionTable<'_>) -> Result<u64>
Return the symbol address. Read more
source§fn is_definition(&self) -> bool
fn is_definition(&self) -> bool
Return true if the symbol is a definition of a function or data object.
source§fn has_aux_file_name(&self) -> bool
fn has_aux_file_name(&self) -> bool
Return true if the symbol has an auxiliary file name.
source§fn has_aux_function(&self) -> bool
fn has_aux_function(&self) -> bool
Return true if the symbol has an auxiliary function symbol.
source§fn has_aux_section(&self) -> bool
fn has_aux_section(&self) -> bool
Return true if the symbol has an auxiliary section symbol.