google / google/fuzzbench

add support for multiple FUZZ_LIB arguments in oss-fuzz builds

Open
#228 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.2k
Forks
302
PR merge metrics
No merged PRs in 30d

Description

FUZZER_LIB currently uses only "/libAFL.a" in fuzzer.py

Some fuzzers, such as KLEE, need to add other (non-static) libraries, see https://github.com/google/fuzzbench/blob/klee/fuzzers/klee/fuzzer.py#L43

However, oss-fuzz projects don't work with multiple arguments:

meson: error: unrecognized argument: -L -lKleeMock

meson is called with "-Dwith-fuzzer-lib=/libAFL.a -L/ -lKleeMock".

Maybe there is a way to have "-Dwith-fuzzer-lib=/libAFL.a -Dwith-fuzzer-lib=-lKleeMock -Dwith-some_option=-L"?

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.