Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fuzz: Add libfuzzer compatible bounds fuzzer #7549

Merged
merged 8 commits into from
May 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion test/correctness/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ tests(GROUPS correctness
fuse.cpp
fuse_gpu_threads.cpp
fused_where_inner_extent_is_zero.cpp
fuzz_bounds.cpp
fuzz_float_stores.cpp
gameoflife.cpp
gather.cpp
Expand Down
5 changes: 3 additions & 2 deletions test/fuzz/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
tests(GROUPS fuzz
SOURCES
simplify.cpp
bounds.cpp
cse.cpp
simplify.cpp
)


Expand All @@ -14,7 +15,7 @@ tests(GROUPS fuzz
set(LIB_FUZZING_ENGINE "$ENV{LIB_FUZZING_ENGINE}"
CACHE STRING "Compiler flags necessary to link the fuzzing engine of choice e.g. libfuzzer, afl etc.")

foreach(fuzzer "fuzz_simplify" "fuzz_cse")
foreach(fuzzer "fuzz_bounds" "fuzz_cse" "fuzz_simplify")
target_link_libraries(${fuzzer} PRIVATE Halide::Halide)

# Allow OSS-fuzz to manage flags directly
Expand Down
Loading