Trait object::read::coff::ImageSymbol

source ·
pub trait ImageSymbol: Debug + Pod {
Show 14 methods 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; fn name<'data, R: ReadRef<'data>>(
        &'data self,
        strings: StringTable<'data, R>
    ) -> Result<&'data [u8]> { ... } fn address(&self, image_base: u64, sections: &SectionTable<'_>) -> Result<u64> { ... } fn is_definition(&self) -> bool { ... } fn has_aux_file_name(&self) -> bool { ... } fn has_aux_function(&self) -> bool { ... } fn has_aux_section(&self) -> bool { ... } fn base_type(&self) -> u16 { ... } fn derived_type(&self) -> u16 { ... }
}
Expand description

A trait for generic access to ImageSymbol and ImageSymbolEx.

Required Methods§

Provided Methods§

Parse a COFF symbol name.

strings must be the string table used for symbol names.

Return the symbol address.

This takes into account the image base and the section address.

Return true if the symbol is a definition of a function or data object.

Return true if the symbol has an auxiliary file name.

Return true if the symbol has an auxiliary function symbol.

Return true if the symbol has an auxiliary section symbol.

Implementors§