]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fuzzit: get MSan to track origins
authorEvgeny Vereshchagin <evvers@ya.ru>
Thu, 8 Aug 2019 18:30:44 +0000 (18:30 +0000)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Fri, 9 Aug 2019 07:25:39 +0000 (07:25 +0000)
It's just a follow-up to https://github.com/systemd/systemd/pull/13281
that should make it a little bit easier to make sense of
MSan reports.

https://clang.llvm.org/docs/MemorySanitizer.html#origin-tracking

travis-ci/managers/fuzzit.sh

index a3c36fae7f8d36669b865f8e24a129cf55318e0c..db2657b9c339999db7cb6a9532d67be25bc2b397 100755 (executable)
@@ -46,7 +46,7 @@ chmod +x fuzzit
 
 find out/ -maxdepth 1 -name 'fuzz-*' -executable -type f -exec basename '{}' \; | xargs --verbose -n1 -I%FUZZER% ./fuzzit c job ${FUZZIT_ARGS} %FUZZER%-asan-ubsan out/%FUZZER% ${FUZZIT_ADDITIONAL_FILES}
 
-export SANITIZER="memory"
+export SANITIZER="memory -fsanitize-memory-track-origins"
 FUZZIT_ARGS="--type ${FUZZING_TYPE} --branch ${FUZZIT_BRANCH} --revision ${TRAVIS_COMMIT}"
 tools/oss-fuzz.sh