Searched refs:phdr2 (Results 1 – 4 of 4) sorted by relevance
4489 GElf_Phdr *phdr2; in check_program_header() local4491 phdr2 = gelf_getphdr (ebl->elf, inner, &phdr2_mem); in check_program_header()4492 if (phdr2 == NULL) in check_program_header()4495 if (phdr2->p_type == PT_LOAD in check_program_header()4496 && phdr->p_vaddr >= phdr2->p_vaddr in check_program_header()4498 <= phdr2->p_vaddr + phdr2->p_memsz)) in check_program_header()4500 if ((phdr2->p_flags & PF_W) == 0) in check_program_header()4506 if (phdr->p_vaddr == phdr2->p_vaddr in check_program_header()4508 == phdr2->p_vaddr + phdr2->p_memsz)) in check_program_header()4510 if ((phdr2->p_flags & ~PF_W) in check_program_header()[all …]
606 GElf_Phdr *phdr2 = gelf_getphdr (elf2, ndx, &phdr2_mem); in main() local607 if (phdr2 == NULL) in main()612 if (unlikely (memcmp (phdr1, phdr2, sizeof (GElf_Phdr)) != 0)) in main()
1397 GElf_Phdr *phdr2 = NULL; in print_phdr() local1400 phdr2 = gelf_getphdr (ebl->elf, cnt2, &phdr2_mem); in print_phdr()1402 if (phdr2 != NULL && phdr2->p_type == PT_LOAD in print_phdr()1403 && shdr->sh_addr >= phdr2->p_vaddr in print_phdr()1405 <= phdr2->p_vaddr + phdr2->p_memsz)) in print_phdr()1411 if ((phdr2->p_flags & PF_W) == 0 && !in_ro) in print_phdr()1416 else if ((phdr2->p_flags & PF_W) != 0 && in_ro) in print_phdr()
238 phdr2 pointer.