google / google/fuzztest

DFUZZTEST_COMPATIBILITY_MODE=libfuzzer failing on linking

Open
#787 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.1k
Forks
137
Avg merge
3d 6h
Merged PRs (30d)
22

Description

I am using Ubuntu 22.04.2 LTS and the default clang version (14)

I am following exactly the documentation for the cmake for first_fuzz_test.cc file, but it fails in the linking:

../lib/libfuzztest_compatibility_mode.a(compatibility_mode.cc.o): in function `fuzztest::internal::FuzzTestExternalEngineAdaptor::RunInFuzzingMode(int*, char***, fuzztest::internal::Configuration const&)':
compatibility_mode.cc:(.text+0x113d): undefined reference to `LLVMFuzzerRunDriver'
clang: error: linker command failed with exit code 1 (use -v to see invocation

Is this compatibility mode really working with clang 14?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.