Home
last modified time | relevance | path

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

/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_wrappers.cpp97 LibraryView* wrap_lib = new LibraryView(); in WrapDlopen() local
98 wrap_lib->SetSystem(system_lib, path ? path : "<executable>"); in WrapDlopen()
99 Globals::GetLibraries()->AddLibrary(wrap_lib); in WrapDlopen()
100 return wrap_lib; in WrapDlopen()
104 LibraryView* wrap_lib = reinterpret_cast<LibraryView*>(lib_handle); in WrapDlsym() local
132 if (wrap_lib->IsSystem()) { in WrapDlsym()
135 result = ::dlsym(wrap_lib->GetSystem(), symbol_name); in WrapDlsym()
139 wrap_lib->GetName(), in WrapDlsym()
146 if (wrap_lib->IsCrazy()) { in WrapDlsym()
149 void* addr = lib_list->FindSymbolFrom(symbol_name, wrap_lib); in WrapDlsym()
[all …]