llvm-project/compiler-rt/lib/gwp_asan/tests
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
..
platform_specific [GWP-ASan] Minor refactor of optional components. 2021-01-14 11:14:11 -08:00
CMakeLists.txt [GWP-ASan] Add inbuilt options parser. 2021-01-15 12:57:05 -08:00
alignment.cpp [GWP-ASan] Port tests to Fuchsia 2020-11-18 13:36:12 -08:00
backtrace.cpp [GWP-ASan] Crash handler API returns sizeof(collected trace) 2020-07-27 10:51:55 -07:00
basic.cpp [GWP-ASan] Crash Handler API. 2020-02-05 15:39:17 -08:00
compression.cpp [GWP-ASan] Port tests to Fuchsia 2020-11-18 13:36:12 -08:00
crash_handler_api.cpp [GWP-ASan] Port tests to Fuchsia 2020-11-18 13:36:12 -08:00
driver.cpp [GWP-ASan] Port tests to Fuchsia 2020-11-18 13:36:12 -08:00
enable_disable.cpp [GWP-ASan] enable/disable and fork support. 2020-01-24 13:53:26 -08:00
harness.cpp [GWP-ASan] Port tests to Fuchsia 2020-11-18 13:36:12 -08:00
harness.h [GWP-ASan] Minor refactor of optional components. 2021-01-14 11:14:11 -08:00
iterate.cpp [GWP-ASan] Port tests to Fuchsia 2020-11-18 13:36:12 -08:00
late_init.cpp [GWP-ASan] Port tests to Fuchsia 2020-11-18 13:36:12 -08:00
mutex_test.cpp [GWP-ASan] Port tests to Fuchsia 2020-11-18 13:36:12 -08:00
options.cpp [GWP-ASan] Add inbuilt options parser. 2021-01-15 12:57:05 -08:00
slot_reuse.cpp [GWP-ASan] Port tests to Fuchsia 2020-11-18 13:36:12 -08:00
thread_contention.cpp [GWP-ASan] Crash Handler API. 2020-02-05 15:39:17 -08:00