Home
last modified time | relevance | path

Searched refs:p_flags (Results 1 – 25 of 73) sorted by relevance

123

/openbsd-src/lib/libelf/
H A Dgelf_phdr.c84 d->p_flags = ep32->p_flags; in gelf_getphdr()
162 ph32->p_flags = s->p_flags; in gelf_update_phdr()
/openbsd-src/gnu/usr.bin/binutils-2.17/gas/config/
H A Dtc-msp430.c524 int p_flags = 0; in msp430_profiler() local
566 p_flags |= MSP430_PROFILER_FLAG_FRAGMENT; in msp430_profiler()
569 p_flags |= MSP430_PROFILER_FLAG_JUMP; in msp430_profiler()
572 p_flags |= MSP430_PROFILER_FLAG_PROLSTART; in msp430_profiler()
575 p_flags |= MSP430_PROFILER_FLAG_PROLEND; in msp430_profiler()
578 p_flags |= MSP430_PROFILER_FLAG_EPISTART; in msp430_profiler()
581 p_flags |= MSP430_PROFILER_FLAG_EPIEND; in msp430_profiler()
584 p_flags |= MSP430_PROFILER_FLAG_ENTRY; in msp430_profiler()
587 p_flags |= MSP430_PROFILER_FLAG_EXIT; in msp430_profiler()
590 p_flags |= MSP430_PROFILER_FLAG_INITSECT; in msp430_profiler()
[all …]
/openbsd-src/gnu/usr.bin/binutils/gdb/
H A Dgcore.c291 int p_flags = 0; in make_output_phdrs() local
300 p_flags |= PF_R; /* Segment is readable. */ in make_output_phdrs()
302 p_flags |= PF_W; /* Segment is writable. */ in make_output_phdrs()
304 p_flags |= PF_X; /* Segment is executable. */ in make_output_phdrs()
306 bfd_record_phdr (obfd, p_type, 1, p_flags, 0, 0, 0, 0, 1, &osec); in make_output_phdrs()
/openbsd-src/gnu/llvm/lld/ELF/
H A DWriter.h29 p_type(type), p_flags(flags) {} in PhdrEntry()
39 uint32_t p_flags = 0; member
/openbsd-src/sys/kern/
H A Dexec_elf.c197 *prot |= (ph->p_flags & PF_R) ? PROT_READ : 0; in elf_load_psection()
198 *prot |= (ph->p_flags & PF_W) ? PROT_WRITE : 0; in elf_load_psection()
199 if ((ph->p_flags & PF_W) == 0) in elf_load_psection()
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()
210 ((ph->p_flags & PF_OPENBSD_MUTABLE) == 0)) in elf_load_psection()
212 if ((flags & VMCMD_TEXTREL) && (ph->p_flags & PF_W) == 0) in elf_load_psection()
224 if (ph->p_flags & PF_W) { in elf_load_psection()
1222 (pent->p_flags & PF_ISVNODE)); in coredump_elf()
1366 note->p_flags in coredump_setup_elf()
[all...]
/openbsd-src/gnu/usr.bin/binutils-2.17/include/elf/
H A Dexternal.h83 unsigned char p_flags[4]; /* Segment flags */ member
89 unsigned char p_flags[4]; /* Segment flags */ member
H A Dinternal.h65 unsigned long p_flags; /* Segment flags */ member
235 unsigned long p_flags; member
/openbsd-src/gnu/usr.bin/binutils/include/elf/
H A Dexternal.h83 unsigned char p_flags[4]; /* Segment flags */ member
89 unsigned char p_flags[4]; /* Segment flags */ member
H A Dinternal.h65 unsigned long p_flags; /* Segment flags */ member
235 unsigned long p_flags; member
/openbsd-src/sys/lib/libsa/
H A Dloadfile_elf.c119 (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/usr.sbin/vmd/
H A Dloadfile_elf.c726 (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/libexec/ld.so/
H A Dlibrary.c235 int flags = PFLAGS(phdp->p_flags); in _dl_tryload_shlib()
262 next_load->prot = PFLAGS(phdp->p_flags); in _dl_tryload_shlib()
277 if (phdp->p_flags & PF_W) { in _dl_tryload_shlib()
H A Dlibrary_mquery.c194 ld->prot = PFLAGS(phdp->p_flags); in _dl_tryload_shlib()
198 if ((PFLAGS(phdp->p_flags) & PROT_WRITE) == 0 || in _dl_tryload_shlib()
211 ld->prot = PFLAGS(phdp->p_flags); in _dl_tryload_shlib()
/openbsd-src/bin/csh/
H A Dproc.h47 short unsigned p_flags; /* various job status flags */ member
/openbsd-src/sys/net/
H A Dif_wg.h68 int p_flags;
71 int p_flags; global() member
H A Dif_wg.c2371 if (!(peer_o.p_flags & WG_PEER_HAS_PUBLIC)) in wg_ioctl_set()
2392 if (peer_o.p_flags & (WG_PEER_REMOVE|WG_PEER_UPDATE)) in wg_ioctl_get()
2403 if (peer_o.p_flags & WG_PEER_REMOVE) { in wg_ioctl_get()
2408 if (peer_o.p_flags & WG_PEER_HAS_ENDPOINT) in wg_ioctl_get()
2411 if (peer_o.p_flags & WG_PEER_HAS_PSK) in wg_ioctl_get()
2414 if (peer_o.p_flags & WG_PEER_HAS_PKA) in wg_ioctl_get()
2418 if (peer_o.p_flags & WG_PEER_REPLACE_AIPS) { in wg_ioctl_get()
2424 if (peer_o.p_flags & WG_PEER_SET_DESCRIPTION) in wg_ioctl_get()
2506 peer_o.p_flags = WG_PEER_HAS_PUBLIC; in wg_ioctl()
2511 peer_o.p_flags | in wg_ioctl()
[all...]
/openbsd-src/gnu/llvm/llvm/tools/llvm-objdump/
H A DELFDump.cpp287 << ((Phdr.p_flags & ELF::PF_R) ? "r" : "-") in printProgramHeaders()
288 << ((Phdr.p_flags & ELF::PF_W) ? "w" : "-") in printProgramHeaders()
289 << ((Phdr.p_flags & ELF::PF_X) ? "x" : "-") << "\n"; in printProgramHeaders()
/openbsd-src/usr.bin/netstat/
H A Dnetstat.h128 void p_flags(int, char *);
H A Dshow.c103 void p_flags(int, char *);
270 p_flags(rtm->rtm_flags, "%-6.6s "); in p_rtentry()
401 p_flags(int f, char *format) in p_flags() function
/openbsd-src/gnu/llvm/compiler-rt/lib/lsan/
H A Dlsan_common_linux.cpp86 if (!(phdr->p_flags & PF_W) || (phdr->p_type != PT_LOAD) || in ProcessGlobalRegionsCallback()
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_freebsd.h110 __uint32_t p_flags; member
/openbsd-src/gnu/llvm/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.cpp383 if (data.GetU32(offset, &p_flags, 1) == nullptr) in Parse()
391 if (data.GetU32(offset, &p_flags, 1) == nullptr) in Parse()
/openbsd-src/lib/csu/
H A Dboot.h158 if ((phdp->p_flags & (PF_X | PF_W)) != (PF_X | PF_W)) in _dl_boot_bind()
/openbsd-src/sbin/route/
H A Dshow.c104 void p_flags(int, char *);
341 p_flags(rtm->rtm_flags, "%-6.6s "); in p_rtentry()
459 p_flags(int f, char *format) in p_flags() function
/openbsd-src/gnu/usr.bin/binutils-2.17/bfd/
H A Delf.c1153 (p->p_flags & PF_R) != 0 ? 'r' : '-', in _bfd_elf_print_private_bfd_data()
1154 (p->p_flags & PF_W) != 0 ? 'w' : '-', in _bfd_elf_print_private_bfd_data()
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()
2569 if (!(hdr->p_flags & PF_W)) in _bfd_elf_make_section_from_phdr()
2591 if (hdr->p_flags & PF_X) in _bfd_elf_make_section_from_phdr()
2594 if (!(hdr->p_flags & PF_W)) in _bfd_elf_make_section_from_phdr()
3717 m->p_flags = PF_R | PF_X; in map_sections_to_segments()
[all …]

123