diff options
author | Ivan Lozano <ivanlozano@google.com> | 2018-12-11 09:14:39 -0800 |
---|---|---|
committer | Ivan Lozano <ivanlozano@google.com> | 2018-12-11 09:18:14 -0800 |
commit | 26a9da724f4f6f14f3a863a56434b9e6ac360afa (patch) | |
tree | fd9339eb1f86ef5d2eac817b7ce7503a158af3c3 /Android.bp | |
parent | 0695cff3ddcccae44d347a3ed25ef52f86b884a0 (diff) | |
download | fdk-aac-26a9da724f4f6f14f3a863a56434b9e6ac360afa.tar.gz fdk-aac-26a9da724f4f6f14f3a863a56434b9e6ac360afa.tar.bz2 fdk-aac-26a9da724f4f6f14f3a863a56434b9e6ac360afa.zip |
Enable bounds sanitization in libaac.
Enables the UBSan bounds sanitizer in libaac. This adds bounds checks
around array accesses when the array size is known at compile time.
Bug: 117221610
Test: make -j
Test: Device boots.
Change-Id: Ib820c7ec6ef6bcbf98d8526ed213c90ab29169c2
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -25,7 +25,11 @@ cc_library_static { "-Wno-implicit-fallthrough", ], sanitize: { - misc_undefined:["unsigned-integer-overflow", "signed-integer-overflow"], + misc_undefined:[ + "unsigned-integer-overflow", + "signed-integer-overflow", + "bounds", + ], cfi: true, }, export_include_dirs: [ |