pub struct GnuHash<'a> { /* private fields */ }
Expand description
A better hash table for the ELF used by GNU systems in GNU-compatible software.
Implementations§
Source§impl<'a> GnuHash<'a>
impl<'a> GnuHash<'a>
Sourcepub unsafe fn from_raw_table(
hashtab: &'a [u8],
dynsyms: &'a [Sym],
) -> Result<Self, &'static str>
pub unsafe fn from_raw_table( hashtab: &'a [u8], dynsyms: &'a [Sym], ) -> Result<Self, &'static str>
Initialize a GnuHash from a pointer to .hash
(or .gnu.hash
) section
and total number of dynamic symbols.
§Safety
This function creates a GnuHash
directly from a raw pointer
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for GnuHash<'a>
impl<'a> RefUnwindSafe for GnuHash<'a>
impl<'a> Send for GnuHash<'a>
impl<'a> Sync for GnuHash<'a>
impl<'a> Unpin for GnuHash<'a>
impl<'a> UnwindSafe for GnuHash<'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