Home
last modified time | relevance | path

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

123

/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
Dleak-segv-jmp.c254 mprotect_result = mprotect((void*) RNDPAGEDOWN(&b10[4000]), 2 * pagesize, PROT_NONE); in f()
267 mprotect_result = mprotect((void*) RNDPAGEDOWN(&b10[0]), in f()
/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/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dsignal_segv_handler.cc24 mprotect(guard, 4096, PROT_READ | PROT_WRITE); in handler()
34 mprotect(guard, 4096, 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/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/strace/tests/
Dmmap.test7 syscall=mprotect,munmap
Dumovestr.c16 if (p == MAP_FAILED || mprotect(p + page_len, page_len, PROT_NONE)) in main()
Dumovestr2.c15 if (p == MAP_FAILED || mprotect(p + work_len, page_len, PROT_NONE)) in main()
Dmmap.c31 mprotect(p, length, PROT_NONE) || 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/compiler-rt/lib/builtins/
Denable_execute_stack.c57 (void) mprotect((void *)startPage, length, PROT_READ | PROT_WRITE | PROT_EXEC); in __enable_execute_stack()
/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/v8/src/base/platform/
Dplatform-posix.cc116 mprotect(address, size, PROT_READ); in ProtectCode()
118 mprotect(address, size, PROT_READ | PROT_EXEC); in ProtectCode()
129 mprotect(address, size, PROT_NONE); in Guard()
/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/valgrind/none/tests/linux/
Dmremap2.c79 r = mprotect( workingarea + i * PAGE, PAGE, PROT_NONE ); in show()
/external/libunwind/tests/
DGtest-dyn1.c187 mprotect ((void *) ((long) mem & ~(getpagesize () - 1)), in main()
Dia64-test-dyn1.c28 if (mprotect ((void *) (((long) addr) & -getpagesize ()), len, in make_executable()
/external/harfbuzz_ng/src/
Dhb-blob.cc414 if (-1 == mprotect ((void *) addr, length, PROT_READ | PROT_WRITE)) { in _try_make_writable_inplace_unix()
/external/ltrace/etc/
Dsyscalls.conf117 int mprotect(addr,int,int);
/external/google-breakpad/src/client/mac/handler/
Dexception_handler.cc651 mprotect(gProtectedData.protected_buffer, PAGE_SIZE, PROT_READ); in InstallHandler()
695 mprotect(gProtectedData.protected_buffer, PAGE_SIZE, in UninstallHandler()
/external/compiler-rt/lib/asan/
Dasan_malloc_mac.cc57 mprotect(new_zone, allocated_size, PROT_READ); in INTERCEPTOR()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_mac.cc63 return mprotect(addr, length, prot); in internal_mprotect()

123