Home
last modified time | relevance | path

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

12

/freebsd/libexec/rtld-elf/
H A Dmap_object.c120 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 Drtld.c1665 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 Delfh.c79 htole32(PF_R | PF_W), /* p_flags */
H A Dbtxld.c373 if (le32toh(ep->p_flags) & PF_W) in gethdr()
/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.cpp324 << ((Phdr.p_flags & ELF::PF_W) ? "w" : "-") in printProgramHeaders()
/freebsd/contrib/llvm-project/lld/ELF/
H A DWriter.cpp841 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 DOutputSections.cpp57 ret |= PF_W; in getPhdrFlags()
H A DRelocations.cpp275 !(phdr.p_flags & ELF::PF_W) && ss.value >= phdr.p_vaddr && in isReadOnly()
/freebsd/lib/libkldelf/
H A Def.c99 if ((phdr->p_flags & PF_W) == 0) { in ef_print_phdr()
/freebsd/sys/sys/
H A Delf_common.h581 #define PF_W 0x2 /* Writable. */ macro
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DObjectFileELF.cpp1759 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 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.h1522 PF_W = 2, // Write enumerator
/freebsd/sys/kern/
H A Dlink_elf.c816 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 Dimgact_elf.c2908 if (flags & PF_W) in __elfN()
2930 flags |= PF_W; in __elfN()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux_libcdep.cpp674 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.c649 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.cpp756 BCase(PF_W); in bitset()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp1528 LLVM_READOBJ_ENUM_ENT(ELF, PF_W),
4647 Str += (Flag & PF_W) ? "W" : " "; in printPhdrFlags()

12