Skip to main content

load_elf_from_fat

Function load_elf_from_fat 

Source
fn load_elf_from_fat<B: BlockDevice>(
    fs: &mut FatFs<'_, B>,
    path: &str,
    entry: &DirEntry,
) -> Option<ModuleInfo>
Expand description

Load an ELF from a directory entry into allocated memory.

Validates the ELF header before loading. Returns None on any error.