| /freebsd-11-stable/libexec/rtld-elf/ |
| HD | map_object.c | 122 stack_flags = RTLD_DEFAULT_STACK_PF_EXEC | PF_R | PF_W; in map_object() 477 if (elfflags & PF_W) in convert_prot() 493 if (!(elfflags & PF_W)) in convert_flags()
|
| HD | rtld.c | 1454 obj->stack_flags = PF_X | PF_R | PF_W; in digest_phdr() 2124 obj->stack_flags = PF_X | PF_R | PF_W; in parse_rtld_phdr() 2926 if (ph->p_type != PT_LOAD || (ph->p_flags & PF_W) != 0) in reloc_textrel_prot()
|
| /freebsd-11-stable/usr.sbin/btxld/ |
| HD | elfh.c | 81 htole32(PF_R | PF_W), /* p_flags */
|
| HD | btxld.c | 377 if (le32toh(ep->p_flags) & PF_W) in gethdr()
|
| /freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/lsan/ |
| HD | lsan_common_linux.cpp | 86 if (!(phdr->p_flags & PF_W) || (phdr->p_type != PT_LOAD) || in ProcessGlobalRegionsCallback()
|
| /freebsd-11-stable/contrib/binutils/include/elf/ |
| HD | common.h | 316 #define PF_W (1 << 1) /* Segment is writable */ macro
|
| /freebsd-11-stable/contrib/gdb/gdb/ |
| HD | gcore.c | 302 p_flags |= PF_W; /* Segment is writable. */ in make_output_phdrs()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| HD | ELFDump.cpp | 251 << ((Phdr.p_flags & ELF::PF_W) ? "w" : "-") in printProgramHeaders()
|
| /freebsd-11-stable/contrib/llvm-project/lld/ELF/ |
| HD | Writer.cpp | 1070 if (!(p->p_flags & PF_W)) in setReservedSymbolSections() 2025 return PF_R | PF_W | PF_X; in computeFlags() 2028 if (config->singleRoRx && !(flags & PF_W)) in computeFlags() 2167 unsigned perm = PF_R | PF_W; in createPhdrs()
|
| HD | OutputSections.cpp | 49 ret |= PF_W; in getPhdrFlags()
|
| HD | Relocations.cpp | 467 !(phdr.p_flags & ELF::PF_W) && ss.value >= phdr.p_vaddr && in isReadOnly()
|
| /freebsd-11-stable/sys/dev/ksyms/ |
| HD | ksyms.c | 305 hdr->kh_datphdr.p_flags = PF_R | PF_W | PF_X; in ksyms_snapshot()
|
| /freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| HD | sanitizer_linux_libcdep.cpp | 556 bool writable = phdr->p_flags & PF_W; in dl_iterate_phdr_cb()
|
| /freebsd-11-stable/usr.sbin/kldxref/ |
| HD | ef.c | 121 if ((phdr->p_flags & PF_W) == 0) { in ef_print_phdr()
|
| /freebsd-11-stable/sys/sys/ |
| HD | elf_common.h | 540 #define PF_W 0x2 /* Writable. */ macro
|
| /freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| HD | ELF.h | 1226 PF_W = 2, // Write enumerator
|
| /freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
| HD | ObjectFileELF.cpp | 1653 if (H.p_flags & PF_W) in GetPermissions() 3087 << (((p_flags & PF_X) && (p_flags & PF_W)) ? '+' : ' ') in DumpELFProgramHeader_p_flags() 3088 << ((p_flags & PF_W) ? "PF_W" : " ") in DumpELFProgramHeader_p_flags() 3089 << (((p_flags & PF_W) && (p_flags & PF_R)) ? '+' : ' ') in DumpELFProgramHeader_p_flags()
|
| /freebsd-11-stable/usr.bin/gcore/ |
| HD | elfcore.c | 311 phdr->p_flags |= PF_W; in cb_put_phdr()
|
| /freebsd-11-stable/contrib/elftoolchain/size/ |
| HD | size.c | 486 if ((phdr->p_flags & PF_W) && !(phdr->p_flags & PF_X)) { in handle_phdr()
|
| /freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/ |
| HD | ProcessElfCore.cpp | 139 ((header.p_flags & llvm::ELF::PF_W) ? lldb::ePermissionsWritable : 0u) | in AddAddressRangeFromLoadSegment()
|
| /freebsd-11-stable/contrib/binutils/bfd/ |
| HD | elf.c | 1189 (p->p_flags & PF_W) != 0 ? 'w' : '-', 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() 2640 if (!(hdr->p_flags & PF_W)) in _bfd_elf_make_section_from_phdr() 2665 if (!(hdr->p_flags & PF_W)) in _bfd_elf_make_section_from_phdr() 4661 p->p_flags |= PF_W; in assign_file_positions_for_load_sections() 4851 p->p_flags = (lp->p_flags & ~PF_W); in assign_file_positions_for_non_load_sections()
|
| /freebsd-11-stable/sys/kern/ |
| HD | imgact_elf.c | 2467 if (flags & PF_W) in __elfN() 2491 flags |= PF_W; in __elfN()
|
| /freebsd-11-stable/stand/common/ |
| HD | load_elf.c | 539 if ((phdr[i].p_flags & PF_W) == 0) { in __elfN()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| HD | ELFYAML.cpp | 510 BCase(PF_W); in bitset()
|
| /freebsd-11-stable/contrib/elftoolchain/common/ |
| HD | elfdefinitions.h | 929 _ELF_DEFINE_PF(PF_W, 0x2, "Write") \
|