Lines Matching refs:phdr2
4586 GElf_Phdr *phdr2; in check_program_header() local
4588 phdr2 = gelf_getphdr (ebl->elf, inner, &phdr2_mem); in check_program_header()
4589 if (phdr2 == NULL) in check_program_header()
4592 if (phdr2->p_type == PT_LOAD in check_program_header()
4593 && phdr->p_vaddr >= phdr2->p_vaddr in check_program_header()
4595 <= phdr2->p_vaddr + phdr2->p_memsz)) in check_program_header()
4597 if ((phdr2->p_flags & PF_W) == 0) in check_program_header()
4603 if (phdr->p_vaddr == phdr2->p_vaddr in check_program_header()
4605 == phdr2->p_vaddr + phdr2->p_memsz)) in check_program_header()
4607 if ((phdr2->p_flags & ~PF_W) in check_program_header()
4615 if ((phdr->p_flags & ~phdr2->p_flags) != 0) in check_program_header()
4636 GElf_Phdr *phdr2; in check_program_header() local
4638 phdr2 = gelf_getphdr (ebl->elf, inner, &phdr2_mem); in check_program_header()
4639 if (phdr2 != NULL in check_program_header()
4640 && phdr2->p_type == PT_LOAD in check_program_header()
4641 && phdr->p_vaddr >= phdr2->p_vaddr in check_program_header()
4643 <= phdr2->p_vaddr + phdr2->p_memsz)) in check_program_header()