summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/sanitizer.prf
Commit message (Collapse)AuthorAgeFilesLines
* configure: Add sanitizer "fuzzer-no-link"Robert Loehning2019-11-141-0/+6
| | | | | | | | | | | Adds instrumentation for fuzzing to the binaries but links to the usual main function instead of a fuzzer's. The similar sanitizer "fuzzer" should then be used only for building the test itself. Requires clang 6 or higher. Change-Id: I24ee1f018b0b97f2977dc86fbdc29a164d7c4e01 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* Android: Fix sanitize_addressBogDan Vatra2019-05-291-1/+24
| | | | | | | | | | | | | | | | | Starting with Android 8.1.0 wrap.sh can be used to enable ASAN on Android. Change-Id: I6ef6e5989475b9b7981d05e78a03f9680c1acb1b Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
* Add support for gcc/clang's sanitize featuresPeter Kümmel2014-10-021-0/+30
GCC and Clang support compiler intrinsic error detections tools: address, memory, thread, undefined Let users conveniently enable it in qmake, for instance with CONFIG += sanitizer sanitize_address Also add a -sanitize [...] option to configure to use it by default for both the Qt libraries, and user applications. [ChangeLog][configure] Added support for GCC/Clang -fsanitize= options Change-Id: Ie5418abcdf41842566df510d7707e41739e66f87 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>