Home
last modified time | relevance | path

Searched refs:PF_W (Results 1 – 25 of 33) sorted by relevance

12

/third_party/elfutils/tests/
Ddwfl-report-segment-contiguous.c66 .p_flags = PF_R | PF_W, in main()
Dshowptable.c115 putc_unlocked ((phdr->p_flags & PF_W) ? 'W' : ' ', stdout); in main()
Dalldts.c238 phdr[1].p_flags = PF_W | PF_R; in main()
/third_party/elfio/examples/writer/
Dwriter.cpp105 data_seg->set_flags( PF_W | PF_R ); in main()
/third_party/elfio/tests/
DELFIOTest.cpp248 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()
DELFIOTest1.cpp192 data_seg->set_flags( PF_W | PF_R ); in write_exe_i386()
/third_party/rust/crates/rustix/src/backend/linux_raw/
Delf.rs42 pub(super) const PF_W: u32 = 2; constant
Dvdso.rs94 if phdr.p_flags & PF_W != 0 { in init_from_sysinfo_ehdr()
/third_party/musl/porting/liteos_a/user_debug/ldso/
Ddynlink.c555 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/
Ddynlink.c555 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/
Ddynlink.c557 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/
Dfreebsd-elf_common.h273 #define PF_W 0x2 /* Writable. */ macro
/third_party/libunwind/include/win/
Dfreebsd-elf_common.h273 #define PF_W 0x2 /* Writable. */ macro
/third_party/elfutils/src/
Delflint.c1316 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()
Dfindtextrel.c331 if (phdr->p_type == PT_LOAD && (phdr->p_flags & PF_W) == 0) in process_file()
Dsize.c618 (phdr->p_flags & PF_W) == 0 ? '-' : 'w', in show_segments()
/third_party/musl/porting/linux/user/ldso/
Ddynlink.c1257 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/
Delf_types_c_wrapper.hpp659 #define PF_W 2 // Write macro
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DELF.h1063 PF_W = 2, // Write enumerator
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DELF.h1226 PF_W = 2, // Write enumerator
/third_party/musl/porting/linux/user/include/
Delf.h622 #define PF_W (1 << 1) macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Delf.h619 #define PF_W (1 << 1) macro
/third_party/musl/porting/uniproton/kernel/include/
Delf.h619 #define PF_W (1 << 1) macro
/third_party/musl/porting/liteos_m/kernel/include/
Delf.h619 #define PF_W (1 << 1) macro
/third_party/musl/include/
Delf.h620 #define PF_W (1 << 1) macro

12