[][src]Function goblin::elf::dynamic::dyn64::from_phdrs

pub unsafe fn from_phdrs(bias: usize, phdrs: &[ProgramHeader]) -> Option<&[Dyn]>

Maybe gets and returns the dynamic array with the same lifetime as the [phdrs], using the provided bias with wrapping addition. If the bias is wrong, it will either segfault or give you incorrect values, beware