diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2020-06-22 20:49:58 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2020-06-23 00:22:33 +0200 |
commit | 678fbcdfd6e7b87c24e83af0764afa867e0b1832 (patch) | |
tree | 650eec387961ae486bcace1d9456ed525d242f2b /example/ndpiSimpleIntegration.c | |
parent | d9af1562f00d2b9ac9fe5f4e745a84164656fea1 (diff) |
Allow -fsanitize for LLVM as well as for GCC.
* renamed --with-llvm-sanitizer to --with-sanitizer
* disable all optimisations (-O0) if --with-sanitizer set,
no functions/paramaters/variables will be optimised, improves debugging
* enable undefined behaviour sanitizer (ubsan)
* enable leak sanitizer (lsan)
* check if -fsanitize=fuzzer is available and --enable-fuzztargets set,
fail if not (only supported by clang)
* include level 3 debugging information (-g3), improves macro debugging
* disabled ubsan misaligned pointer access and lshift overflow
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'example/ndpiSimpleIntegration.c')
0 files changed, 0 insertions, 0 deletions