Struct lief::elf::SymbolVersionDefinition
pub struct SymbolVersionDefinition<'a> { /* private fields */ }
Expand description
Structure which represents an entry defined in DT_VERDEF
or .gnu.version_d
Implementations§
§impl SymbolVersionDefinition<'_>
impl SymbolVersionDefinition<'_>
pub fn version(&self) -> u16
pub fn version(&self) -> u16
Version revision
This field should always have the value 1
. It will be changed
if the versioning implementation has to be changed in an incompatible way.
pub fn ndx(&self) -> u16
pub fn ndx(&self) -> u16
Version index
Numeric value used as an index in the SymbolVersion
table
pub fn auxiliary_symbols(&self) -> DefAuxiliarySymbols<'_> ⓘ
pub fn auxiliary_symbols(&self) -> DefAuxiliarySymbols<'_> ⓘ
Iterator over the SymbolVersionAux
associated with this entry
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for SymbolVersionDefinition<'a>
impl<'a> !Send for SymbolVersionDefinition<'a>
impl<'a> !Sync for SymbolVersionDefinition<'a>
impl<'a> Unpin for SymbolVersionDefinition<'a>
impl<'a> UnwindSafe for SymbolVersionDefinition<'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