Searched refs:GuestMapShadow (Results 1 – 9 of 9) sorted by relevance
/frameworks/libs/binary_translation/guest_os_primitives/ |
D | guest_map_shadow.cc | 63 GuestMapShadow* GuestMapShadow::GetInstance() { in GetInstance() 64 static GuestMapShadow g_map_shadow; in GetInstance() 68 bool GuestMapShadow::IsExecAddr(GuestAddr addr) const { in IsExecAddr() 74 bool GuestMapShadow::SetExecAddr(GuestAddr addr, int set) { in SetExecAddr() 87 void GuestMapShadow::CopyExecutable(GuestAddr from, in CopyExecutable() 105 GuestMapShadow::GuestMapShadow() : protected_maps_(&arena_) { in GuestMapShadow() function in berberis::GuestMapShadow 110 GuestMapShadow::~GuestMapShadow() { in ~GuestMapShadow() 114 BitValue GuestMapShadow::GetExecutable(GuestAddr start, size_t size) const { in GetExecutable() 129 bool GuestMapShadow::IsExecutable(GuestAddr start, size_t size) const { in IsExecutable() 133 void GuestMapShadow::SetExecutable(GuestAddr start, size_t size) { in SetExecutable() [all …]
|
D | guest_map_shadow_test.cc | 41 auto shadow = std::make_unique<GuestMapShadow>(); in TEST_F() 73 auto shadow = std::make_unique<GuestMapShadow>(); in TEST_F() 107 auto shadow = std::make_unique<GuestMapShadow>(); in TEST_F()
|
/frameworks/libs/binary_translation/kernel_api/ |
D | sys_mman_emulation.cc | 44 GuestMapShadow* shadow = GuestMapShadow::GetInstance(); in UpdateGuestProt() 82 GuestMapShadow::GetInstance()->ClearExecutable(ToGuestAddr(addr), length); in MunmapForGuest() 91 if (GuestMapShadow::GetInstance()->IntersectsWithProtectedMapping( in MprotectForGuest() 109 GuestMapShadow* shadow = GuestMapShadow::GetInstance(); in MremapForGuest()
|
D | open_emulation.cc | 135 auto* maps_shadow = GuestMapShadow::GetInstance(); in OpenatProcSelfMapsForGuest()
|
/frameworks/libs/binary_translation/guest_os_primitives/include/berberis/guest_os_primitives/ |
D | guest_map_shadow.h | 36 class GuestMapShadow { 38 GuestMapShadow(); 39 ~GuestMapShadow(); 58 static GuestMapShadow* GetInstance();
|
/frameworks/libs/binary_translation/runtime/ |
D | execute_guest_test.cc | 43 GuestMapShadow::GetInstance()->SetExecutable(ToGuestAddr(&code[0]), sizeof(code)); in TEST() 58 GuestMapShadow::GetInstance()->ClearExecutable(ToGuestAddr(&code[0]), sizeof(code)); in TEST()
|
D | berberis.cc | 34 return GuestMapShadow::GetInstance()->IsExecutable(pc, 1); in IsAddressGuestExecutable()
|
D | translator_riscv64.cc | 192 GuestMapShadow* guest_map_shadow = GuestMapShadow::GetInstance(); in TranslateRegion()
|
/frameworks/libs/binary_translation/native_bridge/ |
D | native_bridge.cc | 324 berberis::GuestMapShadow::GetInstance()->AddProtectedMapping( in ProtectMappingsFromGuest() 488 if (!berberis::GuestMapShadow::GetInstance()->IsExecutable(guest_addr, 1)) { in native_bridge_getTrampolineForFunctionPointer()
|