Struct lief::elf::SymbolVersionRequirement
pub struct SymbolVersionRequirement<'a> { /* private fields */ }
Expand description
Structure which represents an entry in the DT_VERNEED
or .gnu.version_r
table
Implementations§
§impl SymbolVersionRequirement<'_>
impl SymbolVersionRequirement<'_>
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 name(&self) -> String
pub fn name(&self) -> String
Return the library name associated with this requirement (e.g. libc.so.6
)
pub fn auxiliary_symbols(&self) -> AuxiliarySymbols<'_> ⓘ
pub fn auxiliary_symbols(&self) -> AuxiliarySymbols<'_> ⓘ
Auxiliary entries as an iterator over SymbolVersionAuxRequirement
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for SymbolVersionRequirement<'a>
impl<'a> !Send for SymbolVersionRequirement<'a>
impl<'a> !Sync for SymbolVersionRequirement<'a>
impl<'a> Unpin for SymbolVersionRequirement<'a>
impl<'a> UnwindSafe for SymbolVersionRequirement<'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