Home
last modified time | relevance | path

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

12

/external/valgrind/coregrind/m_syswrap/
Dsyswrap-x86-darwin.c322 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()
Dsyswrap-amd64-darwin.c381 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()
Dsyswrap-generic.c83 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()
Dsyswrap-solaris.c464 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/
Daspacemgr-linux.c853 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/
Dtarget.c466 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()
Dremote-utils.c414 (sizeof(VgdbShared), VKI_PROT_READ|VKI_PROT_WRITE, in remote_open()
/external/valgrind/coregrind/m_ume/
Delf.c196 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_()
Dmacho.c234 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/
Dsigframe-common.c76 VKI_PROT_READ | VKI_PROT_WRITE)) { in ML_()
/external/valgrind/coregrind/m_initimg/
Dinitimg-darwin.c492 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/
Dvki-arm64-linux.h202 #define VKI_PROT_READ 0x1 /* page can be read */ macro
Dvki-amd64-linux.h228 #define VKI_PROT_READ 0x1 /* page can be read */ macro
Dvki-tilegx-linux.h202 #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-ppc64-linux.h345 #define VKI_PROT_READ 0x1 /* page can be read */ macro
Dvki-s390x-linux.h295 #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-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-mips64-linux.h288 #define VKI_PROT_READ 0x1 /* page can be read */ macro
Dvki-darwin.h339 #define VKI_PROT_READ PROT_READ macro
/external/valgrind/memcheck/
Dmc_leakcheck.c532 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/
Dd3basics.c681 VKI_PROT_READ )) { in ML_()
693 VKI_PROT_READ )) { in ML_()
/external/valgrind/drd/
Ddrd_main.c305 if (!VG_(am_is_valid_for_client) (a, 1, VKI_PROT_READ)) in drd_pre_mem_read_asciiz()

12