From: Dmitriy Nikiforov Date: Tue, 10 Oct 2017 13:00:49 +0000 (+0300) Subject: Enable recovery mode for ASan X-Git-Tag: accepted/tizen/unified/20171013.193045^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F75%2F154575%2F2;p=tools%2FlibFuzzer.git Enable recovery mode for ASan Needed to discover more bugs with libFuzzer. Change-Id: I0ef712ca5c7bbbded3184d61cad52aae9221a728 --- diff --git a/packaging/libFuzzer.spec b/packaging/libFuzzer.spec index 9638de7..947aaed 100644 --- a/packaging/libFuzzer.spec +++ b/packaging/libFuzzer.spec @@ -46,7 +46,7 @@ Compiler wrappers for ASan and SanCov instrumentation needed for fuzzing. %post -n fuzz-force-options /usr/bin/gcc-unforce-options -/usr/bin/gcc-force-options -fsanitize-coverage=trace-pc -fsanitize=address -fno-common -fno-omit-frame-pointer -U_FORTIFY_SOURCE -pthread -lm -ldl +/usr/bin/gcc-force-options -fsanitize-coverage=trace-pc -fsanitize=address -fsanitize-recover=address -fno-common -fno-omit-frame-pointer -U_FORTIFY_SOURCE -pthread -lm -ldl %preun -n fuzz-force-options /usr/bin/gcc-unforce-options