1# copyright John Maddock 2003 2# Distributed under the Boost Software License, Version 1.0. 3# (See accompanying file LICENSE_1_0.txt or copy at 4# http://www.boost.org/LICENSE_1_0.txt. 5 6import testing ; 7 8lib Fuzzer : : <search>. ; 9 10run narrow.cpp [ glob ../../src/*.cpp ] Fuzzer 11 : # additional args 12 -dict=dictionary.txt -workers=3 corpus -runs=5000 13 : # test-files 14 : # requirements 15 <toolset>clang <cxxflags>-fsanitize-coverage=trace-pc-guard 16 <cxxflags>-fsanitize=address <cxxflags>-fsanitize=undefined 17 <cxxflags>-fno-sanitize-recover=undefined <cxxflags>-fno-optimize-sibling-calls 18 <cxxflags>-fno-omit-frame-pointer 19 <include>../../../.. 20 <linkflags>-fsanitize=address <linkflags>-fsanitize=undefined 21 debug 22; 23 24run wide.cpp [ glob ../../src/*.cpp ] Fuzzer 25 : # additional args 26 -dict=dictionary.txt -workers=3 corpus -runs=5000 27 : # test-files 28 : # requirements 29 <toolset>clang <cxxflags>-fsanitize-coverage=trace-pc-guard 30 <cxxflags>-fsanitize=address <cxxflags>-fsanitize=undefined 31 <cxxflags>-fno-sanitize-recover=undefined <cxxflags>-fno-optimize-sibling-calls 32 <cxxflags>-fno-omit-frame-pointer 33 <include>../../../.. 34 <linkflags>-fsanitize=address <linkflags>-fsanitize=undefined 35 debug 36; 37 38