mirror of https://github.com/google/oss-fuzz.git
[qt] Add fuzzer for QCborValue (#3460)
* [qt] Add fuzzer for QCborValue The first fuzzer to follow the new naming scheme. * [qt] Don't log the whole build output
This commit is contained in:
parent
f669d3e9f6
commit
8a3c129d33
|
@ -27,7 +27,7 @@ sed -i -e "s/QMAKE_CFLAGS_OPTIMIZE_FULL = -O3/QMAKE_CFLAGS_OPTIMIZE_FULL = -O1/g
|
|||
# build project
|
||||
cd $WORK
|
||||
MAKEFLAGS=-j$(nproc) $SRC/qt/configure -platform linux-clang-libc++ -static -opensource -confirm-license -no-opengl -nomake tests -nomake examples -prefix $PWD/qtbase
|
||||
make -j$(nproc)
|
||||
make -j$(nproc) > /dev/null
|
||||
|
||||
# prepare corpus files
|
||||
zip -j $WORK/html $SRC/qtqa/fuzzing/testcases/html/*
|
||||
|
@ -76,6 +76,7 @@ build_fuzzer() {
|
|||
rm -r build_fuzzer
|
||||
}
|
||||
|
||||
build_fuzzer "new" "qtbase" "corelib/serialization/qcborvalue/fromcbor/fromcbor.pro"
|
||||
build_fuzzer "old" "qtbase" "corelib/serialization/qxmlstream/qxmlstreamreader/readnext/readnext.pro" "xml" "/usr/share/afl/testcases/_extras/xml.dict"
|
||||
# build_fuzzer "new" "qtbase" "gui/text/qtextdocument/sethtml/sethtml.pro" "html" "/usr/share/afl/testcases/_extras/html_tags.dict"
|
||||
build_fuzzer "old" "qtbase" "gui/text/qtextdocument/setmarkdown/setmarkdown.pro" "markdown"
|
||||
|
|
Loading…
Reference in New Issue