[PATCH] D62698: [GWP-ASan] Configuration options .
Mitch Phillips via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 30 13:31:27 PDT 2019
hctim created this revision.
hctim added reviewers: vlad.tsyrklevich, morehouse.
Herald added subscribers: llvm-commits, Sanitizers, mgorny, kubamracek.
Herald added a reviewer: jfb.
Herald added projects: Sanitizers, LLVM.
See D60593 <https://reviews.llvm.org/D60593> for further information.
This patch introduces the configuration options for GWP-ASan. In general, we expect the supporting allocator to populate the options struct, and give that to GWP-ASan during initialisation. For allocators that are okay with pulling in sanitizer_common, we also provide an optional parser that populates the gwp_asan::Options struct with values provided in the GWP_ASAN_OPTIONS environment variable.
This patch contains very little logic, and all of the testable components (i.e. the optional parser's internal logic) is tested as part of the sanitizer_common testbed.
rG LLVM Github Monorepo
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 10595 bytes
Desc: not available
More information about the llvm-commits