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 fuzz : off external on : composite propagated link-incompatible ;
|
||||||
feature.compose <fuzz>on : <cflags>-fsanitize=fuzzer <linkflags>-fsanitize=fuzzer ;
|
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
|
# 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
|
# 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
|
project fuzzers
|
||||||
: requirements
|
: requirements
|
||||||
|
@ -28,8 +31,7 @@ project fuzzers
|
||||||
<library>/torrent//torrent/
|
<library>/torrent//torrent/
|
||||||
: default-build
|
: default-build
|
||||||
<fuzz>on
|
<fuzz>on
|
||||||
<address-sanitizer>norecover
|
<sanitize>on
|
||||||
<undefined-sanitizer>norecover
|
|
||||||
<link>static
|
<link>static
|
||||||
<variant>release
|
<variant>release
|
||||||
<debug-symbols>on
|
<debug-symbols>on
|
||||||
|
|
Loading…
Reference in New Issue