Jamfile.v2 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. import testing ;
  6. lib Fuzzer : : <search>. ;
  7. run narrow.cpp [ glob ../../src/*.cpp ] Fuzzer
  8. : # additional args
  9. -dict=dictionary.txt -workers=3 corpus -runs=5000
  10. : # test-files
  11. : # requirements
  12. <toolset>clang <cxxflags>-fsanitize-coverage=trace-pc-guard
  13. <cxxflags>-fsanitize=address <cxxflags>-fsanitize=undefined
  14. <cxxflags>-fno-sanitize-recover=undefined <cxxflags>-fno-optimize-sibling-calls
  15. <cxxflags>-fno-omit-frame-pointer
  16. <include>../../../..
  17. <linkflags>-fsanitize=address <linkflags>-fsanitize=undefined
  18. debug
  19. ;
  20. run wide.cpp [ glob ../../src/*.cpp ] Fuzzer
  21. : # additional args
  22. -dict=dictionary.txt -workers=3 corpus -runs=5000
  23. : # test-files
  24. : # requirements
  25. <toolset>clang <cxxflags>-fsanitize-coverage=trace-pc-guard
  26. <cxxflags>-fsanitize=address <cxxflags>-fsanitize=undefined
  27. <cxxflags>-fno-sanitize-recover=undefined <cxxflags>-fno-optimize-sibling-calls
  28. <cxxflags>-fno-omit-frame-pointer
  29. <include>../../../..
  30. <linkflags>-fsanitize=address <linkflags>-fsanitize=undefined
  31. debug
  32. ;