-
Notifications
You must be signed in to change notification settings - Fork 118
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
3beaac8
commit d16f1d8
Showing
4 changed files
with
107 additions
and
187 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
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,20 @@ | ||
cmake_minimum_required(VERSION 3.16) | ||
|
||
option(BDD_FUZZ_WITH_LOGS "Enable logging for the fuzzer" OFF) | ||
|
||
project(bdshemu_fuzzer LANGUAGES C) | ||
|
||
add_executable(shfuzzx86 bdshemu_fuzzer.c) | ||
target_link_libraries(shfuzzx86 PRIVATE bddisasm::bdshemu) | ||
target_compile_definitions(shfuzzx86 PRIVATE FUZZ_X86) | ||
|
||
add_executable(shfuzzx64 bdshemu_fuzzer.c) | ||
target_link_libraries(shfuzzx64 PRIVATE bddisasm::bdshemu) | ||
target_compile_definitions(shfuzzx64 PRIVATE FUZZ_X64) | ||
|
||
if (BDD_FUZZ_WITH_LOGS) | ||
target_compile_definitions(shfuzzx86 PRIVATE ENABLE_LOGGING) | ||
target_compile_definitions(shfuzzx64 PRIVATE ENABLE_LOGGING) | ||
endif (BDD_FUZZ_WITH_LOGS) | ||
|
||
add_custom_target(shfuzz DEPENDS shfuzzx86 shfuzzx64) |
This file was deleted.
Oops, something went wrong.
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