/freebsd/libexec/rtld-elf/ |
H A D | map_object.c | 120 stack_flags = PF_X | PF_R | PF_W; in map_object() 136 if ((segs[nsegs]->p_flags & PF_X) == PF_X) { in map_object() 508 if ((elfflags & PF_X) != 0) in convert_prot()
|
/freebsd/usr.sbin/btxld/ |
H A D | elfh.c | 69 htole32(PF_R | PF_X), /* p_flags */
|
/freebsd/lib/libc/gen/ |
H A D | elf_utils.c | 62 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/contrib/llvm-project/lld/ELF/ |
H A D | Writer.cpp | 2148 return PF_R | PF_W | PF_X; in computeFlags() 2149 if (config->executeOnly && (flags & PF_X)) in computeFlags() 2255 incompatible &= ~PF_X; in createPhdrs() 2320 perm |= PF_X; in createPhdrs() 2329 addHdr(PT_OPENBSD_WXNEEDED, PF_X); in createPhdrs() 2392 (prev->p_flags & PF_X) != (p->p_flags & PF_X)) || in fixSectionAlignments() 2493 if (p->p_type == PT_LOAD && (p->p_flags & PF_X)) in assignFileOffsets() 2799 if (p->p_type == PT_LOAD && (p->p_flags & PF_X)) in writeTrapInstr() 2814 if (last && (last->p_flags & PF_X)) in writeTrapInstr()
|
H A D | OutputSections.cpp | 59 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 | 414 if ((ph.p_flags & PF_X) != 0 && in pmcstat_image_get_elf_params()
|
/freebsd/libexec/rtld-elf/powerpc64/ |
H A D | reloc.c | 370 if (phdr->p_type == PT_LOAD && (phdr->p_flags & PF_X) != 0) { in reloc_non_plt()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
H A D | ELFDump.cpp | 325 << ((Phdr.p_flags & ELF::PF_X) ? "x" : "-") << "\n"; in printProgramHeaders()
|
/freebsd/libexec/rtld-elf/powerpc/ |
H A D | reloc.c | 372 if (phdr->p_type == PT_LOAD && (phdr->p_flags & PF_X) != 0) { in reloc_non_plt()
|
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | MemProfReader.cpp | 392 if (Phdr.p_flags & ELF::PF_X) { in initialize()
|
/freebsd/sys/sys/ |
H A D | elf_common.h | 580 #define PF_X 0x1 /* Executable. */ macro
|
/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 | 300 phdr->p_flags |= PF_X; in cb_put_phdr()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | ELF.h | 1521 PF_X = 1, // Execute enumerator
|
/freebsd/sys/kern/ |
H A D | imgact_elf.c | 956 if ((phdr[i].p_flags & PF_X) != 0 && text_size < seg_size) { in __elfN() 2906 if (flags & PF_X) in __elfN() 2926 flags |= PF_X; in __elfN()
|
H A D | link_elf.c | 818 if ((phdr->p_flags & PF_X) != 0) in preload_protect() 1240 if ((segs[i]->p_flags & PF_X) != 0) in link_elf_load_file()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_linux_libcdep.cpp | 673 bool executable = phdr->p_flags & PF_X; in AddModuleSegments()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ObjectFileELF.cpp | 1761 if (H.p_flags & PF_X) in GetPermissions() 3374 *s << ((p_flags & PF_X) ? "PF_X" : " ") in DumpELFProgramHeader_p_flags() 3375 << (((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 | 907 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 | 609 if (Flags & PF_X)
|