aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Oliver Chang <oliverchang@users.noreply.github.com>2020-11-30 18:10:36 +1100
committerGravatar GitHub <noreply@github.com>2020-11-30 18:10:36 +1100
commitcf0e9f0b44764e3d42d296368f1cd8175be24198 (patch)
treec0bbc43232c285add2c4bd93d8bbb8c5a456b4e1
parent84616ae4ce90ffe795edee48edfb6274deb23cfd (diff)
Increase threshold for msan calls check in bad_build_check. (#4747)
-rwxr-xr-xinfra/base-images/base-runner/bad_build_check4
1 files changed, 3 insertions, 1 deletions
diff --git a/infra/base-images/base-runner/bad_build_check b/infra/base-images/base-runner/bad_build_check
index 003401b2..a57a4825 100755
--- a/infra/base-images/base-runner/bad_build_check
+++ b/infra/base-images/base-runner/bad_build_check
@@ -37,7 +37,9 @@ DFSAN_CALLS_THRESHOLD_FOR_DFSAN_BUILD=100
DFSAN_CALLS_THRESHOLD_FOR_NON_DFSAN_BUILD=0
MSAN_CALLS_THRESHOLD_FOR_MSAN_BUILD=1000
-MSAN_CALLS_THRESHOLD_FOR_NON_MSAN_BUILD=0
+# Some engines (e.g. honggfuzz) may make a very small number of calls to msan
+# for memory poisoning.
+MSAN_CALLS_THRESHOLD_FOR_NON_MSAN_BUILD=2
# Usually, a non UBSan build (e.g. ASan) has 165 calls to UBSan runtime. The
# majority of targets built with UBSan have 200+ UBSan calls, but there are