1 RUN: %cpp_compiler %S/StrncmpOOBTest.cpp -o %t-StrncmpOOBTest
3 RUN: %env_asan_opts=strict_string_checks=1 not %run %t-StrncmpOOBTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=STRNCMP
4 STRNCMP: AddressSanitizer: heap-buffer-overflow
5 STRNCMP-NOT: __sanitizer_weak_hook_strncmp
6 STRNCMP: in LLVMFuzzerTestOneInput