Home
last modified time | relevance | path

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

/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_library_list.h21 class LibraryView; variable
32 LibraryView* FindLibraryByName(const char* base_name);
37 void* FindSymbolFrom(const char* symbol_name, LibraryView* from_lib);
45 LibraryView* FindLibraryForAddress(void* address);
67 LibraryView* LoadLibrary(const char* path,
78 void UnloadLibrary(LibraryView* lib);
81 void AddLibrary(LibraryView* lib);
90 Vector<LibraryView*> known_libraries_;
92 LibraryView* FindKnownLibrary(const char* name);
Dcrazy_linker_library_list.cpp62 LibraryView* wrap = known_libraries_.PopLast(); in ~LibraryList()
67 LibraryView* LibraryList::FindLibraryByName(const char* base_name) { in FindLibraryByName()
73 LibraryView* wrap = known_libraries_[n]; in FindLibraryByName()
80 void* LibraryList::FindSymbolFrom(const char* symbol_name, LibraryView* from) { in FindSymbolFrom()
88 Vector<LibraryView*> work_queue; in FindSymbolFrom()
89 Set<LibraryView*> visited_set; in FindSymbolFrom()
94 LibraryView* lib = work_queue.PopFirst(); in FindSymbolFrom()
112 LibraryView* dependency = FindKnownLibrary(iter.GetName()); in FindSymbolFrom()
131 LibraryView* LibraryList::FindLibraryForAddress(void* address) { in FindLibraryForAddress()
136 LibraryView* wrap = known_libraries_[n]; in FindLibraryForAddress()
[all …]
Dcrazy_linker_library_view.cpp14 LibraryView::~LibraryView() { in ~LibraryView()
27 void* LibraryView::LookupSymbol(const char* symbol_name) { in LookupSymbol()
39 bool LibraryView::GetInfo(size_t* load_address, in GetInfo()
Dcrazy_linker_api.cpp26 using crazy::LibraryView;
202 LibraryView* wrap = in crazy_library_open()
234 LibraryView* wrap = reinterpret_cast<LibraryView*>(library); in crazy_library_get_info()
262 LibraryView* wrap = reinterpret_cast<LibraryView*>(library); in crazy_library_create_shared_relro()
282 LibraryView* wrap = reinterpret_cast<LibraryView*>(library); in crazy_library_use_shared_relro()
300 LibraryView* wrap = in crazy_library_find_by_name()
314 LibraryView* wrap = reinterpret_cast<LibraryView*>(library); in crazy_library_find_symbol()
332 LibraryView* wrap = Globals::GetLibraries()->FindLibraryForAddress(address); in crazy_library_find_from_address()
352 LibraryView* wrap = reinterpret_cast<LibraryView*>(library); in crazy_library_close_with_context()
Dcrazy_linker_wrappers.cpp79 LibraryView* wrap = lib_list->LoadLibrary(path, in WrapDlopen()
97 LibraryView* wrap_lib = new LibraryView(); in WrapDlopen()
104 LibraryView* wrap_lib = reinterpret_cast<LibraryView*>(lib_handle); in WrapDlsym()
170 LibraryView* wrap = lib_list->FindLibraryForAddress(address); in WrapDladdr()
194 LibraryView* wrap_lib = reinterpret_cast<LibraryView*>(lib_handle); in WrapDlclose()
Dcrazy_linker_library_view.h21 class LibraryView {
29 LibraryView() in LibraryView() function
32 ~LibraryView();
Dcrazy_linker_shared_library.cpp89 Vector<LibraryView*>* dependencies) in SharedLibraryResolver()
109 LibraryView* wrap = (*dependencies_)[n]; in Lookup()
148 Vector<LibraryView*>* dependencies_;
288 Vector<LibraryView*>* dependencies, in Relocate()
Dcrazy_linker_shared_library.h21 class LibraryView; variable
62 Vector<LibraryView*>* dependencies,
/ndk/sources/android/crazy_linker/
DDESIGN.TXT124 each entry (crazy::LibraryView) is reference-counted, and either references:
142 +----| LibraryView | ----> libc.so
146 +----| LibraryView | ----> libm.so
150 +----| LibraryView | ----> libOpenSLES.so
154 +----| LibraryView |----->|SharedLibrary| ---> libfoo.so