mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-20 23:51:29 -07:00
Add a fuzzing harness for Puzzles
This just feeds save files into the loading code, but because of how Puzzles is structured that actually exercises most of its parsers.
This commit is contained in:
@ -275,4 +275,9 @@ cliprogram(penrose-vector-test penrose.c COMPILE_DEFINITIONS TEST_VECTORS)
|
||||
cliprogram(sort-test sort.c COMPILE_DEFINITIONS SORT_TEST)
|
||||
cliprogram(tree234-test tree234.c COMPILE_DEFINITIONS TEST)
|
||||
|
||||
write_generated_games_header()
|
||||
cliprogram(fuzzpuzz fuzzpuzz.c list.c ${puzzle_sources}
|
||||
COMPILE_DEFINITIONS COMBINED)
|
||||
target_include_directories(fuzzpuzz PRIVATE ${generated_include_dir})
|
||||
|
||||
build_extras()
|
||||
|
Reference in New Issue
Block a user