restore the sanitize=on build feature for fuzzers
This commit is contained in:
parent
fda095e0b8
commit
1c15b30656
|
@ -11,10 +11,13 @@ use-project /torrent : .. ;
|
|||
feature fuzz : off external on : composite propagated link-incompatible ;
|
||||
feature.compose <fuzz>on : <cflags>-fsanitize=fuzzer <linkflags>-fsanitize=fuzzer ;
|
||||
|
||||
feature sanitize : off on : composite propagated link-incompatible ;
|
||||
feature.compose <sanitize>on : <address-sanitizer>norecover <undefined-sanitizer>norecover ;
|
||||
|
||||
# this is a build configuration that only does limited validation (i.e. no
|
||||
# invariant-checks, asserts etc.). The purpose is to quickly iterate
|
||||
# sanitizers, invariant-checks, asserts etc.). The purpose is to quickly iterate
|
||||
# on inputs to build code coverage
|
||||
variant build_coverage : release : <debug-symbols>on <asserts>off <invariant-checks>off ;
|
||||
variant build_coverage : release : <sanitize>off <debug-symbols>on <asserts>off <invariant-checks>off ;
|
||||
|
||||
project fuzzers
|
||||
: requirements
|
||||
|
@ -28,8 +31,7 @@ project fuzzers
|
|||
<library>/torrent//torrent/
|
||||
: default-build
|
||||
<fuzz>on
|
||||
<address-sanitizer>norecover
|
||||
<undefined-sanitizer>norecover
|
||||
<sanitize>on
|
||||
<link>static
|
||||
<variant>release
|
||||
<debug-symbols>on
|
||||
|
|
Loading…
Reference in New Issue