diff options
author | Abhishek Arya <inferno@chromium.org> | 2020-11-30 13:26:33 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-30 13:26:33 -0800 |
commit | b4dd4b91de3296cc414a540f52f3ff310edf6c54 (patch) | |
tree | e1af9f197bea61c2300d84008d74a049ca1139a3 /infra/base-images/base-builder | |
parent | a75169f0d035c4dbffe2f8440ef05da4c42b7b84 (diff) | |
download | oss-fuzz-b4dd4b91de3296cc414a540f52f3ff310edf6c54.tar.gz |
Enable UBSan for python projects. (#4757)
* Enable UBSan for python projects.
* Update docs.
Diffstat (limited to 'infra/base-images/base-builder')
-rwxr-xr-x | infra/base-images/base-builder/compile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/infra/base-images/base-builder/compile b/infra/base-images/base-builder/compile index 8dd0c0387..a97905444 100755 --- a/infra/base-images/base-builder/compile +++ b/infra/base-images/base-builder/compile @@ -27,8 +27,8 @@ if [ "$FUZZING_LANGUAGE" = "python" ]; then echo "ERROR: Python projects can be fuzzed with libFuzzer engine only." exit 1 fi - if [ "$SANITIZER" != "address" ]; then - echo "ERROR: Python projects can be fuzzed with AddressSanitizer only." + if [ "$SANITIZER" != "address" ] && [ "$SANITIZER" != "undefined" ]; then + echo "ERROR: Python projects can be fuzzed with AddressSanitizer and UndefinedBehaviorSanitizer only." exit 1 fi if [ "$ARCHITECTURE" != "x86_64" ]; then |