Struct lief::elf::symbol_versioning::SymbolVersion
pub struct SymbolVersion<'a> { /* private fields */ }
Expand description
Structure which represents an entry defined in the DT_VERSYM
dynamic entry
Implementations§
§impl SymbolVersion<'_>
impl SymbolVersion<'_>
pub fn value(&self) -> u16
pub fn value(&self) -> u16
Value associated with the symbol
If the given SymbolVersion
doesn’t have SymbolVersion::symbol_version_auxiliary
:
0
means Local1
means Global
pub fn symbol_version_auxiliary(&self) -> Option<SymbolVersionAux<'_>>
pub fn symbol_version_auxiliary(&self) -> Option<SymbolVersionAux<'_>>
SymbolVersionAux associated with the current Version if any.
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for SymbolVersion<'a>
impl<'a> !Send for SymbolVersion<'a>
impl<'a> !Sync for SymbolVersion<'a>
impl<'a> Unpin for SymbolVersion<'a>
impl<'a> UnwindSafe for SymbolVersion<'a>
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