Searched refs:PROT_NONE (Results 1 – 12 of 12) sorted by relevance
/system/core/libmemunreachable/ |
D | PtracerThread.cpp | 54 mprotect(base_, page_size_, PROT_NONE); in Stack() 55 mprotect(top(), page_size_, PROT_NONE); in Stack()
|
/system/core/libunwindstack/tests/ |
D | MemoryLocalTest.cpp | 77 mprotect(mapping + getpagesize(), getpagesize(), PROT_NONE); in TEST() 97 mprotect(static_cast<char*>(mapping) + 4096, 4096, PROT_NONE); in TEST()
|
D | MemoryRemoteTest.cpp | 116 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()
|
D | MapsTest.cpp | 187 EXPECT_EQ(PROT_NONE, info->flags); in TEST()
|
/system/core/libbacktrace/include/backtrace/ |
D | BacktraceMap.h | 24 #define PROT_NONE 0 macro 134 return PROT_NONE; in GetFlags()
|
/system/core/libbacktrace/ |
D | BacktraceMap.cpp | 82 map->flags = PROT_NONE; in ParseLine()
|
D | backtrace_test.cpp | 1026 if (mprotect(&memory[pagesize], pagesize, PROT_NONE) != 0) { in ThreadReadTest() 1127 if (mprotect(&memory[pagesize], pagesize, PROT_NONE) != 0) { in ForkedReadTest()
|
/system/core/libutils/ |
D | Unicode_test.cpp | 141 ASSERT_EQ(mprotect((char*)memptr + alignment, alignment, PROT_NONE), 0); in TEST_F()
|
/system/extras/pagecache/ |
D | dumpcache.c | 84 void* mapped_addr = mmap(NULL, sb->st_size, PROT_NONE, MAP_SHARED, fd, 0); in store_num_cached()
|
/system/core/libion/ |
D | ion_test.c | 248 map_flags |= strstr(optarg, "PROT_NONE") ? PROT_NONE: 0; in main()
|
/system/core/libmemunreachable/tests/ |
D | HeapWalker_test.cpp | 201 void* buffer1 = mmap(NULL, page_size, PROT_NONE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in TEST_F()
|
/system/core/debuggerd/handler/ |
D | debuggerd_handler.cpp | 595 mmap(nullptr, PAGE_SIZE * 3, PROT_NONE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in debuggerd_init()
|