Home
last modified time | relevance | path

Searched refs:elfHeader (Results 1 – 1 of 1) sorted by relevance

/system/chre/platform/shared/
Dnanoapp_loader.cc411 ElfHeader *elfHeader = getElfHeader(); in verifyElfHeader() local
412 if (elfHeader != nullptr && (elfHeader->e_ident[EI_MAG0] == ELFMAG0) && in verifyElfHeader()
413 (elfHeader->e_ident[EI_MAG1] == ELFMAG1) && in verifyElfHeader()
414 (elfHeader->e_ident[EI_MAG2] == ELFMAG2) && in verifyElfHeader()
415 (elfHeader->e_ident[EI_MAG3] == ELFMAG3) && in verifyElfHeader()
416 (elfHeader->e_ehsize == sizeof(ElfHeader)) && in verifyElfHeader()
417 (elfHeader->e_phentsize == sizeof(ProgramHeader)) && in verifyElfHeader()
418 (elfHeader->e_shentsize == sizeof(SectionHeader)) && in verifyElfHeader()
419 (elfHeader->e_shstrndx < elfHeader->e_shnum) && in verifyElfHeader()
420 (elfHeader->e_version == EV_CURRENT) && in verifyElfHeader()
[all …]