File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ if(NOT SILKWORM_CORE_ONLY)
55
55
add_executable (rpcdaemon_fuzzer_test fuzzer_test.cpp )
56
56
target_compile_options (rpcdaemon_fuzzer_test PRIVATE -fsanitize=${FUZZER_TEST_COMPILE_SANITIZE} )
57
57
target_link_libraries (
58
- rpcdaemon_fuzzer_test PRIVATE silkworm_rpcdaemon silkworm_rpcdaemon_test_util
58
+ rpcdaemon_fuzzer_test PRIVATE silkworm_rpcdaemon silkworm_infra_test_util silkworm_rpcdaemon_test_util
59
59
-fsanitize=${FUZZER_TEST_LINK_SANITIZE}
60
60
)
61
61
if (SILKWORM_FUZZER_LIBFUZZER_PATH )
@@ -68,8 +68,8 @@ if(NOT SILKWORM_CORE_ONLY)
68
68
add_executable (rpcdaemon_fuzzer_diagnostics fuzzer_diagnostics.cpp )
69
69
target_compile_options (rpcdaemon_fuzzer_diagnostics PRIVATE -fsanitize=${FUZZER_DIAG_COMPILE_SANITIZE} )
70
70
target_link_libraries (
71
- rpcdaemon_fuzzer_diagnostics PRIVATE silkworm_rpcdaemon silkworm_rpcdaemon_test_util CLI11::CLI11
72
- -fsanitize=${FUZZER_DIAG_LINK_SANITIZE}
71
+ rpcdaemon_fuzzer_diagnostics PRIVATE silkworm_rpcdaemon silkworm_infra_test_util silkworm_rpcdaemon_test_util
72
+ CLI11::CLI11 -fsanitize=${FUZZER_DIAG_LINK_SANITIZE}
73
73
)
74
74
endif ()
75
75
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ void print_stack_trace() {
56
56
}
57
57
58
58
using namespace silkworm ::rpc::json_rpc;
59
- using namespace silkworm ::rpc::test ;
59
+ using namespace silkworm ::rpc::test_util ;
60
60
61
61
int main (int argc, char * argv[]) {
62
62
CLI::App app{" Debug or rerun a single fuzzer test" };
Original file line number Diff line number Diff line change 23
23
#include " address_sanitizer_fix.hpp"
24
24
25
25
using namespace silkworm ::rpc::json_rpc;
26
- using namespace silkworm ::rpc::test ;
26
+ using namespace silkworm ::rpc::test_util ;
27
27
28
28
extern " C" int LLVMFuzzerTestOneInput (const uint8_t * Data, size_t Size) {
29
29
const auto request = std::string (reinterpret_cast <const char *>(Data), Size);
You can’t perform that action at this time.
0 commit comments