/external/valgrind/memcheck/tests/ |
D | addressable.c | 69 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()
|
D | leak-segv-jmp.stderr.exp | 29 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/ |
D | leak_check_segv.cc | 14 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/ |
D | vsnprintf.c | 75 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/ |
D | signal_segv_handler.cc | 27 mprotect(guard, page_size, PROT_READ | PROT_WRITE); in handler() 41 mprotect(guard, page_size, PROT_NONE); in main()
|
/external/strace/tests/ |
D | xet_robust_list.c | 49 mprotect(p + page_len, page_len, PROT_NONE) || in main() 50 mprotect(p + page_len * 3, page_len, PROT_NONE)) in main()
|
D | mmap.test | 7 syscall=mprotect,munmap
|
D | umovestr.c | 43 if (p == MAP_FAILED || mprotect(p + page_len, page_len, PROT_NONE)) in main()
|
D | time.c | 48 if (p == MAP_FAILED || mprotect(p + page_len, page_len, PROT_NONE)) in main()
|
D | umovestr2.c | 42 if (p == MAP_FAILED || mprotect(p + work_len, page_len, PROT_NONE)) in main()
|
D | mmap.c | 58 mprotect(p, length, PROT_NONE) || in main()
|
/external/autotest/client/site_tests/security_mprotect/ |
D | control | 7 PURPOSE = "Verify mprotect+PROT_EXEC works on noexec filesystem" 18 Checks that mprotect can use PROT_EXEC on noexec filesystems,
|
/external/bison/m4/ |
D | memchr.m4 | 12 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/ |
D | memory_api.c | 78 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/ |
D | register_root_region.cc | 22 assert(0 == mprotect((char *)p + size / 2, size / 2, PROT_NONE)); in main()
|
/external/tlsdate/ |
D | tlsdate-seccomp-x86.policy | 8 mprotect: 1
|
D | tlsdate-seccomp-arm.policy | 8 mprotect: 1
|
D | tlsdate-seccomp-amd64.policy | 6 mprotect: 1
|
/external/compiler-rt/lib/builtins/ |
D | enable_execute_stack.c | 70 (void) mprotect((void *)startPage, length, PROT_READ | PROT_WRITE | PROT_EXEC); in __enable_execute_stack()
|
/external/v8/src/base/platform/ |
D | platform-aix.cc | 225 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/ |
D | prot_exec.c | 51 if (mprotect(areaex, sizeof(int), PROT_READ | PROT_EXEC)) in main()
|
/external/valgrind/docs/internals/ |
D | segments-seginfos.txt | 16 * 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/ |
D | clear_cache_test.c | 68 if (mprotect(start, end-start, PROT_READ|PROT_WRITE|PROT_EXEC) != 0) in main()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_posix_test.cc | 66 mprotect((void *)(mem + page_size), page_size, PROT_NONE); in TEST()
|
/external/autotest/client/site_tests/security_RuntimeExecStack/ |
D | control | 9 "in that it will catch mprotect(..., PROT_EXEC, ...) calls too.")
|