/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-x86-darwin.c | 322 VKI_PROT_READ|VKI_PROT_WRITE, VKI_MAP_PRIVATE, -1, 0); in pthread_hijack() 326 VKI_PROT_READ|VKI_PROT_WRITE, VKI_MAP_PRIVATE, -1, 0); in pthread_hijack() 509 VKI_PROT_READ|VKI_PROT_WRITE, VKI_MAP_PRIVATE, -1, 0); in wqthread_hijack() 514 VKI_PROT_READ|VKI_PROT_WRITE, VKI_MAP_PRIVATE, -1, 0); in wqthread_hijack()
|
D | syswrap-amd64-darwin.c | 381 VKI_PROT_READ|VKI_PROT_WRITE, VKI_MAP_PRIVATE, -1, 0); in pthread_hijack() 385 VKI_PROT_READ|VKI_PROT_WRITE, VKI_MAP_PRIVATE, -1, 0); in pthread_hijack() 561 VKI_PROT_READ|VKI_PROT_WRITE, VKI_MAP_PRIVATE, -1, 0); in wqthread_hijack() 566 VKI_PROT_READ|VKI_PROT_WRITE, VKI_MAP_PRIVATE, -1, 0); in wqthread_hijack()
|
D | syswrap-generic.c | 83 VG_(am_is_valid_for_client)(sp, 1, VKI_PROT_READ | VKI_PROT_WRITE)) { in ML_() 150 return VG_(am_is_valid_for_client)( (Addr)start, size, VKI_PROT_READ ); in ML_() 202 rr = toBool(prot & VKI_PROT_READ); in notify_tool_of_mmap() 254 Bool rr = toBool(prot & VKI_PROT_READ); in ML_() 2003 UInt prot = VKI_PROT_READ|VKI_PROT_WRITE; in ML_() 2855 || !VG_(am_is_valid_for_client)( ARG1, 1, VKI_PROT_READ )) { in PRE() 4310 VKI_PROT_READ)) { in PRE()
|
D | syswrap-solaris.c | 464 vg_assert(VG_(am_is_valid_for_valgrind)(addr, size, VKI_PROT_READ)); in VG_() 467 if (!VG_(am_is_valid_for_client)(addr, size, VKI_PROT_READ)) in VG_() 1267 if (!VG_(am_is_valid_for_client)(ARG2, ARG3, VKI_PROT_READ)) { in PRE() 1277 !VG_(am_is_valid_for_client)(ARG4, ARG5, VKI_PROT_READ)) { in PRE() 1926 UInt prot = (seg->hasR ? VKI_PROT_READ : 0) in VG_() 2157 UInt prot = (seg->hasR ? VKI_PROT_READ : 0) in PRE() 3603 !VG_(am_is_valid_for_client)(ARG2, 1, VKI_PROT_READ)) { in PRE() 5770 prot |= VKI_PROT_READ; in mmapobj_process_phdrs() 9023 prot = VKI_PROT_READ | VKI_PROT_WRITE | VKI_PROT_EXEC; 9118 UInt prot = VKI_PROT_READ | VKI_PROT_WRITE | VKI_PROT_EXEC;
|
/external/valgrind/coregrind/m_aspacemgr/ |
D | aspacemgr-linux.c | 853 if (nsegments[i].hasR) seg_prot |= VKI_PROT_READ; in sync_check_mapping_callback() 892 if (sloppyRcheck && (prot & (VKI_PROT_EXEC | VKI_PROT_READ)) == in sync_check_mapping_callback() 893 (VKI_PROT_EXEC | VKI_PROT_READ)) { in sync_check_mapping_callback() 894 seg_prot |= VKI_PROT_READ; in sync_check_mapping_callback() 921 prot & VKI_PROT_READ ? 'r' : '-', in sync_check_mapping_callback() 1213 needR = toBool(prot & VKI_PROT_READ); in is_valid_for() 1517 seg.hasR = toBool(prot & VKI_PROT_READ); in read_maps_callback() 2156 seg.hasR = toBool(prot & VKI_PROT_READ); in VG_() 2199 seg.hasR = toBool(prot & VKI_PROT_READ); in VG_() 2228 newR = toBool(prot & VKI_PROT_READ); in VG_() [all …]
|
/external/valgrind/coregrind/m_gdbserver/ |
D | target.c | 466 len, VKI_PROT_READ) in valgrind_read_memory() 469 len, VKI_PROT_READ))) { in valgrind_read_memory() 489 len, VKI_PROT_READ))) { in valgrind_write_memory() 653 if (!VG_(am_is_valid_for_client) ((Addr)(addr), (len), VKI_PROT_READ)) { \ in valgrind_get_tls_addr()
|
D | remote-utils.c | 414 (sizeof(VgdbShared), VKI_PROT_READ|VKI_PROT_WRITE, in remote_open()
|
/external/valgrind/coregrind/m_ume/ |
D | elf.c | 196 if (ph->p_flags & PF_R) prot |= VKI_PROT_READ; in mapelf() 363 info->stack_prot = VKI_PROT_READ|VKI_PROT_WRITE|VKI_PROT_EXEC; in VG_() 467 if ((ph->p_flags & PF_R) == 0) info->stack_prot &= ~VKI_PROT_READ; in VG_()
|
D | macho.c | 234 prot = (((segcmd->initprot & VM_PROT_READ) ? VKI_PROT_READ : 0) | in load_segment() 384 …res = VG_(am_mmap_anon_fixed_client)(stackbase, stacksize, VKI_PROT_READ|VKI_PROT_WRITE|VKI_PROT_E… in load_unixthread() 418 VKI_PROT_READ|VKI_PROT_WRITE|VKI_PROT_EXEC); in handle_lcmain()
|
/external/valgrind/coregrind/m_sigframe/ |
D | sigframe-common.c | 76 VKI_PROT_READ | VKI_PROT_WRITE)) { in ML_()
|
/external/valgrind/coregrind/m_initimg/ |
D | initimg-darwin.c | 492 VKI_PROT_READ|VKI_PROT_EXEC, 0, -1, 0); in record_system_memory() 498 VKI_PROT_READ|VKI_PROT_EXEC, 0, -1, 0); in record_system_memory()
|
/external/valgrind/include/vki/ |
D | vki-arm64-linux.h | 202 #define VKI_PROT_READ 0x1 /* page can be read */ macro
|
D | vki-amd64-linux.h | 228 #define VKI_PROT_READ 0x1 /* page can be read */ macro
|
D | vki-tilegx-linux.h | 202 #define VKI_PROT_READ 0x1 /* page can be read */ macro
|
D | vki-ppc32-linux.h | 293 #define VKI_PROT_READ 0x1 /* page can be read */ macro
|
D | vki-ppc64-linux.h | 345 #define VKI_PROT_READ 0x1 /* page can be read */ macro
|
D | vki-s390x-linux.h | 295 #define VKI_PROT_READ 0x1 /* page can be read */ macro
|
D | vki-arm-linux.h | 226 #define VKI_PROT_READ 0x1 /* page can be read */ macro
|
D | vki-x86-linux.h | 264 #define VKI_PROT_READ 0x1 /* page can be read */ macro
|
D | vki-mips32-linux.h | 285 #define VKI_PROT_READ 0x1 /* page can be read */ macro
|
D | vki-mips64-linux.h | 288 #define VKI_PROT_READ 0x1 /* page can be read */ macro
|
D | vki-darwin.h | 339 #define VKI_PROT_READ PROT_READ macro
|
/external/valgrind/memcheck/ |
D | mc_leakcheck.c | 532 if (!VG_(am_is_valid_for_client)(ptr, 1, VKI_PROT_READ)) { in lc_is_a_chunk_ptr() 1077 } else if (!VG_(am_is_valid_for_client)(ptr, sizeof(Addr), VKI_PROT_READ)) { in lc_scan_memory() 1121 if (!VG_(am_is_valid_for_client)(ptr, sizeof(Addr), VKI_PROT_READ)) { in lc_scan_memory()
|
/external/valgrind/coregrind/m_debuginfo/ |
D | d3basics.c | 681 VKI_PROT_READ )) { in ML_() 693 VKI_PROT_READ )) { in ML_()
|
/external/valgrind/drd/ |
D | drd_main.c | 305 if (!VG_(am_is_valid_for_client) (a, 1, VKI_PROT_READ)) in drd_pre_mem_read_asciiz()
|