llvm-project/compiler-rt/lib/scudo/standalone
Mitch Phillips a8520f6970 [GWP-ASan] Minor refactor of optional components.
In preparation for the inbuilt options parser, this is a minor refactor
of optional components including:
 - Putting certain optional elements in the right header files,
 according to their function and their dependencies.
 - Cleaning up some old and mostly-dead code.
 - Moving some functions into anonymous namespaces to prevent symbol
 export.

Reviewed By: cryptoad, eugenis

Differential Revision: https://reviews.llvm.org/D94117
2021-01-14 11:14:11 -08:00
..
benchmarks scudo: Use more size classes in the malloc_free_loop benchmarks. 2020-02-03 13:18:25 -08:00
fuzz [scudo] [standalone] [NFC] clang-format code. 2020-12-10 12:25:42 -08:00
include/scudo scudo: Update a comment to match the Linux kernel behavior. NFCI. 2021-01-05 19:51:47 -08:00
tests scudo: Move the management of the UseMemoryTagging bit out of the Primary. NFCI. 2020-12-22 16:52:54 -08:00
tools [scudo] [standalone] [NFC] clang-format code. 2020-12-10 12:25:42 -08:00
CMakeLists.txt [Scudo][CMake] Add -fno-lto to Scudo libraries 2020-07-29 10:24:06 -07:00
allocator_config.h scudo: Move the configuration for the primary allocator to Config. NFCI. 2020-12-22 14:54:40 -08:00
atomic_helpers.h scudo: Make it thread-safe to set some runtime configuration flags. 2020-09-30 09:42:45 -07:00
bytemap.h [scudo][standalone] Shift some data from dynamic to static 2020-02-18 09:38:50 -08:00
checksum.cpp Add vendor identity check for Hygon Dhyana processor in Scudo 2020-05-11 09:17:57 -07:00
checksum.h scudo: Replace a couple of macros with their expansions. 2019-11-27 10:12:27 -08:00
chunk.h scudo: Add an API for disabling memory initialization per-thread. 2020-09-18 12:04:27 -07:00
combined.h [GWP-ASan] Minor refactor of optional components. 2021-01-14 11:14:11 -08:00
common.cpp compiler-rt: Rename .cc file in lib/scudo/standalone to .cpp 2019-08-01 14:36:38 +00:00
common.h scudo: Add an API for disabling memory initialization per-thread. 2020-09-18 12:04:27 -07:00
crc32_hw.cpp [scudo][standalone] Get statistics in a char buffer 2019-10-09 15:09:28 +00:00
flags.cpp scudo: Create a public include directory. NFCI. 2020-03-23 18:23:29 -07:00
flags.h [Scudo] [GWP-ASan] Add GWP-ASan to Scudo Standalone. 2019-12-13 09:09:41 -08:00
flags.inc [scudo] Zero- and pattern-initialization of memory. 2020-04-30 15:00:55 -07:00
flags_parser.cpp scudo: Replace a couple of macros with their expansions. 2019-11-27 10:12:27 -08:00
flags_parser.h [Scudo] [GWP-ASan] Add GWP-ASan to Scudo Standalone. 2019-12-13 09:09:41 -08:00
fuchsia.cpp scudo: Add support for diagnosing memory errors when memory tagging is enabled. 2020-04-17 17:26:30 -07:00
fuchsia.h
internal_defs.h scudo: Remove the THREADLOCAL macro. 2020-09-10 19:16:21 -07:00
linux.cpp scudo: Remove ANDROID_EXPERIMENTAL_MTE macro. 2020-12-21 10:53:24 -08:00
linux.h scudo: Introduce a new mechanism to let Scudo access a platform-specific TLS slot 2020-09-10 19:14:28 -07:00
list.h [scudo][standalone] Lists fix 2019-10-28 15:08:08 -07:00
local_cache.h [scudo][standalone] Release smaller blocks less often 2020-07-16 09:44:25 -07:00
memtag.h scudo: Fix compilation for non-Linux aarch64 2021-01-05 13:21:52 -08:00
mutex.h [scudo][standalone] Work with -Werror=class-memaccess 2020-04-11 07:29:12 -07:00
options.h scudo: Move the management of the UseMemoryTagging bit out of the Primary. NFCI. 2020-12-22 16:52:54 -08:00
platform.h [scudo][standalone] Support __BIONIC__ 2019-12-20 12:59:33 -08:00
primary32.h scudo: Move the management of the UseMemoryTagging bit out of the Primary. NFCI. 2020-12-22 16:52:54 -08:00
primary64.h scudo: Move the management of the UseMemoryTagging bit out of the Primary. NFCI. 2020-12-22 16:52:54 -08:00
quarantine.h [scudo][standalone] Work with -Werror=class-memaccess 2020-04-11 07:29:12 -07:00
release.cpp [scudo][standalone] Release smaller blocks less often 2020-07-16 09:44:25 -07:00
release.h [scudo][standalone] Allow the release of smaller sizes 2020-12-17 10:01:57 -08:00
report.cpp scudo: Replace a couple of macros with their expansions. 2019-11-27 10:12:27 -08:00
report.h
secondary.h scudo: Replace the Cache argument on MapAllocator with a Config argument. NFCI. 2020-12-22 16:52:48 -08:00
size_class_map.h [scudo][standalone] Various improvements wrt RSS 2020-02-26 12:25:43 -08:00
stack_depot.h [scudo][standalone] Code tidying (NFC) 2020-11-02 16:00:31 -08:00
stats.h [scudo][standalone] Work with -Werror=class-memaccess 2020-04-11 07:29:12 -07:00
string_utils.cpp [scudo][standalone] Add missing va_end() in ScopedString::append 2020-12-02 16:10:50 -08:00
string_utils.h [scudo][standalone] Get statistics in a char buffer 2019-10-09 15:09:28 +00:00
tsd.h scudo: Replace ALIGNED macro with standard alignas specifier. 2020-04-09 14:36:03 -07:00
tsd_exclusive.h scudo: Add an API for disabling memory initialization per-thread. 2020-09-18 12:04:27 -07:00
tsd_shared.h [scudo][standalone] Remove the pthread key from the shared TSD 2020-09-22 08:25:27 -07:00
vector.h [scudo][standalone] Enabled SCUDO_DEBUG for tests + fixes 2019-11-15 08:33:57 -08:00
wrappers_c.cpp scudo: Instead of exporting a pointer to the allocator, export the allocator directly. NFCI. 2020-02-10 14:57:54 -08:00
wrappers_c.h scudo: Interleave odd and even tags for adjacent blocks. 2020-07-23 15:09:13 -07:00
wrappers_c.inc scudo: Make it thread-safe to set some runtime configuration flags. 2020-09-30 09:42:45 -07:00
wrappers_c_bionic.cpp scudo: Add support for diagnosing memory errors when memory tagging is enabled. 2020-04-17 17:26:30 -07:00
wrappers_c_checks.h scudo: Replace a couple of macros with their expansions. 2019-11-27 10:12:27 -08:00
wrappers_cpp.cpp scudo: Instead of exporting a pointer to the allocator, export the allocator directly. NFCI. 2020-02-10 14:57:54 -08:00