Skip to content

Commit 2c77c70

Browse files
committed
Additional sanitizers for libinput_tests
This will enable additional sanitizers and the debugging info for libinput_tests executions. Bug: 271455682 Change-Id: I4237aea53173f8383a7e9095721c7c81a686cdcf Test: TEST=libinput_tests; m $TEST && $ANDROID_HOST_OUT/nativetest64/$TEST/$TEST Flag: TEST_ONLY
1 parent 3c3d749 commit 2c77c70

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

libs/input/tests/Android.bp

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,19 @@ cc_test {
5858
"-Wno-unused-parameter",
5959
],
6060
sanitize: {
61+
address: true,
6162
hwaddress: true,
6263
undefined: true,
6364
all_undefined: true,
6465
diag: {
66+
cfi: true,
67+
integer_overflow: true,
68+
memtag_heap: true,
6569
undefined: true,
70+
misc_undefined: [
71+
"bounds",
72+
"all",
73+
],
6674
},
6775
},
6876
shared_libs: [
@@ -92,11 +100,6 @@ cc_test {
92100
"libstatssocket_lazy",
93101
],
94102
},
95-
host: {
96-
sanitize: {
97-
address: true,
98-
},
99-
},
100103
},
101104
native_coverage: false,
102105
}

0 commit comments

Comments
 (0)