| /openbsd/src/lib/csu/ |
| D | boot.h | 158 if ((phdp->p_flags & (PF_X | PF_W)) != (PF_X | PF_W)) in _dl_boot_bind()
|
| /openbsd/src/sys/lib/libsa/ |
| D | loadfile_elf.c | 119 (phdr[i].p_flags & (PF_W|PF_R|PF_X)) == 0) in ELFNAME() 129 #define IS_TEXT(p) (p.p_flags & PF_X) in ELFNAME() 130 #define IS_DATA(p) ((p.p_flags & PF_X) == 0) in ELFNAME()
|
| /openbsd/src/lib/csu/hppa/ |
| D | boot_md.h | 172 if ((phdp->p_flags & (PF_X | PF_W)) != (PF_X | PF_W)) in _dl_boot_bind()
|
| /openbsd/src/usr.sbin/vmd/ |
| D | loadfile_elf.c | 726 (phdr[i].p_flags & (PF_W|PF_R|PF_X)) == 0) in elf64_exec() 729 #define IS_TEXT(p) (p.p_flags & PF_X) in elf64_exec() 730 #define IS_DATA(p) ((p.p_flags & PF_X) == 0) in elf64_exec() 944 (phdr[i].p_flags & (PF_W|PF_R|PF_X)) == 0) in elf32_exec() 947 #define IS_TEXT(p) (p.p_flags & PF_X) in elf32_exec() 948 #define IS_DATA(p) ((p.p_flags & PF_X) == 0) in elf32_exec()
|
| /openbsd/src/gnu/llvm/lld/ELF/ |
| D | Writer.cpp | 2257 return PF_R | PF_W | PF_X; in computeFlags() 2258 if (config->executeOnly && (flags & PF_X)) in computeFlags() 2261 return flags | PF_X; in computeFlags() 2409 perm |= PF_X; in createPhdrs() 2418 addHdr(PT_OPENBSD_WXNEEDED, PF_X); in createPhdrs() 2423 addHdr(PT_OPENBSD_NOBTCFI, PF_X); in createPhdrs() 2486 (prev->p_flags & PF_X) != (p->p_flags & PF_X)) || in fixSectionAlignments() 2612 if (p->p_type == PT_LOAD && (p->p_flags & PF_X)) in assignFileOffsets() 2910 if (p->p_type == PT_LOAD && (p->p_flags & PF_X)) in writeTrapInstr() 2925 if (last && (last->p_flags & PF_X)) in writeTrapInstr()
|
| D | OutputSections.cpp | 56 ret |= PF_X; in getPhdrFlags()
|
| /openbsd/src/gnu/usr.bin/binutils/gdb/ |
| D | nto-tdep.c | 250 if (phdr->p_type == PT_LOAD && (phdr->p_flags & PF_X)) in find_load_phdr()
|
| D | gcore.c | 304 p_flags |= PF_X; /* Segment is executable. */ in make_output_phdrs()
|
| /openbsd/src/libexec/ld.so/ |
| D | loader.c | 461 if ((phdp->p_flags & (PF_X | PF_W)) != (PF_X | PF_W)) in _dl_self_relro() 480 (((X) & PF_X) ? PROT_EXEC : 0))
|
| D | library.c | 45 (((X) & PF_X) ? PROT_EXEC : 0))
|
| D | library_mquery.c | 45 (((X) & PF_X) ? PROT_EXEC : 0))
|
| /openbsd/src/sys/arch/sparc64/stand/ofwboot/ |
| D | elf64_exec.c | 146 (phdr.p_flags & (PF_W|PF_X)) == 0) in elf64_exec()
|
| /openbsd/src/sys/kern/ |
| D | exec_elf.c | 200 *prot |= (ph->p_flags & PF_X) ? PROT_EXEC : 0; in elf_load_psection() 209 if ((ph->p_flags & (PF_X | PF_W)) != (PF_X | PF_W) && in elf_load_psection() 1395 phdr.p_flags |= PF_X; in coredump_walk_elf()
|
| /openbsd/src/gnu/usr.bin/binutils/include/elf/ |
| D | common.h | 302 #define PF_X (1 << 0) /* Segment is executable */ macro
|
| /openbsd/src/gnu/usr.bin/binutils-2.17/include/elf/ |
| D | common.h | 323 #define PF_X (1 << 0) /* Segment is executable */ macro
|
| /openbsd/src/sys/arch/hppa/stand/mkboot/ |
| D | mkboot.c | 219 ntohl(elf_segments[i].p_flags) & PF_X) { in putfile()
|
| /openbsd/src/gnu/llvm/llvm/tools/llvm-objdump/ |
| D | ELFDump.cpp | 289 << ((Phdr.p_flags & ELF::PF_X) ? "x" : "-") << "\n"; in printProgramHeaders()
|
| /openbsd/src/sys/sys/ |
| D | exec_elf.h | 487 #define PF_X 0x1 /* Executable */ macro
|
| /openbsd/src/gnu/usr.bin/binutils-2.17/bfd/ |
| D | elf.c | 1155 (p->p_flags & PF_X) != 0 ? 'x' : '-'); in _bfd_elf_print_private_bfd_data() 1156 if ((p->p_flags &~ (unsigned) (PF_R | PF_W | PF_X)) != 0) in _bfd_elf_print_private_bfd_data() 1157 fprintf (f, " %lx", p->p_flags &~ (unsigned) (PF_R | PF_W | PF_X)); in _bfd_elf_print_private_bfd_data() 2562 if (hdr->p_flags & PF_X) in _bfd_elf_make_section_from_phdr() 2591 if (hdr->p_flags & PF_X) in _bfd_elf_make_section_from_phdr() 3717 m->p_flags = PF_R | PF_X; in map_sections_to_segments() 3996 m->p_flags = PF_X; in map_sections_to_segments() 4011 m->p_flags = PF_X; in map_sections_to_segments() 4654 p->p_flags |= PF_X; in assign_file_positions_for_segments()
|
| D | elf64-hppa.c | 2670 m->p_flags = PF_R | PF_X; 2694 m->p_flags |= (PF_X | PF_HP_CODE);
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/BinaryFormat/ |
| D | ELF.h | 1431 PF_X = 1, // Execute enumerator
|
| /openbsd/src/gnu/usr.bin/binutils/bfd/ |
| D | elf.c | 989 (p->p_flags & PF_X) != 0 ? 'x' : '-'); in _bfd_elf_print_private_bfd_data() 990 if ((p->p_flags &~ (unsigned) (PF_R | PF_W | PF_X)) != 0) in _bfd_elf_print_private_bfd_data() 991 fprintf (f, " %lx", p->p_flags &~ (unsigned) (PF_R | PF_W | PF_X)); in _bfd_elf_print_private_bfd_data() 2218 if (hdr->p_flags & PF_X) in _bfd_elf_make_section_from_phdr() 2247 if (hdr->p_flags & PF_X) in _bfd_elf_make_section_from_phdr() 3257 m->p_flags = PF_R | PF_X; in map_sections_to_segments() 4072 p->p_flags |= PF_X; in assign_file_positions_for_segments()
|
| D | elf64-hppa.c | 2637 m->p_flags = PF_R | PF_X; 2661 m->p_flags |= (PF_X | PF_HP_CODE);
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
| D | sanitizer_linux_libcdep.cpp | 653 bool executable = phdr->p_flags & PF_X; in AddModuleSegments()
|
| /openbsd/src/gnu/llvm/lldb/source/Plugins/Process/elf-core/ |
| D | ProcessElfCore.cpp | 139 ((header.p_flags & llvm::ELF::PF_X) ? lldb::ePermissionsExecutable : 0u); in AddAddressRangeFromLoadSegment()
|