aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:10:00 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:10:00 +0000
commit6cf703eb7540f0bbaad82a6abc58fed39f382143 (patch)
tree2ce1b9a1a53252d4f33fd434015eb207059fdadb
parent4b0a8596f76b9de10df3a3ee6c00734fadc5d96d (diff)
parent833045ec42dd950a3aeb7451fc3f44f95756ca1e (diff)
downloadbcc-android14-mainline-uwb-release.tar.gz
Change-Id: If3ab4f7eaedaabeaaaba2bb370b825b2ea95e97e
-rw-r--r--Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 620d6c6e..9f9b2efc 100644
--- a/Android.bp
+++ b/Android.bp
@@ -68,6 +68,8 @@ cc_defaults {
"android-*",
"cert-*",
"clang-analyzer-security*",
+ // Many calls to snprintf/sscanf/memset/memcpy in libbpf.c have the following warning.
+ "-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling",
// Disabling due to many unavoidable warnings from POSIX API usage.
"-google-runtime-int",
],