Home
last modified time | relevance | path

Searched refs:PF_X (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/libexec/rtld-elf/
H A Dmap_object.c117 stack_flags = PF_X | PF_R | PF_W; in map_object()
133 if ((segs[nsegs]->p_flags & PF_X) == PF_X) { in map_object()
508 if ((elfflags & PF_X) != 0) in convert_prot()
H A Drtld.c1702 obj->stack_flags = PF_X | PF_R | PF_W; in digest_phdr()
2435 obj->stack_flags = PF_X | PF_R | PF_W; in parse_rtld_phdr()
6247 if ((max_stack_flags & PF_X) == 0 || (stack_prot & PROT_EXEC) != 0) in map_stacks_exec()
/freebsd/lib/libc/gen/
H A Delf_utils.c64 if ((ph->p_flags & PF_X) == 0) in __elf_phdr_match_addr()
H A Ddlfcn.c340 if ((phdr_info.dlpi_phdr[i].p_flags & PF_X) != 0) in _rtld_get_stack_prot()
/freebsd/usr.sbin/btxld/
H A Delfh.c69 htole32(PF_R | PF_X), /* p_flags */
/freebsd/contrib/llvm-project/lld/ELF/
H A DWriter.cpp2222 if (osec->getPhdrFlags() != (PF_R | PF_X)) in checkExecuteOnlyReport()
2299 return PF_R | PF_W | PF_X; in computeFlags()
2300 if (ctx.arg.executeOnly && (flags & PF_X)) in computeFlags()
2408 incompatible &= ~PF_X; in createPhdrs()
2478 perm |= PF_X; in createPhdrs()
2485 addHdr(PT_OPENBSD_NOBTCFI, PF_X); in createPhdrs()
2492 addHdr(PT_OPENBSD_WXNEEDED, PF_X); in createPhdrs()
2555 (prev->p_flags & PF_X) != (p->p_flags & PF_X)) || in fixSectionAlignments()
2655 if (p->p_type == PT_LOAD && (p->p_flags & PF_X)) in assignFileOffsets()
2970 if (p->p_type == PT_LOAD && (p->p_flags & PF_X)) in writeTrapInstr()
[all …]
H A DOutputSections.cpp53 ret |= PF_X; in getPhdrFlags()
/freebsd/sys/dev/ksyms/
H A Dksyms.c309 hdr->kh_txtphdr.p_flags = PF_R | PF_X; in ksyms_snapshot()
315 hdr->kh_datphdr.p_flags = PF_R | PF_W | PF_X; in ksyms_snapshot()
/freebsd/sys/conf/
H A Dvdso_amd64.ldscript45 text PT_LOAD FILEHDR PHDRS FLAGS(5); /* PF_R|PF_X */
H A Dvdso_amd64_ia32.ldscript46 text PT_LOAD FILEHDR PHDRS FLAGS(5); /* PF_R|PF_X */
/freebsd/lib/libpmcstat/
H A Dlibpmcstat_image.c422 if ((ph.p_flags & PF_X) != 0 && in pmcstat_image_get_elf_params()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DELFDump.cpp341 << ((Phdr.p_flags & ELF::PF_X) ? "x" : "-") << "\n"; in printProgramHeaders()
/freebsd/sys/sys/
H A Delf_common.h586 #define PF_X 0x1 /* Executable. */
585 #define PF_X global() macro
/freebsd/usr.bin/gcore/
H A Delfcore.c301 phdr->p_flags |= PF_X; in cb_put_phdr()
/freebsd/contrib/elftoolchain/size/
H A Dsize.c515 if ((phdr->p_flags & PF_W) && !(phdr->p_flags & PF_X)) { in handle_phdr()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux_libcdep.cpp732 bool executable = phdr->p_flags & PF_X; in AddModuleSegments()
/freebsd/sys/kern/
H A Dimgact_elf.c961 if ((phdr[i].p_flags & PF_X) != 0 && text_size < seg_size) { in __elfN()
2970 if (flags & PF_X) in __elfN()
2990 flags |= PF_X; in __elfN()
H A Dlink_elf.c826 if ((phdr->p_flags & PF_X) != 0) in preload_protect1()
1261 if ((segs[i]->p_flags & PF_X) != 0) in link_elf_load_file()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DMemProfReader.cpp375 if (Phdr.p_flags & ELF::PF_X) { in initialize()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DELF.h1599 PF_X = 1, // Execute enumerator
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DObjectFileELF.cpp1726 if (H.p_flags & PF_X) in GetPermissions()
3360 *s << ((p_flags & PF_X) ? "PF_X" : " ") in DumpELFProgramHeader_p_flags()
3361 << (((p_flags & PF_X) && (p_flags & PF_W)) ? '+' : ' ') in DumpELFProgramHeader_p_flags()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/
H A DProcessElfCore.cpp139 ((header.p_flags & llvm::ELF::PF_X) ? lldb::ePermissionsExecutable : 0u); in AddAddressRangeFromLoadSegment()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELF.h913 if (Phdr.p_type != ELF::PT_LOAD || !(Phdr.p_flags & ELF::PF_X)) in createFakeSections()
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/
H A DSignals.inc647 if (Flags & PF_X)
/freebsd/contrib/elftoolchain/common/
H A Delfdefinitions.h928 _ELF_DEFINE_PF(PF_X, 0x1, "Execute") \

12