-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1d6b22b
commit 97ae673
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,3 +102,5 @@ if(HTTPLIB_IS_USING_OPENSSL) | |
COMMAND_ERROR_IS_FATAL ANY | ||
) | ||
endif() | ||
|
||
add_subdirectory(fuzzing) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
file(GLOB HTTPLIB_CORPUS corpus/*) | ||
add_executable(httplib-test-fuzz | ||
server_fuzzer.cc | ||
standalone_fuzz_target_runner.cpp | ||
) | ||
target_link_libraries(httplib-test-fuzz PRIVATE httplib) | ||
add_test( | ||
NAME httplib-test-fuzz | ||
COMMAND httplib-test-fuzz ${HTTPLIB_CORPUS} | ||
) |