Home
last modified time | relevance | path

Searched refs:mprotect (Results 1 – 25 of 96) sorted by relevance

1234

/external/valgrind/memcheck/tests/
Daddressable.c69 mprotect(m, pgsz, PROT_WRITE); in test4()
73 mprotect(m, pgsz*5, PROT_NONE); in test4()
87 mprotect(m, pgsz*5, PROT_NONE); in test5()
88 mprotect(m, pgsz*5, PROT_READ); in test5()
Dleak-segv-jmp.stderr.exp29 mprotect result 0
45 full mprotect result 0
46 expecting a leak again after full mprotect
61 mprotect result 0
62 expecting heuristic not to crash after full mprotect
/external/compiler-rt/test/asan/TestCases/Linux/
Dleak_check_segv.cc14 mprotect((void*)(((unsigned long)p + 4095) & ~4095), 16 * 1024, PROT_NONE); in main()
15 mprotect((void*)(((unsigned long)data + 4095) & ~4095), 16 * 1024, PROT_NONE); in main()
/external/mesa3d/src/mesa/main/
Dvsnprintf.c75 if (mprotect(e, pgsize, PROT_NONE) == -1) {
99 if (mprotect((caddr_t)(p + n + EXTRABYTES), pgsize,
101 mprotect((caddr_t)(p + n + EXTRABYTES), pgsize,
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dsignal_segv_handler.cc27 mprotect(guard, page_size, PROT_READ | PROT_WRITE); in handler()
41 mprotect(guard, page_size, PROT_NONE); in main()
/external/strace/tests/
Dxet_robust_list.c49 mprotect(p + page_len, page_len, PROT_NONE) || in main()
50 mprotect(p + page_len * 3, page_len, PROT_NONE)) in main()
Dmmap.test7 syscall=mprotect,munmap
Dumovestr.c43 if (p == MAP_FAILED || mprotect(p + page_len, page_len, PROT_NONE)) in main()
Dtime.c48 if (p == MAP_FAILED || mprotect(p + page_len, page_len, PROT_NONE)) in main()
Dumovestr2.c42 if (p == MAP_FAILED || mprotect(p + work_len, page_len, PROT_NONE)) in main()
Dmmap.c58 mprotect(p, length, PROT_NONE) || in main()
/external/autotest/client/site_tests/security_mprotect/
Dcontrol7 PURPOSE = "Verify mprotect+PROT_EXEC works on noexec filesystem"
18 Checks that mprotect can use PROT_EXEC on noexec filesystems,
/external/bison/m4/
Dmemchr.m412 AC_CHECK_FUNCS_ONCE([mprotect])
30 # Assume that memchr works on platforms that lack mprotect.
61 && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0)
/external/autotest/client/tests/memory_api/
Dmemory_api.c78 if (-1 == mprotect(mem, HALF_MEM(memsize), PROT_READ)) { in main()
88 if (-1 == mprotect(mem, HALF_MEM(memsize), in main()
/external/compiler-rt/test/lsan/TestCases/
Dregister_root_region.cc22 assert(0 == mprotect((char *)p + size / 2, size / 2, PROT_NONE)); in main()
/external/tlsdate/
Dtlsdate-seccomp-x86.policy8 mprotect: 1
Dtlsdate-seccomp-arm.policy8 mprotect: 1
Dtlsdate-seccomp-amd64.policy6 mprotect: 1
/external/compiler-rt/lib/builtins/
Denable_execute_stack.c70 (void) mprotect((void *)startPage, length, PROT_READ | PROT_WRITE | PROT_EXEC); in __enable_execute_stack()
/external/v8/src/base/platform/
Dplatform-aix.cc225 if (mprotect(base, size, prot) == -1) return false; in CommitRegion()
232 return mprotect(base, size, PROT_NONE) != -1; in UncommitRegion()
/external/autotest/client/site_tests/security_mprotect/src/
Dprot_exec.c51 if (mprotect(areaex, sizeof(int), PROT_READ | PROT_EXEC)) in main()
/external/valgrind/docs/internals/
Dsegments-seginfos.txt16 * mprotect
31 Similarly, if a Segment gets split (by mprotect, for example), the two
64 > Can a Segment get split (eg. by mprotect)?
103 this maps beyond EOF of the file], then munmap()s [or mprotect(,,PROT_NONE)]
/external/compiler-rt/test/builtins/Unit/
Dclear_cache_test.c68 if (mprotect(start, end-start, PROT_READ|PROT_WRITE|PROT_EXEC) != 0) in main()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_posix_test.cc66 mprotect((void *)(mem + page_size), page_size, PROT_NONE); in TEST()
/external/autotest/client/site_tests/security_RuntimeExecStack/
Dcontrol9 "in that it will catch mprotect(..., PROT_EXEC, ...) calls too.")

1234