Home
last modified time | relevance | path

Searched refs:VKI_PROT_READ (Results 1 – 25 of 34) sorted by relevance

12

/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-x86-darwin.c323 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()
Dsyswrap-amd64-darwin.c365 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()
Dsyswrap-generic.c119 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/
Daspacemgr-linux.c927 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/
Dmacho.c230 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()
Delf.c193 if (ph->p_flags & PF_R) prot |= VKI_PROT_READ; in mapelf()
/external/valgrind/main/coregrind/m_initimg/
Dinitimg-darwin.c494 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()
Dinitimg-linux.c560 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/
Dvki-amd64-linux.h228 #define VKI_PROT_READ 0x1 /* page can be read */ macro
Dvki-ppc32-linux.h293 #define VKI_PROT_READ 0x1 /* page can be read */ macro
Dvki-arm-linux.h226 #define VKI_PROT_READ 0x1 /* page can be read */ macro
Dvki-ppc64-linux.h343 #define VKI_PROT_READ 0x1 /* page can be read */ macro
Dvki-s390x-linux.h289 #define VKI_PROT_READ 0x1 /* page can be read */ macro
Dvki-x86-linux.h264 #define VKI_PROT_READ 0x1 /* page can be read */ macro
Dvki-mips32-linux.h285 #define VKI_PROT_READ 0x1 /* page can be read */ macro
Dvki-darwin.h320 #define VKI_PROT_READ PROT_READ macro
/external/valgrind/main/memcheck/
Dmc_leakcheck.c509 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/
Dd3basics.c667 VKI_PROT_READ )) { in ML_()
679 VKI_PROT_READ )) { in ML_()
Dreadelf.c1083 ( *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_()
Dreadmacho.c182 ( size, VKI_PROT_READ, sr_Res(fd), 0 ); in map_image_aboard()
/external/valgrind/main/coregrind/m_gdbserver/
Dtarget.c423 len, VKI_PROT_READ)) { in valgrind_read_memory()
Dremote-utils.c325 (sizeof(VgdbShared), VKI_PROT_READ|VKI_PROT_WRITE, in remote_open()
/external/valgrind/main/drd/
Ddrd_main.c287 if (!VG_(am_is_valid_for_client) (a, 1, VKI_PROT_READ)) in drd_pre_mem_read_asciiz()
/external/valgrind/main/coregrind/
Dm_mallocfree.c791 ( 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()
Dm_stacktrace.c1067 VKI_PROT_READ)) { in VG_()

12