| /freebsd/libexec/rtld-elf/ |
| H A D | map_object.c | 117 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 D | rtld.c | 1702 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 D | elf_utils.c | 64 if ((ph->p_flags & PF_X) == 0) in __elf_phdr_match_addr()
|
| H A D | dlfcn.c | 340 if ((phdr_info.dlpi_phdr[i].p_flags & PF_X) != 0) in _rtld_get_stack_prot()
|
| /freebsd/usr.sbin/btxld/ |
| H A D | elfh.c | 69 htole32(PF_R | PF_X), /* p_flags */
|
| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | Writer.cpp | 2222 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 D | OutputSections.cpp | 53 ret |= PF_X; in getPhdrFlags()
|
| /freebsd/sys/dev/ksyms/ |
| H A D | ksyms.c | 309 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 D | vdso_amd64.ldscript | 45 text PT_LOAD FILEHDR PHDRS FLAGS(5); /* PF_R|PF_X */
|
| H A D | vdso_amd64_ia32.ldscript | 46 text PT_LOAD FILEHDR PHDRS FLAGS(5); /* PF_R|PF_X */
|
| /freebsd/lib/libpmcstat/ |
| H A D | libpmcstat_image.c | 422 if ((ph.p_flags & PF_X) != 0 && in pmcstat_image_get_elf_params()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| H A D | ELFDump.cpp | 341 << ((Phdr.p_flags & ELF::PF_X) ? "x" : "-") << "\n"; in printProgramHeaders()
|
| /freebsd/sys/sys/ |
| H A D | elf_common.h | 586 #define PF_X 0x1 /* Executable. */ 585 #define PF_X global() macro
|
| /freebsd/usr.bin/gcore/ |
| H A D | elfcore.c | 301 phdr->p_flags |= PF_X; in cb_put_phdr()
|
| /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/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_linux_libcdep.cpp | 732 bool executable = phdr->p_flags & PF_X; in AddModuleSegments()
|
| /freebsd/sys/kern/ |
| H A D | imgact_elf.c | 961 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 D | link_elf.c | 826 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 D | MemProfReader.cpp | 375 if (Phdr.p_flags & ELF::PF_X) { in initialize()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| H A D | ELF.h | 1599 PF_X = 1, // Execute enumerator
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
| H A D | ObjectFileELF.cpp | 1726 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 D | ProcessElfCore.cpp | 139 ((header.p_flags & llvm::ELF::PF_X) ? lldb::ePermissionsExecutable : 0u); in AddAddressRangeFromLoadSegment()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | ELF.h | 913 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 D | Signals.inc | 647 if (Flags & PF_X)
|
| /freebsd/contrib/elftoolchain/common/ |
| H A D | elfdefinitions.h | 928 _ELF_DEFINE_PF(PF_X, 0x1, "Execute") \
|