android_bionic/linker
Evgenii Stepanov a8cf3fef2a Add randomized padding around shared library mappings.
Improve ASLR by increasing the randomly sized gaps between shared
library mappings, and keep them mapped PROT_NONE.

Bug: 158113540
Test: look at /proc/$$/maps
Change-Id: Ie72c84047fb624fe2ac8b7744b2a2d0d255ea974
2020-06-17 17:28:28 -07:00
..
arch Remove unused mips/mips64 code from the linker. 2020-02-13 15:58:48 -08:00
Android.bp Copy translateSystemPathToApexPath to linker_translate_path.cpp 2020-05-14 22:17:45 +02:00
MODULE_LICENSE_APACHE2 Move libdl and linker to static NOTICE files. 2019-04-19 14:18:07 -07:00
NOTICE Make the linker NOTICE file match the linker source. 2019-12-20 12:29:39 -08:00
dlfcn.cpp __loader_cfi_fail: acquire g_dl_mutex 2020-04-20 18:14:51 -07:00
ld.config.format.md Fix some typos in the linker configuration file format documentation. 2019-08-07 18:45:45 +01:00
ld_android.cpp Delete definitions of __aeabi_unwind_cpp_pr0. 2020-01-10 10:40:43 -08:00
ldd ldd: slightly improve error message. 2019-06-27 13:50:31 -07:00
linked_list.h Optimize GNU hash linking for large inputs 2020-01-13 13:29:25 -08:00
linked_list_test.cpp
linker.arm.map
linker.cpp Add randomized padding around shared library mappings. 2020-06-17 17:28:28 -07:00
linker.generic.map
linker.h Fix DL_WARN_documented_change URL 2020-03-27 18:46:28 -07:00
linker_block_allocator.cpp linker: CHECK() or async_safe_fatal() rather than abort(). 2020-06-10 14:49:28 -07:00
linker_block_allocator.h
linker_block_allocator_test.cpp
linker_cfi.cpp Use PROT_NONE on the unused parts of CFI shadow. 2020-06-12 12:22:32 -07:00
linker_cfi.h
linker_common_types.h Remove unused mips/mips64 code from the linker. 2020-02-13 15:58:48 -08:00
linker_config.cpp Make .whitelisted property "append"-able 2020-06-02 16:05:01 +09:00
linker_config.h Replace LIB_PATH macro with kLibPath 2019-12-04 13:31:56 -08:00
linker_config_test.cpp Make .whitelisted property "append"-able 2020-06-02 16:05:01 +09:00
linker_debug.cpp Create linker_log[_va_list] functions 2020-01-06 16:06:37 -08:00
linker_debug.h Fix bugprone-macro-parentheses warnings 2020-03-04 13:22:05 -08:00
linker_debuggerd.h Refactor linker/Android.bp for native-bridge 2019-11-05 13:37:29 -08:00
linker_debuggerd_android.cpp Introduce a new heap tagging level, M_HEAP_TAGGING_LEVEL_SYNC. 2020-05-05 13:28:16 -07:00
linker_debuggerd_stub.cpp Refactor linker/Android.bp for native-bridge 2019-11-05 13:37:29 -08:00
linker_dlwarning.cpp
linker_dlwarning.h
linker_gdb_support.cpp
linker_gdb_support.h
linker_globals.cpp Fix DL_WARN_documented_change URL 2020-03-27 18:46:28 -07:00
linker_globals.h Add more linker debug log. 2019-09-05 12:00:25 +00:00
linker_gnu_hash.h Neon-optimized version of the GNU symbol calculation 2020-01-13 13:29:25 -08:00
linker_gnu_hash_benchmark.cpp Neon-optimized version of the GNU symbol calculation 2020-01-13 13:29:25 -08:00
linker_gnu_hash_test.cpp Neon-optimized version of the GNU symbol calculation 2020-01-13 13:29:25 -08:00
linker_libc_support.c
linker_libcxx_support.cpp
linker_logger.cpp
linker_logger.h Add more linker debug. 2019-03-19 14:03:18 +00:00
linker_main.cpp remove search_linked_namespaces param 2020-03-27 18:46:28 -07:00
linker_main.h remove search_linked_namespaces param 2020-03-27 18:46:28 -07:00
linker_mapped_file_fragment.cpp
linker_mapped_file_fragment.h
linker_memory.cpp
linker_namespaces.cpp Ignore symbols of imported libs' dependencies 2020-02-03 14:20:40 -08:00
linker_namespaces.h Fix bootstrap linker library searching 2020-03-27 18:46:28 -07:00
linker_phdr.cpp Add randomized padding around shared library mappings. 2020-06-17 17:28:28 -07:00
linker_phdr.h Add randomized padding around shared library mappings. 2020-06-17 17:28:28 -07:00
linker_reloc_iterators.h Optimize GNU hash linking for large inputs 2020-01-13 13:29:25 -08:00
linker_relocate.cpp Remove unused mips/mips64 code from the linker. 2020-02-13 15:58:48 -08:00
linker_relocate.h Optimize GNU hash linking for large inputs 2020-01-13 13:29:25 -08:00
linker_relocs.h Factor out R_GENERIC_COPY 2019-10-18 12:44:01 -07:00
linker_sdk_versions.cpp Reland "fdsan: make fatal by default." 2019-08-20 17:59:14 -07:00
linker_sleb128.h
linker_sleb128_test.cpp
linker_soinfo.cpp Add randomized padding around shared library mappings. 2020-06-17 17:28:28 -07:00
linker_soinfo.h Add randomized padding around shared library mappings. 2020-06-17 17:28:28 -07:00
linker_test_globals.cpp
linker_tls.cpp
linker_tls.h
linker_translate_path.cpp Refactor translateSystemPathToApexPath 2020-05-19 02:32:07 +02:00
linker_translate_path.h Copy translateSystemPathToApexPath to linker_translate_path.cpp 2020-05-14 22:17:45 +02:00
linker_utils.cpp Don't resolve already resolved paths when parsing ld.config.txt 2019-05-17 10:09:13 +09:00
linker_utils.h Don't resolve already resolved paths when parsing ld.config.txt 2019-05-17 10:09:13 +09:00
linker_utils_test.cpp
linker_wrapper.cpp
rt.cpp