Skip to content

Commit 831e834

Browse files
committed
Added fuzzing dependencies without main to custom mutator example to be able to run this in debug mode
1 parent 7fc726e commit 831e834

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/advanced_examples/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ foreach(TestType IN ITEMS
3131
)
3232

3333
target_link_libraries(${TestType}_test
34+
/usr/lib/clang/${CMAKE_C_COMPILER_VERSION}/lib/linux/libclang_rt.fuzzer_no_main-${CMAKE_SYSTEM_PROCESSOR}.a
3435
explore_me_advanced
3536
GTest::gtest_main
3637
)
@@ -42,7 +43,8 @@ foreach(TestType IN ITEMS
4243
)
4344

4445
target_link_libraries(${TestType}_fuzz_test
46+
/usr/lib/clang/${CMAKE_C_COMPILER_VERSION}/lib/linux/libclang_rt.fuzzer_no_main-${CMAKE_SYSTEM_PROCESSOR}.a
4547
explore_me_advanced
46-
GTest::gtest
48+
GTest::gtest
4749
)
4850
endforeach(TestType )

0 commit comments

Comments
 (0)