ANDROID: GKI: Enable bounds sanitizer
Bounds sanitizer, a part of UndefinedBehaviorSanitizer (UBSan), inserts
run time bounds checks when accessing structs and arrays of constant
size known at compile time (e.g. in `foo[i]` for `char foo[8]`, `i` will
be checked to be not greater than 8).
The change have been tested to not have measurable performance impact.
Bug: 175004266
Signed-off-by:
Elena Petrova <lenaptr@google.com>
Change-Id: Ie02ac1b210eeea05ad9bb0bae4b60660648ae776
Loading
Please sign in to comment