llvm-project/compiler-rt/lib/gwp_asan
Mitch Phillips 6a42cbf6d2 [GWP-ASan] Add inbuilt options parser.
Adds a modified options parser (shamefully pulled from Scudo, which
shamefully pulled it from sanitizer-common) to GWP-ASan. This allows
customers (Android) to parse options strings in a common way.

Depends on D94117.

AOSP side of these patches is staged at:

 - sepolicy (sysprops should only be settable by the shell, in both root and
 unrooted conditions):
 https://android-review.googlesource.com/c/platform/system/sepolicy/+/1517238

 - zygote updates:
 https://android-review.googlesource.com/c/platform/frameworks/base/+/1515009

 - bionic changes to add `gwp_asan.<process_name>` system property, and
 GWP_ASAN_OPTIONS environment variable:
 https://android-review.googlesource.com/c/platform/bionic/+/1514989

Reviewed By: eugenis

Differential Revision: https://reviews.llvm.org/D92696
2021-01-15 12:57:05 -08:00
..
optional [GWP-ASan] Add inbuilt options parser. 2021-01-15 12:57:05 -08:00
platform_specific [GWP-ASan] IWYU & clang-format 2020-12-10 12:42:01 -08:00
scripts [GWP-ASan] Add public-facing documentation [6]. 2019-08-21 17:53:51 +00:00
tests [GWP-ASan] Add inbuilt options parser. 2021-01-15 12:57:05 -08:00
CMakeLists.txt [GWP-ASan] Add inbuilt options parser. 2021-01-15 12:57:05 -08:00
common.cpp [GWP-ASan] Crash handler API returns sizeof(collected trace) 2020-07-27 10:51:55 -07:00
common.h [GWP-ASan] Crash Handler API. 2020-02-05 15:39:17 -08:00
crash_handler.cpp [GWP-ASan] IWYU & clang-format 2020-12-10 12:42:01 -08:00
crash_handler.h [GWP-ASan] Cleanup (NFC) 2020-10-19 18:13:11 -07:00
definitions.h [GWP-ASan] Cleanup (NFC) 2020-10-19 18:13:11 -07:00
guarded_pool_allocator.cpp [GWP-ASan] IWYU & clang-format 2020-12-10 12:42:01 -08:00
guarded_pool_allocator.h [GWP-ASan] IWYU & clang-format 2020-12-10 12:42:01 -08:00
mutex.h [GWP-ASan] IWYU & clang-format 2020-12-10 12:42:01 -08:00
options.h [GWP-ASan] Crash Handler API. 2020-02-05 15:39:17 -08:00
options.inc [GWP-ASan] Add inbuilt options parser. 2021-01-15 12:57:05 -08:00
stack_trace_compressor.cpp [GWP-ASan] Implement stack frame compression. 2019-08-15 21:09:09 +00:00
stack_trace_compressor.h [GWP-ASan] Implement stack frame compression. 2019-08-15 21:09:09 +00:00
utilities.cpp [GWP-ASan] Abstract the thread local variables access 2020-10-28 15:06:38 -07:00
utilities.h [GWP-ASan] Rework utilities (NFC) 2020-10-20 16:04:21 -07:00