Home | History | Annotate | Download | only in linker

Lines Matching refs:android_namespace_t

79 static android_namespace_t* g_anonymous_namespace = &g_default_namespace;
80 static std::unordered_map<std::string, android_namespace_t*> g_exported_namespaces;
85 static LinkerTypeAllocator<android_namespace_t> g_namespace_allocator;
86 static LinkerTypeAllocator<LinkedListEntry<android_namespace_t>> g_namespace_list_allocator;
173 static bool maybe_accessible_via_namespace_links(android_namespace_t* ns, const char* name) {
186 static bool is_greylisted(android_namespace_t* ns, const char* name, const soinfo* needed_by) {
325 LinkedListEntry<android_namespace_t>* NamespaceListAllocator::alloc() {
329 void NamespaceListAllocator::free(LinkedListEntry<android_namespace_t>* entry) {
333 soinfo* soinfo_alloc(android_namespace_t* ns, const char* name,
617 android_namespace_t* start_from,
676 const android_namespace_t* get_start_from() const {
718 android_namespace_t* start_from,
741 const android_namespace_t* const start_from_;
802 static const ElfW(Sym)* dlsym_handle_lookup(android_namespace_t* ns,
837 static const ElfW(Sym)* dlsym_linear_lookup(android_namespace_t* ns,
874 static const ElfW(Sym)* dlsym_linear_lookup(android_namespace_t* ns,
1123 static int open_library(android_namespace_t
1206 static bool find_loaded_library_by_inode(android_namespace_t* ns,
1224 android_namespace_t* linked_ns = link.linked_namespace();
1237 static bool find_loaded_library_by_realpath(android_namespace_t* ns, const char* realpath,
1245 android_namespace_t* linked_ns = link.linked_namespace();
1258 static bool load_library(android_namespace_t* ns,
1408 static bool load_library(android_namespace_t* ns,
1454 static bool find_loaded_library_by_soname(android_namespace_t* ns,
1469 static bool find_loaded_library_by_soname(android_namespace_t* ns,
1489 android_namespace_t* linked_ns = link.linked_namespace();
1502 android_namespace_t* ns = namespace_link.linked_namespace();
1539 static bool find_library_internal(android_namespace_t* ns,
1634 bool find_libraries(android_namespace_t* ns,
1645 std::vector<android_namespace_t*>* namespaces) {
1696 if (!find_library_internal(const_cast<android_namespace_t*>(task->get_start_from()),
1826 android_namespace_t* needed_by_ns =
1854 android_namespace_t* local_group_ns = root->get_primary_namespace();
1919 static soinfo* find_library(android_namespace_t* ns,
2118 static android_namespace_t* get_caller_namespace(soinfo* caller) {
2185 android_namespace_t* ns = get_caller_namespace(caller);
2347 android_namespace_t* ns = get_caller_namespace(caller);
2460 android_namespace_t* anon_ns =
2483 static void add_soinfos_to_namespace(const soinfo_list_t& soinfos, android_namespace_t* ns) {
2490 android_namespace_t* create_namespace(const void* caller_addr,
2496 android_namespace_t* parent_namespace) {
2515 android_namespace_t* ns = new (g_namespace_allocator.alloc()) android_namespace_t();
2553 bool link_namespaces(android_namespace_t* namespace_from,
2554 android_namespace_t* namespace_to,
2580 bool link_namespaces_all_libs(android_namespace_t* namespace_from,
2581 android_namespace_t* namespace_to) {
4041 static std::vector<android_namespace_t*> init_default_namespace_no_config(bool is_asan) {
4057 std::vector<android_namespace_t*> namespaces;
4117 std::vector<android_namespace_t*> init_default_namespaces(const char* executable_path) {
4156 std::unordered_map<std::string, android_namespace_t*> namespaces;
4177 android_namespace_t* ns = new (g_namespace_allocator.alloc()) android_namespace_t();
4194 android_namespace_t* namespace_from = it_from->second;
4198 android_namespace_t* namespace_to = it_to->second;
4222 std::vector<android_namespace_t*> created_namespaces;
4232 android_namespace_t* get_exported_namespace(const char* name) {