#[repr(C)]pub struct Symbol64 {
pub n_value: U64<BigEndian>,
pub n_offset: U32<BigEndian>,
pub n_scnum: I16<BigEndian>,
pub n_type: U16<BigEndian>,
pub n_sclass: u8,
pub n_numaux: u8,
}
Expand description
Symbol table entry.
Fields§
§n_value: U64<BigEndian>
Symbol value; storage class-dependent.
n_offset: U32<BigEndian>
Offset of the name in string table or .debug section.
n_scnum: I16<BigEndian>
Section number of symbol.
n_type: U16<BigEndian>
Basic and derived type specification.
n_sclass: u8
Storage class of symbol.
n_numaux: u8
Number of auxiliary entries.
Trait Implementations§
source§impl Symbol for Symbol64
impl Symbol for Symbol64
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 the symbol name for XCOFF64.
type Word = u64
fn n_value(&self) -> Self::Word
fn n_scnum(&self) -> i16
fn n_type(&self) -> u16
fn n_sclass(&self) -> u8
fn n_numaux(&self) -> u8
fn name_offset(&self) -> Option<u32>
source§fn section(&self) -> Option<SectionIndex>
fn section(&self) -> Option<SectionIndex>
Return the section index for the symbol.
source§fn is_undefined(&self) -> bool
fn is_undefined(&self) -> bool
Return true if the symbol is undefined.
source§fn has_aux_file(&self) -> bool
fn has_aux_file(&self) -> bool
Return true if the symbol has file auxiliary entry.
source§fn has_aux_csect(&self) -> bool
fn has_aux_csect(&self) -> bool
Return true if the symbol has csect auxiliary entry. Read more
impl Copy for Symbol64
impl Pod for Symbol64
Auto Trait Implementations§
impl Freeze for Symbol64
impl RefUnwindSafe for Symbol64
impl Send for Symbol64
impl Sync for Symbol64
impl Unpin for Symbol64
impl UnwindSafe for Symbol64
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
)