Home
last modified time | relevance | path

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

/art/test/305-other-fault-handler/
Dfault_handler.cc37 target_map_(MemMap::MapAnonymous("test-305-mmap", in TestFaultHandler()
47 CHECK(target_map_.IsValid()) << "Unable to create segfault target address " << map_error_; in TestFaultHandler()
63 CHECK(target_map_.Protect(PROT_READ | PROT_WRITE)) << "Failed to mprotect R/W"; in Action()
67 CHECK(target_map_.Protect(PROT_READ)) << "Failed to mprotect R-only"; in Action()
72 CHECK_EQ(target_map_.GetProtect(), PROT_NONE); in CauseSegfault()
82 CHECK_EQ(target_map_.GetProtect(), PROT_READ); in CauseSegfault()
88 return reinterpret_cast<uint32_t*>(target_map_.Begin() + 8); in GetTargetPointer()
94 MemMap target_map_; member in art::TestFaultHandler