| /freebsd-12-stable/sys/compat/cloudabi/ |
| D | cloudabi_vdso.lds | 47 text PT_LOAD FLAGS(5) FILEHDR PHDRS; /* PF_R|PF_X */ 48 dynamic PT_DYNAMIC FLAGS(4); /* PF_R */ 49 note PT_NOTE FLAGS(4); /* PF_R */
|
| /freebsd-12-stable/usr.sbin/btxld/ |
| D | elfh.c | 71 htole32(PF_R | PF_X), /* p_flags */ 81 htole32(PF_R | PF_W), /* p_flags */
|
| /freebsd-12-stable/sys/arm/arm/ |
| D | dump_machdep.c | 94 phdr.p_flags = PF_R; /* XXX */ in dumpsys_write_aux_headers()
|
| /freebsd-12-stable/contrib/llvm-project/lld/ELF/ |
| D | Writer.cpp | 2137 addPhdrForSection(part, SHT_ARM_EXIDX, PT_ARM_EXIDX, PF_R); in finalizeSections() 2141 addPhdrForSection(part, SHT_MIPS_REGINFO, PT_MIPS_REGINFO, PF_R); in finalizeSections() 2142 addPhdrForSection(part, SHT_MIPS_OPTIONS, PT_MIPS_OPTIONS, PF_R); in finalizeSections() 2143 addPhdrForSection(part, SHT_MIPS_ABIFLAGS, PT_MIPS_ABIFLAGS, PF_R); in finalizeSections() 2335 return PF_R | PF_W | PF_X; in computeFlags() 2337 return flags & ~PF_R; in computeFlags() 2357 uint64_t flags = computeFlags(PF_R); in createPhdrs() 2366 addHdr(PT_PHDR, PF_R)->add(Out::programHeaders); in createPhdrs() 2368 addHdr(PT_PHDR, PF_R)->add(part.programHeaders->getParent()); in createPhdrs() 2388 PhdrEntry *relRo = make<PhdrEntry>(PT_GNU_RELRO, PF_R); in createPhdrs() [all …]
|
| D | OutputSections.cpp | 49 ret |= PF_R; in getPhdrFlags()
|
| D | LinkerScript.cpp | 1273 PhdrEntry *phdr = make<PhdrEntry>(cmd.type, cmd.flags ? *cmd.flags : PF_R); in createPhdrs()
|
| /freebsd-12-stable/libexec/rtld-elf/ |
| D | map_object.c | 125 stack_flags = RTLD_DEFAULT_STACK_PF_EXEC | PF_R | PF_W; in map_object() 478 if (elfflags & PF_R) in convert_prot()
|
| D | rtld.c | 1469 obj->stack_flags = PF_X | PF_R | PF_W; in digest_phdr() 2150 obj->stack_flags = PF_X | PF_R | PF_W; in parse_rtld_phdr()
|
| /freebsd-12-stable/sys/dev/ksyms/ |
| D | ksyms.c | 304 hdr->kh_txtphdr.p_flags = PF_R | PF_X; in ksyms_snapshot() 310 hdr->kh_datphdr.p_flags = PF_R | PF_W | PF_X; in ksyms_snapshot()
|
| /freebsd-12-stable/contrib/binutils/include/elf/ |
| D | common.h | 317 #define PF_R (1 << 2) /* Segment is readable */ macro
|
| /freebsd-12-stable/contrib/gdb/gdb/ |
| D | gcore.c | 300 p_flags |= PF_R; /* Segment is readable. */ in make_output_phdrs()
|
| /freebsd-12-stable/sys/kern/ |
| D | kern_dump.c | 255 phdr.p_flags = PF_R; /* XXX */ in cb_dumphdr()
|
| D | imgact_elf.c | 1967 phdr->p_flags = PF_R; in __elfN() 2742 if (flags & PF_R) in __elfN() 2746 if (i386_read_exec && (flags & PF_R)) in __elfN() 2762 flags |= PF_R; in __elfN()
|
| /freebsd-12-stable/usr.bin/gcore/ |
| D | elfcore.c | 317 phdr->p_flags |= PF_R; in cb_put_phdr() 524 phdr->p_flags = PF_R; in elf_puthdr()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| D | ELFDump.cpp | 274 << ((Phdr.p_flags & ELF::PF_R) ? "r" : "-") in printProgramHeaders()
|
| /freebsd-12-stable/sys/sys/ |
| D | elf_common.h | 558 #define PF_R 0x4 /* Readable. */ macro
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| D | ELF.h | 1327 PF_R = 4, // Read enumerator
|
| /freebsd-12-stable/contrib/binutils/bfd/ |
| D | elf.c | 1188 (p->p_flags & PF_R) != 0 ? 'r' : '-', in _bfd_elf_print_private_bfd_data() 1191 if ((p->p_flags &~ (unsigned) (PF_R | PF_W | PF_X)) != 0) in _bfd_elf_print_private_bfd_data() 1192 fprintf (f, " %lx", p->p_flags &~ (unsigned) (PF_R | PF_W | PF_X)); in _bfd_elf_print_private_bfd_data() 3896 m->p_flags = PF_R | PF_X; in _bfd_elf_map_sections_to_segments() 4119 m->p_flags = PF_R; in _bfd_elf_map_sections_to_segments() 4176 m->p_flags = PF_R; in _bfd_elf_map_sections_to_segments() 4494 p->p_flags |= PF_R; in assign_file_positions_for_load_sections() 4519 p->p_flags |= PF_R; in assign_file_positions_for_load_sections() 4657 p->p_flags |= PF_R; in assign_file_positions_for_load_sections()
|
| D | elfcode.h | 1670 if (i_phdrs[i].p_type == PT_LOAD && (i_phdrs[i].p_flags & PF_R)) in NAME() 1720 if (i_phdrs[i].p_type == PT_LOAD && (i_phdrs[i].p_flags & PF_R)) in NAME()
|
| D | elflink.c | 5395 elf_tdata (output_bfd)->stack_flags = PF_R | PF_W | PF_X; in bfd_elf_size_dynamic_sections() 5397 elf_tdata (output_bfd)->stack_flags = PF_R | PF_W; in bfd_elf_size_dynamic_sections() 5424 elf_tdata (output_bfd)->stack_flags = PF_R | PF_W | exec; in bfd_elf_size_dynamic_sections()
|
| /freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/ |
| D | ProcessElfCore.cpp | 141 ((header.p_flags & llvm::ELF::PF_R) ? lldb::ePermissionsReadable : 0u) | in AddAddressRangeFromLoadSegment()
|
| /freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
| D | ObjectFileELF.cpp | 1669 if (H.p_flags & PF_R) in GetPermissions() 3122 << (((p_flags & PF_W) && (p_flags & PF_R)) ? '+' : ' ') in DumpELFProgramHeader_p_flags() 3123 << ((p_flags & PF_R) ? "PF_R" : " "); in DumpELFProgramHeader_p_flags()
|
| /freebsd-12-stable/contrib/elftoolchain/common/ |
| D | elfdefinitions.h | 930 _ELF_DEFINE_PF(PF_R, 0x4, "Read") \
|
| /freebsd-12-stable/contrib/binutils/binutils/ |
| D | readelf.c | 3434 (segment->p_flags & PF_R ? 'R' : ' '), in process_program_headers() 3470 (segment->p_flags & PF_R ? 'R' : ' '), in process_program_headers() 3493 (segment->p_flags & PF_R ? 'R' : ' '), in process_program_headers()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| D | ELFYAML.cpp | 671 BCase(PF_R); in bitset()
|