goblin::elf::dynamic::dyn64

Function get_needed

Source
pub unsafe fn get_needed<'a>(
    dyns: &[Dyn],
    strtab: *const Strtab<'a>,
    count: usize,
) -> Vec<&'a str>
Expand description

Gets the needed libraries from the _DYNAMIC array, with the str slices lifetime tied to the dynamic array/strtab’s lifetime(s)