Lines Matching refs:e_phnum
417 if (ehdr->e_phnum != 0) in check_elf_header()
423 else if (ehdr->e_phnum == 0) in check_elf_header()
493 else if (ehdr->e_phoff + ehdr->e_phnum * ehdr->e_phentsize > size) in check_elf_header()
510 else if (ehdr->e_phoff + ehdr->e_phnum * ehdr->e_phentsize > size) in check_elf_header()
795 for (pcnt = 0; pcnt < ehdr->e_phnum; ++pcnt) in check_symtab()
802 if (pcnt == ehdr->e_phnum) in check_symtab()
912 for (pcnt = 0; pcnt < ehdr->e_phnum; ++pcnt) in check_symtab()
2182 for (pcnt = 0; pcnt < ehdr->e_phnum; ++pcnt) in check_sections()
2216 if (pcnt == ehdr->e_phnum) in check_sections()
2436 for (int cnt = 0; cnt < ehdr->e_phnum; ++cnt) in check_program_header()
2486 for (inner = 0; inner < ehdr->e_phnum; ++inner) in check_program_header()
2510 if (inner >= ehdr->e_phnum) in check_program_header()