[−][src]Function sunrise_loader::elf_loader::from_data
pub fn from_data(data: &[u8]) -> Result<ElfFile, Error>
Turn a byte array into an ELF file.
Errors
LoaderError::InvalidElf
- The provided ELF file is invalid.
pub fn from_data(data: &[u8]) -> Result<ElfFile, Error>
Turn a byte array into an ELF file.
LoaderError::InvalidElf