pub struct Dynamic {
pub dyns: Vec<Dyn>,
pub info: DynamicInfo,
}
Fields
dyns: Vec<Dyn>
info: DynamicInfo
Implementations
sourceimpl Dynamic
impl Dynamic
sourcepub fn parse(
bytes: &[u8],
phdrs: &[ProgramHeader],
ctx: Ctx
) -> Result<Option<Self>>
pub fn parse(
bytes: &[u8],
phdrs: &[ProgramHeader],
ctx: Ctx
) -> Result<Option<Self>>
Returns a vector of dynamic entries from the underlying byte bytes
, with endianness
, using the provided phdrs
pub fn get_libraries<'a>(&self, strtab: &Strtab<'a>) -> Vec<&'a str>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Dynamic
impl Send for Dynamic
impl Sync for Dynamic
impl Unpin for Dynamic
impl UnwindSafe for Dynamic
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more