/freebsd/libexec/rtld-elf/ |
H A D | map_object.c | 120 stack_flags = PF_X | PF_R | PF_W; in map_object() 506 if ((elfflags & PF_W) != 0) in convert_prot() 522 if ((elfflags & PF_W) == 0) in convert_flags()
|
H A D | rtld.c | 1665 obj->stack_flags = PF_X | PF_R | PF_W; in digest_phdr() 2394 obj->stack_flags = PF_X | PF_R | PF_W; in parse_rtld_phdr() 3289 if (ph->p_type != PT_LOAD || (ph->p_flags & PF_W) != 0) in reloc_textrel_prot()
|
/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/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 | 324 << ((Phdr.p_flags & ELF::PF_W) ? "w" : "-") in printProgramHeaders()
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | Writer.cpp | 841 if (!(p->p_flags & PF_W) && p->lastSec && !isLarge(p->lastSec)) in setReservedSymbolSections() 2148 return PF_R | PF_W | PF_X; in computeFlags() 2254 if (config->singleRoRx && !(newFlags & PF_W)) in createPhdrs() 2318 unsigned perm = PF_R | PF_W; in createPhdrs()
|
H A D | OutputSections.cpp | 57 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/lib/libkldelf/ |
H A D | ef.c | 99 if ((phdr->p_flags & PF_W) == 0) { in ef_print_phdr()
|
/freebsd/sys/sys/ |
H A D | elf_common.h | 581 #define PF_W 0x2 /* Writable. */ macro
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ObjectFileELF.cpp | 1759 if (H.p_flags & PF_W) in GetPermissions() 3375 << (((p_flags & PF_X) && (p_flags & PF_W)) ? '+' : ' ') in DumpELFProgramHeader_p_flags() 3376 << ((p_flags & PF_W) ? "PF_W" : " ") in DumpELFProgramHeader_p_flags() 3377 << (((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 | 1522 PF_W = 2, // Write enumerator
|
/freebsd/sys/kern/ |
H A D | link_elf.c | 816 if ((phdr->p_flags & PF_W) != 0) in preload_protect() 1238 if ((segs[i]->p_flags & PF_W) != 0) in link_elf_load_file()
|
H A D | imgact_elf.c | 2908 if (flags & PF_W) in __elfN() 2930 flags |= PF_W; in __elfN()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_linux_libcdep.cpp | 674 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 | 649 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 | 756 BCase(PF_W); in bitset()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | ELFDumper.cpp | 1528 LLVM_READOBJ_ENUM_ENT(ELF, PF_W), 4647 Str += (Flag & PF_W) ? "W" : " "; in printPhdrFlags()
|