Add framework for running UndefinedBehaviorSanitizer in CI

Many checks are initially disabled because they do cause failures
when running the test suites.
This commit is contained in:
Jon Siwek 2020-09-16 16:14:15 -07:00
parent eca8540147
commit efcbf979f5
5 changed files with 72 additions and 4 deletions

View file

@ -30,3 +30,4 @@ ZEEK_DEFAULT_CONNECT_RETRY=1
ZEEK_DISABLE_ZEEKYGEN=1
ZEEK_ALLOW_INIT_ERRORS=1
ZEEK_SUPERVISOR_NO_SIGKILL=1
UBSAN_OPTIONS=print_stacktrace=1

View file

@ -22,3 +22,4 @@ ZEEK_PROFILER_FILE=%(testbase)s/.tmp/script-coverage/XXXXXX
ZEEK_DNS_FAKE=1
# For fedora 21 - they disable MD5 for certificate verification and need setting an environment variable to permit it.
OPENSSL_ENABLE_MD5_VERIFY=1
UBSAN_OPTIONS=print_stacktrace=1