fn for_each_program_header<F>(
header: &ElfHeader,
file_obj: &dyn FileObject,
callback: F,
) -> Result<(), ElfLoaderError>where
F: FnMut(u16, &ProgramHeader) -> Result<bool, ElfLoaderError>,Expand description
Iterate through all program headers and call a closure for each one