Home
last modified time | relevance | path

Searched refs:PF_W (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/usr.sbin/btxld/
H A Delfh.c79 htole32(PF_R | PF_W), /* p_flags */
H A Dbtxld.c373 if (le32toh(ep->p_flags) & PF_W) in gethdr()
/freebsd/libexec/rtld-elf/
H A Dmap_object.c124 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 Drtld.c1653 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 Dlsan_common_linux.cpp86 if (!(phdr->p_flags & PF_W) || (phdr->p_type != PT_LOAD) || in ProcessGlobalRegionsCallback()
/freebsd/sys/dev/ksyms/
H A Dksyms.c315 hdr->kh_datphdr.p_flags = PF_R | PF_W | PF_X; in ksyms_snapshot()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DELFDump.cpp319 << ((Phdr.p_flags & ELF::PF_W) ? "w" : "-") in printProgramHeaders()
/freebsd/usr.sbin/kldxref/
H A Def.c98 if ((phdr->p_flags & PF_W) == 0) { in ef_print_phdr()
/freebsd/contrib/llvm-project/lld/ELF/
H A DWriter.cpp1116 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 DOutputSections.cpp56 ret |= PF_W; in getPhdrFlags()
H A DRelocations.cpp275 !(phdr.p_flags & ELF::PF_W) && ss.value >= phdr.p_vaddr && in isReadOnly()
/freebsd/sys/sys/
H A Delf_common.h561 #define PF_W 0x2 /* Writable. */ macro
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DObjectFileELF.cpp1742 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 Dsize.c515 if ((phdr->p_flags & PF_W) && !(phdr->p_flags & PF_X)) { in handle_phdr()
/freebsd/usr.bin/gcore/
H A Delfcore.c298 phdr->p_flags |= PF_W; in cb_put_phdr()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DELF.h1491 PF_W = 2, // Write enumerator
/freebsd/sys/kern/
H A Dlink_elf.c820 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 Dimgact_elf.c2899 if (flags & PF_W) in __elfN()
2921 flags |= PF_W; in __elfN()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux_libcdep.cpp649 bool writable = phdr->p_flags & PF_W; in AddModuleSegments()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/
H A DProcessElfCore.cpp138 ((header.p_flags & llvm::ELF::PF_W) ? lldb::ePermissionsWritable : 0u) | in AddAddressRangeFromLoadSegment()
/freebsd/stand/common/
H A Dload_elf.c651 if ((phdr[i].p_flags & PF_W) == 0) {
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/
H A DSignals.inc607 if (Flags & PF_W)
/freebsd/contrib/elftoolchain/common/
H A Delfdefinitions.h929 _ELF_DEFINE_PF(PF_W, 0x2, "Write") \
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DELFYAML.cpp738 BCase(PF_W); in bitset()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp1512 LLVM_READOBJ_ENUM_ENT(ELF, PF_W),
4568 Str += (Flag & PF_W) ? "W" : " "; in printPhdrFlags()

12