Searched refs:phdr2 (Results 1 – 4 of 4) sorted by relevance
4552 GElf_Phdr *phdr2; in check_program_header() local4554 phdr2 = gelf_getphdr (ebl->elf, inner, &phdr2_mem); in check_program_header()4555 if (phdr2 == NULL) in check_program_header()4558 if (phdr2->p_type == PT_LOAD in check_program_header()4559 && phdr->p_vaddr >= phdr2->p_vaddr in check_program_header()4561 <= phdr2->p_vaddr + phdr2->p_memsz)) in check_program_header()4563 if ((phdr2->p_flags & PF_W) == 0) in check_program_header()4569 if (phdr->p_vaddr == phdr2->p_vaddr in check_program_header()4571 == phdr2->p_vaddr + phdr2->p_memsz)) in check_program_header()4573 if ((phdr2->p_flags & ~PF_W) in check_program_header()[all …]
622 GElf_Phdr *phdr2 = gelf_getphdr (elf2, ndx, &phdr2_mem); in main() local623 if (phdr2 == NULL) in main()628 if (unlikely (memcmp (phdr1, phdr2, sizeof (GElf_Phdr)) != 0)) in main()
1521 GElf_Phdr *phdr2 = NULL; in print_phdr() local1524 phdr2 = gelf_getphdr (ebl->elf, cnt2, &phdr2_mem); in print_phdr()1526 if (phdr2 != NULL && phdr2->p_type == PT_LOAD in print_phdr()1527 && shdr->sh_addr >= phdr2->p_vaddr in print_phdr()1529 <= phdr2->p_vaddr + phdr2->p_memsz)) in print_phdr()1535 if ((phdr2->p_flags & PF_W) == 0 && !in_ro) in print_phdr()1540 else if ((phdr2->p_flags & PF_W) != 0 && in_ro) in print_phdr()
1448 phdr2 pointer.