platform_bionic/linker
Florian Mayer c10d064b5c Introduce hwasan mode for linker
This mode instructs the linker to search for libraries in hwasan
subdirectories of all library search paths. This is set up to contain a
hwasan-enabled copy of libc, which is needed for HWASan programs to
operate. There are two ways this mode can be enabled:

* for native binaries, by using the linker_hwasan64 symlink as its
  interpreter
* for apps: by setting the LD_HWASAN environment variable in wrap.sh

Bug: 276930343
Change-Id: I0f4117a50091616f26947fbe37a28ee573b97ad0
2023-04-14 01:33:30 -07:00
..
arch ELS TLS documentation: s/module/module_id/. 2023-04-03 14:31:37 +00:00
Android.bp Introduce hwasan mode for linker 2023-04-14 01:33:30 -07:00
dlfcn.cpp Add the recoverable GWP-ASan feature. 2023-02-02 15:35:25 -08:00
ld.config.format.md linker: Cleanup for Android's inclusive language guidance 2020-07-31 11:37:28 +08:00
ld_android.cpp Add the recoverable GWP-ASan feature. 2023-02-02 15:35:25 -08:00
ldd.sh Ignore LD_LIBRARY_PATH when determining file type in ldd. 2021-03-02 16:56:39 +00:00
linked_list.h Keep allocation of tail_ outside of LinkedList 2022-02-01 21:32:30 -08:00
linked_list_test.cpp
linker.arm.map Add the recoverable GWP-ASan feature. 2023-02-02 15:35:25 -08:00
linker.cpp Introduce hwasan mode for linker 2023-04-14 01:33:30 -07:00
linker.generic.map Add the recoverable GWP-ASan feature. 2023-02-02 15:35:25 -08:00
linker.h Add DF_1_ORIGIN to SUPPORTED_DT_FLAGS_1. 2022-03-21 19:02:26 -07:00
linker_block_allocator.cpp Change default block size alignment to be 4 for memory saving on 32-bit arch 2022-02-03 16:55:37 -08:00
linker_block_allocator.h Change default block size alignment to be 4 for memory saving on 32-bit arch 2022-02-03 16:55:37 -08:00
linker_block_allocator_test.cpp Change default block size alignment to be 4 for memory saving on 32-bit arch 2022-02-03 16:55:37 -08:00
linker_cfi.cpp Store soname as a std::string. 2021-01-11 09:57:46 -08: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 Introduce hwasan mode for linker 2023-04-14 01:33:30 -07:00
linker_config.h Introduce hwasan mode for linker 2023-04-14 01:33:30 -07:00
linker_config_test.cpp Introduce hwasan mode for linker 2023-04-14 01:33:30 -07:00
linker_debug.cpp
linker_debug.h Fix bugprone-macro-parentheses warnings 2020-03-04 13:22:05 -08:00
linker_debuggerd.h Add the recoverable GWP-ASan feature. 2023-02-02 15:35:25 -08:00
linker_debuggerd_android.cpp Add the recoverable GWP-ASan feature. 2023-02-02 15:35:25 -08:00
linker_debuggerd_stub.cpp Add the recoverable GWP-ASan feature. 2023-02-02 15:35:25 -08:00
linker_dlwarning.cpp
linker_dlwarning.h
linker_gdb_support.cpp
linker_gdb_support.h
linker_globals.cpp Enable BTI in bionic linker 2020-09-23 17:53:28 -07:00
linker_globals.h Enable BTI in bionic linker 2020-09-23 17:53:28 -07:00
linker_gnu_hash.h
linker_gnu_hash_benchmark.cpp
linker_gnu_hash_test.cpp
linker_libc_support.c
linker_libcxx_support.cpp
linker_logger.cpp Remove debug.ld.greylist_disabled property 2020-07-30 19:29:17 -07:00
linker_logger.h Remove debug.ld.greylist_disabled property 2020-07-30 19:29:17 -07:00
linker_main.cpp Remove unused include 2023-04-05 23:56:51 +00: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 Export memalign to linker 2021-08-17 15:08:49 -07:00
linker_namespaces.cpp linker: Cleanup for Android's inclusive language guidance 2020-07-31 11:37:28 +08:00
linker_namespaces.h linker_namespace: move sonames instead of copying 2022-12-01 16:23:03 +09:00
linker_note_gnu_property.cpp Enable BTI in bionic linker 2020-09-23 17:53:28 -07:00
linker_note_gnu_property.h Enable BTI in bionic linker 2020-09-23 17:53:28 -07:00
linker_note_gnu_property_test.cpp Enable BTI in bionic linker 2020-09-23 17:53:28 -07:00
linker_phdr.cpp linker: Fix memory leak for reserved memory 2022-12-29 15:48:41 +08:00
linker_phdr.h Bionic: Mark PMD aligned text segments huge page eligible 2021-05-06 13:15:11 -07:00
linker_reloc_iterators.h
linker_relocate.cpp riscv64 TLS support. 2022-10-10 20:30:24 +00:00
linker_relocate.h
linker_relocs.h riscv64 TLS support. 2022-10-10 20:30:24 +00:00
linker_sdk_versions.cpp Add some slack at the end of large allocations when target SDK level < S. 2021-03-05 14:29:17 -08:00
linker_sleb128.h
linker_sleb128_test.cpp
linker_soinfo.cpp Inline call_array for clearer stack traces. 2021-01-19 09:47:50 -08:00
linker_soinfo.h Store soname as a std::string. 2021-01-11 09:57:46 -08:00
linker_test_globals.cpp
linker_tls.cpp Add a thread-properties API 2020-08-11 16:51:43 +00:00
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_transparent_hugepage_support.cpp Fix it to call the lambda function 2022-05-19 02:13:39 +00:00
linker_utils.cpp
linker_utils.h
linker_utils_test.cpp
linker_wrapper.cpp Remove host_bionic_inject 2021-06-14 12:25:05 -07:00
MODULE_LICENSE_BSD Fix/update notices. 2021-02-16 15:06:50 -08:00
NOTICE riscv64: build the linker. 2022-10-22 03:57:11 +00:00
rt.cpp