Function goblin::elf::dynamic::dyn64::from_phdrs

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

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