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

Commit 802959c5 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Add diag for host-based input code

This will provide more informative errors when the sanitizer detects an issue.

Bug: 271455682
Change-Id: I38f96477ae0019aadfa5e363ce828879dba19ef3
Test: m checkinput
parent 4994e61d
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -56,6 +56,16 @@ cc_defaults {
        host: {
            sanitize: {
                address: true,
                diag: {
                    cfi: true,
                    integer_overflow: true,
                    memtag_heap: true,
                    undefined: true,
                    misc_undefined: [
                        "bounds",
                        "all",
                    ],
                },
            },
            include_dirs: [
                "bionic/libc/kernel/android/uapi/",