pub struct CoffSymbol {
pub name: String,
pub value: u32,
pub section_number: i16,
pub symbol_type: u16,
pub storage_class: u8,
pub number_of_aux_symbols: u8,
}Expand description
COFF symbol table entry
Represents a symbol in a COFF object file, containing symbol name, value, section number, etc. Symbols can be functions, variables, labels, or other identifiers in the program.
Fields§
§name: StringSymbol name, stored in the string table if length exceeds 8 bytes
value: u32Symbol value, usually an address or offset
section_number: i16Section number where the symbol resides: 0 for undefined, -1 for absolute, -2 for debug
symbol_type: u16Symbol type, describing the basic type of the symbol
storage_class: u8Storage class, describing the scope and lifetime of the symbol
number_of_aux_symbols: u8Number of auxiliary symbols
Implementations§
Trait Implementations§
Source§impl Clone for CoffSymbol
impl Clone for CoffSymbol
Source§fn clone(&self) -> CoffSymbol
fn clone(&self) -> CoffSymbol
Returns a duplicate 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 CoffSymbol
impl Debug for CoffSymbol
Source§impl<'de> Deserialize<'de> for CoffSymbol
impl<'de> Deserialize<'de> for CoffSymbol
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CoffSymbol
impl RefUnwindSafe for CoffSymbol
impl Send for CoffSymbol
impl Sync for CoffSymbol
impl Unpin for CoffSymbol
impl UnsafeUnpin for CoffSymbol
impl UnwindSafe for CoffSymbol
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