Home
last modified time | relevance | path

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

/frameworks/libs/binary_translation/tiny_loader/tests/
Dtiny_loader_tests.cc92 void* symbol_addr = loaded_elf_file.FindSymbol(kTestSymbolName); in TestLoadLibrary() local
93 ASSERT_TRUE(symbol_addr != nullptr); in TestLoadLibrary()
94 ASSERT_TRUE(static_cast<uint8_t*>(symbol_addr) > static_cast<uint8_t*>(base_addr)); in TestLoadLibrary()
105 ASSERT_EQ(symbol_addr, symbols.begin()->second); in TestLoadLibrary()
122 ASSERT_EQ(symbol_addr, memory_symbol_addr); in TestLoadLibrary()
/frameworks/libs/binary_translation/guest_loader/
Dguest_loader.cc408 void* symbol_addr = elf_file.FindSymbol(symbol_name); in MakeElfSymbolTrampolineCallable() local
409 if (symbol_addr == nullptr) { in MakeElfSymbolTrampolineCallable()
413 MakeTrampolineCallable(ToGuestAddr(symbol_addr), false, callback, arg, symbol_name); in MakeElfSymbolTrampolineCallable()