Lines Matching refs:phdr
89 GElf_Phdr *phdr = gelf_getphdr (elf, cnt, &mem); in main() local
91 const char *p_type = typenames[phdr->p_type]; in main()
94 if (phdr->p_type >= PT_NUM) in main()
96 snprintf (buf, sizeof (buf), "%x", phdr->p_type); in main()
103 (unsigned long long int) phdr->p_offset, in main()
105 (unsigned long long int) phdr->p_vaddr, in main()
107 (unsigned long long int) phdr->p_paddr, in main()
109 (unsigned long long int) phdr->p_filesz, in main()
111 (unsigned long long int) phdr->p_memsz, in main()
112 (unsigned long long int) phdr->p_align); in main()
114 putc_unlocked ((phdr->p_flags & PF_X) ? 'X' : ' ', stdout); in main()
115 putc_unlocked ((phdr->p_flags & PF_W) ? 'W' : ' ', stdout); in main()
116 putc_unlocked ((phdr->p_flags & PF_R) ? 'R' : ' ', stdout); in main()
120 if (phdr->p_type == PT_INTERP) in main()
126 if (filedata != NULL && phdr->p_offset < maxsize) in main()
128 filedata + phdr->p_offset); in main()