Home
last modified time | relevance | path

Searched refs:PROT_NONE (Results 1 – 12 of 12) sorted by relevance

/system/core/libmemunreachable/
DPtracerThread.cpp54 mprotect(base_, page_size_, PROT_NONE); in Stack()
55 mprotect(top(), page_size_, PROT_NONE); in Stack()
/system/core/libunwindstack/tests/
DMemoryLocalTest.cpp77 mprotect(mapping + getpagesize(), getpagesize(), PROT_NONE); in TEST()
97 mprotect(static_cast<char*>(mapping) + 4096, 4096, PROT_NONE); in TEST()
DMemoryRemoteTest.cpp116 ASSERT_EQ(0, mprotect(mapping + getpagesize(), getpagesize(), PROT_NONE)); in TEST_F()
241 ASSERT_EQ(0, mprotect(static_cast<char*>(mapping) + page_size, page_size, PROT_NONE)); in TEST_F()
310 ASSERT_EQ(0, mprotect(static_cast<char*>(mapping), page_size, PROT_NONE)); in TEST_F()
DMapsTest.cpp187 EXPECT_EQ(PROT_NONE, info->flags); in TEST()
/system/core/libbacktrace/include/backtrace/
DBacktraceMap.h24 #define PROT_NONE 0 macro
134 return PROT_NONE; in GetFlags()
/system/core/libbacktrace/
DBacktraceMap.cpp82 map->flags = PROT_NONE; in ParseLine()
Dbacktrace_test.cpp1026 if (mprotect(&memory[pagesize], pagesize, PROT_NONE) != 0) { in ThreadReadTest()
1127 if (mprotect(&memory[pagesize], pagesize, PROT_NONE) != 0) { in ForkedReadTest()
/system/core/libutils/
DUnicode_test.cpp141 ASSERT_EQ(mprotect((char*)memptr + alignment, alignment, PROT_NONE), 0); in TEST_F()
/system/extras/pagecache/
Ddumpcache.c84 void* mapped_addr = mmap(NULL, sb->st_size, PROT_NONE, MAP_SHARED, fd, 0); in store_num_cached()
/system/core/libion/
Dion_test.c248 map_flags |= strstr(optarg, "PROT_NONE") ? PROT_NONE: 0; in main()
/system/core/libmemunreachable/tests/
DHeapWalker_test.cpp201 void* buffer1 = mmap(NULL, page_size, PROT_NONE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in TEST_F()
/system/core/debuggerd/handler/
Ddebuggerd_handler.cpp595 mmap(nullptr, PAGE_SIZE * 3, PROT_NONE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in debuggerd_init()