Home
last modified time | relevance | path

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

12

/freebsd/libexec/rtld-elf/
H A Dmap_object.c120 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 Delfh.c69 htole32(PF_R | PF_X), /* p_flags */
/freebsd/lib/libc/gen/
H A Delf_utils.c62 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/contrib/llvm-project/lld/ELF/
H A DWriter.cpp2148 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 DOutputSections.cpp59 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.c414 if ((ph.p_flags & PF_X) != 0 && in pmcstat_image_get_elf_params()
/freebsd/libexec/rtld-elf/powerpc64/
H A Dreloc.c370 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 DELFDump.cpp325 << ((Phdr.p_flags & ELF::PF_X) ? "x" : "-") << "\n"; in printProgramHeaders()
/freebsd/libexec/rtld-elf/powerpc/
H A Dreloc.c372 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 DMemProfReader.cpp392 if (Phdr.p_flags & ELF::PF_X) { in initialize()
/freebsd/sys/sys/
H A Delf_common.h580 #define PF_X 0x1 /* Executable. */ macro
/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.c300 phdr->p_flags |= PF_X; in cb_put_phdr()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DELF.h1521 PF_X = 1, // Execute enumerator
/freebsd/sys/kern/
H A Dimgact_elf.c956 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 Dlink_elf.c818 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 Dsanitizer_linux_libcdep.cpp673 bool executable = phdr->p_flags & PF_X; in AddModuleSegments()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DObjectFileELF.cpp1761 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 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.h907 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.inc609 if (Flags & PF_X)

12