/external/valgrind/main/coregrind/m_syswrap/ |
D | syswrap-x86-darwin.c | 323 VKI_PROT_READ|VKI_PROT_WRITE, VKI_MAP_PRIVATE, -1, 0); in pthread_hijack() 327 VKI_PROT_READ|VKI_PROT_WRITE, VKI_MAP_PRIVATE, -1, 0); in pthread_hijack() 486 VKI_PROT_READ|VKI_PROT_WRITE, VKI_MAP_PRIVATE, -1, 0); in wqthread_hijack() 491 VKI_PROT_READ|VKI_PROT_WRITE, VKI_MAP_PRIVATE, -1, 0); in wqthread_hijack()
|
D | syswrap-amd64-darwin.c | 365 VKI_PROT_READ|VKI_PROT_WRITE, VKI_MAP_PRIVATE, -1, 0); in pthread_hijack() 369 VKI_PROT_READ|VKI_PROT_WRITE, VKI_MAP_PRIVATE, -1, 0); in pthread_hijack() 525 VKI_PROT_READ|VKI_PROT_WRITE, VKI_MAP_PRIVATE, -1, 0); in wqthread_hijack() 530 VKI_PROT_READ|VKI_PROT_WRITE, VKI_MAP_PRIVATE, -1, 0); in wqthread_hijack()
|
D | syswrap-generic.c | 119 return VG_(am_is_valid_for_client)( (Addr)start, size, VKI_PROT_READ ); in ML_() 171 rr = toBool(prot & VKI_PROT_READ); in notify_tool_of_mmap() 223 Bool rr = toBool(prot & VKI_PROT_READ); in ML_() 1773 UInt prot = VKI_PROT_READ|VKI_PROT_WRITE; in ML_() 2552 || !VG_(am_is_valid_for_client)( ARG1, 1, VKI_PROT_READ )) { in PRE()
|
/external/valgrind/main/coregrind/m_aspacemgr/ |
D | aspacemgr-linux.c | 927 if (nsegments[i].hasR) seg_prot |= VKI_PROT_READ; in sync_check_mapping_callback() 990 prot & VKI_PROT_READ ? 'r' : '-', in sync_check_mapping_callback() 1285 needR = toBool(prot & VKI_PROT_READ); in is_valid_for_client() 1547 seg.hasR = toBool(prot & VKI_PROT_READ); in read_maps_callback() 2038 seg.hasR = toBool(prot & VKI_PROT_READ); in VG_() 2081 seg.hasR = toBool(prot & VKI_PROT_READ); in VG_() 2110 newR = toBool(prot & VKI_PROT_READ); in VG_() 2263 seg.hasR = toBool(prot & VKI_PROT_READ); in VG_() 2331 seg.hasR = toBool(prot & VKI_PROT_READ); in VG_() 2389 seg.hasR = toBool(prot & VKI_PROT_READ); in VG_() [all …]
|
/external/valgrind/main/coregrind/m_ume/ |
D | macho.c | 230 prot = (((segcmd->initprot & VM_PROT_READ) ? VKI_PROT_READ : 0) | in load_segment() 370 …res = VG_(am_mmap_anon_fixed_client)(stackbase, stacksize, VKI_PROT_READ|VKI_PROT_WRITE|VKI_PROT_E… in load_unixthread() 404 VKI_PROT_READ|VKI_PROT_WRITE|VKI_PROT_EXEC); in handle_lcmain()
|
D | elf.c | 193 if (ph->p_flags & PF_R) prot |= VKI_PROT_READ; in mapelf()
|
/external/valgrind/main/coregrind/m_initimg/ |
D | initimg-darwin.c | 494 VKI_PROT_READ|VKI_PROT_EXEC, 0, -1, 0); in record_system_memory() 500 VKI_PROT_READ|VKI_PROT_EXEC, 0, -1, 0); in record_system_memory()
|
D | initimg-linux.c | 560 VKI_PROT_READ|VKI_PROT_WRITE|VKI_PROT_EXEC in setup_client_stack() 859 VKI_PROT_READ|VKI_PROT_WRITE|VKI_PROT_EXEC in setup_client_dataseg()
|
/external/valgrind/main/include/vki/ |
D | vki-amd64-linux.h | 228 #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-arm-linux.h | 226 #define VKI_PROT_READ 0x1 /* page can be read */ macro
|
D | vki-ppc64-linux.h | 343 #define VKI_PROT_READ 0x1 /* page can be read */ macro
|
D | vki-s390x-linux.h | 289 #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-darwin.h | 320 #define VKI_PROT_READ PROT_READ macro
|
/external/valgrind/main/memcheck/ |
D | mc_leakcheck.c | 509 if (!VG_(am_is_valid_for_client)(ptr, 1, VKI_PROT_READ)) { in lc_is_a_chunk_ptr() 740 } else if (!VG_(am_is_valid_for_client)(ptr, sizeof(Addr), VKI_PROT_READ)) { in lc_scan_memory() 764 if (!VG_(am_is_valid_for_client)(ptr, sizeof(Addr), VKI_PROT_READ)) { in lc_scan_memory()
|
/external/valgrind/main/coregrind/m_debuginfo/ |
D | d3basics.c | 667 VKI_PROT_READ )) { in ML_() 679 VKI_PROT_READ )) { in ML_()
|
D | readelf.c | 1083 ( *size, VKI_PROT_READ, sr_Res(fd), 0 ); in open_debug_file() 1181 ( *n_dimage, VKI_PROT_READ, sr_Res(fd), 0 ); in find_ad_hoc_debug_image() 1457 ( n_oimage, VKI_PROT_READ, sr_Res(fd), 0 ); in ML_()
|
D | readmacho.c | 182 ( size, VKI_PROT_READ, sr_Res(fd), 0 ); in map_image_aboard()
|
/external/valgrind/main/coregrind/m_gdbserver/ |
D | target.c | 423 len, VKI_PROT_READ)) { in valgrind_read_memory()
|
D | remote-utils.c | 325 (sizeof(VgdbShared), VKI_PROT_READ|VKI_PROT_WRITE, in remote_open()
|
/external/valgrind/main/drd/ |
D | drd_main.c | 287 if (!VG_(am_is_valid_for_client) (a, 1, VKI_PROT_READ)) in drd_pre_mem_read_asciiz()
|
/external/valgrind/main/coregrind/ |
D | m_mallocfree.c | 791 ( cszB, VKI_PROT_READ|VKI_PROT_WRITE|VKI_PROT_EXEC ); in newSuperblock() 794 ( cszB, VKI_PROT_READ|VKI_PROT_WRITE|VKI_PROT_EXEC ); in newSuperblock()
|
D | m_stacktrace.c | 1067 VKI_PROT_READ)) { in VG_()
|