/third_party/elfutils/tests/ |
D | dwfl-report-segment-contiguous.c | 66 .p_flags = PF_R | PF_W, in main()
|
D | showptable.c | 115 putc_unlocked ((phdr->p_flags & PF_W) ? 'W' : ' ', stdout); in main()
|
D | alldts.c | 238 phdr[1].p_flags = PF_W | PF_R; in main()
|
/third_party/elfio/examples/writer/ |
D | writer.cpp | 105 data_seg->set_flags( PF_W | PF_R ); in main()
|
/third_party/elfio/tests/ |
D | ELFIOTest.cpp | 248 PF_R + PF_W, 4 ); in TEST() 251 checkSegment( seg, 0x6474E551, 0x0, 0x0, 0x0, 0x0, PF_R + PF_W, 4 ); in TEST() 363 checkSegment( seg, 0x6474E551, 0x0, 0x0, 0x0, 0x0, PF_R + PF_W, 8 ); in TEST() 655 checkSegment( seg, 0x6474E551, 0x0, 0x0, 0x0, 0x0, PF_R + PF_W, 0x4 ); in TEST()
|
D | ELFIOTest1.cpp | 192 data_seg->set_flags( PF_W | PF_R ); in write_exe_i386()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/ |
D | elf.rs | 42 pub(super) const PF_W: u32 = 2; constant
|
D | vdso.rs | 94 if phdr.p_flags & PF_W != 0 { in init_from_sysinfo_ehdr()
|
/third_party/musl/porting/liteos_a/user_debug/ldso/ |
D | dynlink.c | 555 if ((ph->p_flags&(PF_R|PF_W))!=(PF_R|PF_W)) continue; in reclaim_gaps() 683 ((ph->p_flags&PF_W) ? PROT_WRITE: 0) | in map_library() 699 ((ph->p_flags&PF_W) ? PROT_WRITE: 0) | in map_library() 772 ((ph->p_flags&PF_W) ? PROT_WRITE: 0) | in map_library() 774 if ((ph->p_flags & PF_R) && (ph->p_flags & PF_X) && (!(ph->p_flags & PF_W))) { in map_library() 792 if (ph->p_memsz > ph->p_filesz && (ph->p_flags&PF_W)) { in map_library()
|
/third_party/musl/porting/liteos_a/user/ldso/ |
D | dynlink.c | 555 if ((ph->p_flags&(PF_R|PF_W))!=(PF_R|PF_W)) continue; in reclaim_gaps() 683 ((ph->p_flags&PF_W) ? PROT_WRITE: 0) | in map_library() 699 ((ph->p_flags&PF_W) ? PROT_WRITE: 0) | in map_library() 772 ((ph->p_flags&PF_W) ? PROT_WRITE: 0) | in map_library() 774 if ((ph->p_flags & PF_R) && (ph->p_flags & PF_X) && (!(ph->p_flags & PF_W))) { in map_library() 792 if (ph->p_memsz > ph->p_filesz && (ph->p_flags&PF_W)) { in map_library()
|
/third_party/musl/ldso/ |
D | dynlink.c | 557 if ((ph->p_flags&(PF_R|PF_W))!=(PF_R|PF_W)) continue; in reclaim_gaps() 685 ((ph->p_flags&PF_W) ? PROT_WRITE: 0) | in map_library() 701 ((ph->p_flags&PF_W) ? PROT_WRITE: 0) | in map_library() 774 ((ph->p_flags&PF_W) ? PROT_WRITE: 0) | in map_library() 780 if (ph->p_memsz > ph->p_filesz && (ph->p_flags&PF_W)) { in map_library()
|
/third_party/libunwind/include/mingw/ |
D | freebsd-elf_common.h | 273 #define PF_W 0x2 /* Writable. */ macro
|
/third_party/libunwind/include/win/ |
D | freebsd-elf_common.h | 273 #define PF_W 0x2 /* Writable. */ macro
|
/third_party/elfutils/src/ |
D | elflint.c | 1316 newp->read_only = (phdr->p_flags & PF_W) == 0; in check_reloc_shdr() 4138 segment_flags[pcnt] |= PF_W; in check_sections() 4140 && (phdr->p_flags & PF_W) == 0) in check_sections() 4254 if ((phdr->p_flags & PF_W) != 0 in check_sections() 4255 && (segment_flags[pcnt] & PF_W) == 0) in check_sections() 4597 if ((phdr2->p_flags & PF_W) == 0) in check_program_header() 4607 if ((phdr2->p_flags & ~PF_W) in check_program_header() 4608 != (phdr->p_flags & ~PF_W)) in check_program_header() 4711 if ((phdr->p_flags & PF_W) != 0) in check_program_header()
|
D | findtextrel.c | 331 if (phdr->p_type == PT_LOAD && (phdr->p_flags & PF_W) == 0) in process_file()
|
D | size.c | 618 (phdr->p_flags & PF_W) == 0 ? '-' : 'w', in show_segments()
|
/third_party/musl/porting/linux/user/ldso/ |
D | dynlink.c | 1257 if ((ph->p_flags&(PF_R|PF_W))!=(PF_R|PF_W)) continue; in reclaim_gaps() 1483 ((ph->p_flags&PF_W) ? PROT_WRITE: 0) | in map_library() 1499 ((ph->p_flags&PF_W) ? PROT_WRITE: 0) | in map_library() 1626 ((ph->p_flags&PF_W) ? PROT_WRITE: 0) | in map_library() 1634 if (ph->p_memsz > ph->p_filesz && (ph->p_flags&PF_W)) { in map_library() 4857 ((ph->p_flags & PF_W) ? PROT_WRITE : 0) | in task_map_library() 4879 ((ph->p_flags & PF_W) ? PROT_WRITE : 0) | in task_map_library() 5010 ((ph->p_flags & PF_W) ? PROT_WRITE : 0) | in task_map_library() 5024 if (ph->p_memsz > ph->p_filesz && (ph->p_flags & PF_W)) { in task_map_library() 5729 if (zeromap_size > 0 && (ph->p_flags & PF_W)) { in find_and_set_bss_name()
|
/third_party/elfio/c_wrapper/ |
D | elf_types_c_wrapper.hpp | 659 #define PF_W 2 // Write macro
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | ELF.h | 1063 PF_W = 2, // Write enumerator
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/ |
D | ELF.h | 1226 PF_W = 2, // Write enumerator
|
/third_party/musl/porting/linux/user/include/ |
D | elf.h | 622 #define PF_W (1 << 1) macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
D | elf.h | 619 #define PF_W (1 << 1) macro
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | elf.h | 619 #define PF_W (1 << 1) macro
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | elf.h | 619 #define PF_W (1 << 1) macro
|
/third_party/musl/include/ |
D | elf.h | 620 #define PF_W (1 << 1) macro
|