Commit 5f85626b authored by Elena Petrova's avatar Elena Petrova Committed by Alistair Delva
Browse files

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: default avatarElena Petrova <lenaptr@google.com>
Change-Id: Ie02ac1b210eeea05ad9bb0bae4b60660648ae776
parent e1c4b96f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment