aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 04:37:49 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 04:37:49 +0000
commit87f21a819c935da1ab175c00fc5d19f4547c6fe4 (patch)
tree2ce1b9a1a53252d4f33fd434015eb207059fdadb
parentd881922ec4d28ae9f9e0ba6ce1a00f8a14929e1b (diff)
parent833045ec42dd950a3aeb7451fc3f44f95756ca1e (diff)
downloadbcc-android14-mainline-art-release.tar.gz
Change-Id: I01e474d12533311fe30908ceae29c688fafe3f3e
-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",
],