Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da87b852 authored by Cindy Zhou's avatar Cindy Zhou
Browse files

Libui Enable Bound Sanitizers

Turned on sanitizer flags for bound checking for libui.

Bug: b/143535333
Test: Ran the following tests
native:
  Region_test
  colorspace_test
  GraphicBuffer_test
  BufferHub_test
  Size_test
  hwui_macro
Cts test cases:
  CtsUiAutomationTestCases
  CtsUiRenderingTestCases
  CtsUiRenderingTestCases27
  CtsUidIsolationTestCases
  CtsUsageStatsTestCases

Change-Id: Ice642ebff329823742211d491c788a123344b69b
parent 39a5c06e
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -31,6 +31,13 @@ cc_library_shared {

    sanitize: {
        integer_overflow: true,
        misc_undefined: ["bounds"],
        diag: {
            misc_undefined: ["bounds"],
            no_recover: [
                "bounds",
            ],
        },
    },

    srcs: [