/freebsd/usr.sbin/btxld/ |
H A D | elfh.c | 79 htole32(PF_R | PF_W), /* p_flags */
|
H A D | btxld.c | 373 if (le32toh(ep->p_flags) & PF_W) in gethdr()
|
/freebsd/libexec/rtld-elf/ |
H A D | map_object.c | 124 stack_flags = PF_X | PF_R | PF_W; in map_object() 493 if (elfflags & PF_W) in convert_prot() 509 if (!(elfflags & PF_W)) in convert_flags()
|
H A D | rtld.c | 1653 obj->stack_flags = PF_X | PF_R | PF_W; in digest_phdr() 2380 obj->stack_flags = PF_X | PF_R | PF_W; in parse_rtld_phdr() 3270 if (ph->p_type != PT_LOAD || (ph->p_flags & PF_W) != 0) in reloc_textrel_prot()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/ |
H A D | lsan_common_linux.cpp | 86 if (!(phdr->p_flags & PF_W) || (phdr->p_type != PT_LOAD) || in ProcessGlobalRegionsCallback()
|
/freebsd/sys/dev/ksyms/ |
H A D | ksyms.c | 315 hdr->kh_datphdr.p_flags = PF_R | PF_W | PF_X; in ksyms_snapshot()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
H A D | ELFDump.cpp | 319 << ((Phdr.p_flags & ELF::PF_W) ? "w" : "-") in printProgramHeaders()
|
/freebsd/usr.sbin/kldxref/ |
H A D | ef.c | 98 if ((phdr->p_flags & PF_W) == 0) { in ef_print_phdr()
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | Writer.cpp | 1116 if (!(p->p_flags & PF_W)) in setReservedSymbolSections() 2365 return PF_R | PF_W | PF_X; in computeFlags() 2368 if (config->singleRoRx && !(flags & PF_W)) in computeFlags() 2516 unsigned perm = PF_R | PF_W; in createPhdrs()
|
H A D | OutputSections.cpp | 56 ret |= PF_W; in getPhdrFlags()
|
H A D | Relocations.cpp | 275 !(phdr.p_flags & ELF::PF_W) && ss.value >= phdr.p_vaddr && in isReadOnly()
|
/freebsd/sys/sys/ |
H A D | elf_common.h | 561 #define PF_W 0x2 /* Writable. */ macro
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ObjectFileELF.cpp | 1742 if (H.p_flags & PF_W) in GetPermissions() 3285 << (((p_flags & PF_X) && (p_flags & PF_W)) ? '+' : ' ') in DumpELFProgramHeader_p_flags() 3286 << ((p_flags & PF_W) ? "PF_W" : " ") in DumpELFProgramHeader_p_flags() 3287 << (((p_flags & PF_W) && (p_flags & PF_R)) ? '+' : ' ') in DumpELFProgramHeader_p_flags()
|
/freebsd/contrib/elftoolchain/size/ |
H A D | size.c | 515 if ((phdr->p_flags & PF_W) && !(phdr->p_flags & PF_X)) { in handle_phdr()
|
/freebsd/usr.bin/gcore/ |
H A D | elfcore.c | 298 phdr->p_flags |= PF_W; in cb_put_phdr()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | ELF.h | 1491 PF_W = 2, // Write enumerator
|
/freebsd/sys/kern/ |
H A D | link_elf.c | 820 if ((phdr->p_flags & PF_W) != 0) in preload_protect() 1244 if ((segs[i]->p_flags & PF_W) != 0) in link_elf_load_file()
|
H A D | imgact_elf.c | 2899 if (flags & PF_W) in __elfN() 2921 flags |= PF_W; in __elfN()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_linux_libcdep.cpp | 649 bool writable = phdr->p_flags & PF_W; in AddModuleSegments()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/ |
H A D | ProcessElfCore.cpp | 138 ((header.p_flags & llvm::ELF::PF_W) ? lldb::ePermissionsWritable : 0u) | in AddAddressRangeFromLoadSegment()
|
/freebsd/stand/common/ |
H A D | load_elf.c | 651 if ((phdr[i].p_flags & PF_W) == 0) {
|
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | Signals.inc | 607 if (Flags & PF_W)
|
/freebsd/contrib/elftoolchain/common/ |
H A D | elfdefinitions.h | 929 _ELF_DEFINE_PF(PF_W, 0x2, "Write") \
|
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | ELFYAML.cpp | 738 BCase(PF_W); in bitset()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | ELFDumper.cpp | 1512 LLVM_READOBJ_ENUM_ENT(ELF, PF_W), 4568 Str += (Flag & PF_W) ? "W" : " "; in printPhdrFlags()
|