Struct object::pe::ImageSymbolEx
source · #[repr(C)]pub struct ImageSymbolEx {
pub name: [u8; 8],
pub value: U32Bytes<LittleEndian>,
pub section_number: I32Bytes<LittleEndian>,
pub typ: U16Bytes<LittleEndian>,
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<LittleEndian>
§section_number: I32Bytes<LittleEndian>
§typ: U16Bytes<LittleEndian>
§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<Option<u64>>
fn address( &self, image_base: u64, sections: &SectionTable<'_>, ) -> Result<Option<u64>>
Return the symbol address. Read more
source§fn section(&self) -> Option<SectionIndex>
fn section(&self) -> Option<SectionIndex>
Return the section index for the symbol.
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.
fn base_type(&self) -> u16
fn derived_type(&self) -> u16
impl Copy for ImageSymbolEx
impl Pod for ImageSymbolEx
Auto Trait Implementations§
impl Freeze for ImageSymbolEx
impl RefUnwindSafe for ImageSymbolEx
impl Send for ImageSymbolEx
impl Sync for ImageSymbolEx
impl Unpin for ImageSymbolEx
impl UnwindSafe for ImageSymbolEx
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)