diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2019-07-11 15:32:05 +0200 |
---|---|---|
committer | Evgeny Vereshchagin <evvers@ya.ru> | 2019-07-11 18:37:22 +0200 |
commit | 0772b11cc8d01be6d24e0bc38973f2833775b41f (patch) | |
tree | b0fb8acbb795119c5493b103e91eede12ccaa7d7 /travis-ci | |
parent | Merge pull request #12750 from keszybz/tmpfiles-c-copy (diff) | |
download | systemd-0772b11cc8d01be6d24e0bc38973f2833775b41f.tar.xz systemd-0772b11cc8d01be6d24e0bc38973f2833775b41f.zip |
tests: turn on the "object-size" UBSan check on Fuzzit
Now that 2eb1c19881678851a7e is merged it should be safe.
Diffstat (limited to 'travis-ci')
-rwxr-xr-x | travis-ci/managers/fuzzit.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/travis-ci/managers/fuzzit.sh b/travis-ci/managers/fuzzit.sh index 313e6c6a0f..255d1e2ba6 100755 --- a/travis-ci/managers/fuzzit.sh +++ b/travis-ci/managers/fuzzit.sh @@ -16,11 +16,11 @@ cd $REPO_ROOT export PATH="$HOME/.local/bin/:$PATH" # We use a subset of https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html#available-checks instead of "undefined" -# because our fuzzers crash with "pointer-overflow","object-size" and "float-cast-overflow": +# because our fuzzers crash with "pointer-overflow" and "float-cast-overflow": # https://github.com/systemd/systemd/pull/12771#issuecomment-502139157 # https://github.com/systemd/systemd/pull/12812#issuecomment-502780455 # TODO: figure out what to do about unsigned-integer-overflow: https://github.com/google/oss-fuzz/issues/910 -export SANITIZER="address -fsanitize=alignment,array-bounds,bool,bounds,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,nonnull-attribute,null,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,unsigned-integer-overflow,vla-bound,vptr -fno-sanitize-recover=alignment,array-bounds,bool,bounds,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,nonnull-attribute,null,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr" +export SANITIZER="address -fsanitize=alignment,array-bounds,bool,bounds,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,nonnull-attribute,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,unsigned-integer-overflow,vla-bound,vptr -fno-sanitize-recover=alignment,array-bounds,bool,bounds,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,nonnull-attribute,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr" tools/oss-fuzz.sh FUZZING_TYPE=${1:-sanity} |