android_bionic/linker
Dimitry Ivanov 3b236ae294 Do not use std::vector in android_namespace_t::is_accessible
Avoid constructing vector and walking all the parents of a soinfo
to check if it is accessible. The most likely scenario that the
very first check returns true.

Bug: http://b/35313368
Test: bionic-unit-tests --gtest_filter=dl*:Dl*
Change-Id: I06c65cf61ed1c30e5e454a169de4c41038863587
2017-02-13 11:25:49 -08:00
..
arch linker: convert 'mov pc' instruction to 'bx' 2017-01-14 14:40:07 +00:00
tests Extract soinfo and globals to separate files. 2016-08-08 16:12:53 -07:00
Android.bp Remove dependency on libc.a from the linker 2017-01-26 17:08:01 -08:00
Android.mk Convert linker from Android.mk to Android.bp 2016-07-15 13:39:29 -07:00
MODULE_LICENSE_APACHE2
dlfcn.cpp Replace public library list with shared lib sonames (part 2/2) 2017-02-09 23:26:44 -08:00
linked_list.h loader: fix d-tor call order 2017-02-10 16:11:51 -08:00
linker.cpp Merge "Replace public library list with shared lib sonames (part 2/2)" 2017-02-11 19:26:49 +00:00
linker.h Replace public library list with shared lib sonames (part 2/2) 2017-02-09 23:26:44 -08:00
linker_allocator.cpp Remove unnecessary memsets in linker allocators 2017-02-09 15:53:54 -08:00
linker_allocator.h Improvements to initialization of linker_allocator 2016-07-29 14:05:39 -07:00
linker_block_allocator.cpp Remove unnecessary memsets in linker allocators 2017-02-09 15:53:54 -08:00
linker_block_allocator.h
linker_cfi.cpp Fix CFI initialization crash on x86. 2017-02-02 14:44:46 -08:00
linker_cfi.h [cfi] Handle large libraries correctly. 2017-01-20 14:23:20 -08:00
linker_common_types.h Extract soinfo and globals to separate files. 2016-08-08 16:12:53 -07:00
linker_debug.h
linker_dlwarning.cpp Sync linker with internal branch 2016-08-01 19:47:27 +00:00
linker_dlwarning.h Sync linker with internal branch 2016-08-01 19:47:27 +00:00
linker_gdb_support.cpp
linker_gdb_support.h
linker_globals.cpp Extract soinfo and globals to separate files. 2016-08-08 16:12:53 -07:00
linker_globals.h Check alignment along with range of mapped file fragments 2016-08-10 10:52:55 -07:00
linker_libc_support.c
linker_libcxx_support.cpp Remove dependency on libc.a from the linker 2017-01-26 17:08:01 -08:00
linker_logger.cpp Add a way to track all dlsym calls (contd.) 2016-12-14 14:30:37 -08:00
linker_logger.h Add a way to track all dlsym calls 2016-12-12 16:36:12 -08:00
linker_main.cpp Replace public library list with shared lib sonames (part 1/2) 2017-02-09 23:26:44 -08:00
linker_main.h Replace public library list with shared lib sonames (part 1/2) 2017-02-09 23:26:44 -08:00
linker_mapped_file_fragment.cpp
linker_mapped_file_fragment.h
linker_memory.cpp
linker_mips.cpp linker: fix mips build 2016-08-09 06:58:55 -07:00
linker_namespaces.cpp Do not use std::vector in android_namespace_t::is_accessible 2017-02-13 11:25:49 -08:00
linker_namespaces.h Replace public library list with shared lib sonames (part 2/2) 2017-02-09 23:26:44 -08:00
linker_phdr.cpp Runtime support for CFI 2017-01-18 13:13:52 -08:00
linker_phdr.h Check alignment along with range of mapped file fragments 2016-08-10 10:52:55 -07:00
linker_reloc_iterators.h Fix long lines and replace macros with functions. 2015-03-31 11:49:25 -07:00
linker_relocs.h
linker_sdk_versions.cpp
linker_sleb128.h linker: Add unit-test for sleb128_decoder 2016-04-05 16:42:17 -07:00
linker_soinfo.cpp Replace public library list with shared lib sonames (part 2/2) 2017-02-09 23:26:44 -08:00
linker_soinfo.h Replace public library list with shared lib sonames (part 2/2) 2017-02-09 23:26:44 -08:00
linker_utils.cpp Silently ignore empty path elements 2016-09-07 14:48:27 -07:00
linker_utils.h Extract soinfo and globals to separate files. 2016-08-08 16:12:53 -07:00
rt.cpp