-
Notifications
You must be signed in to change notification settings - Fork 118
Description
I have spent some time trying to fuzz a native library with Atheris, however, I seem to have some issues.
Consider the PR here google/oss-fuzz#4754
Some of the questions I have:
-
When fuzzing an extension where the native code is not hit in the first two iterations of libFuzzer because the python code I target does some initial processing on the data such that the native extension is not hit, then I get a complaint from libFuzzer that there is no coverage and thus it exits. I feel this is somewhat of a limitation and we should allow the fuzzer to run for a while, i.e. naturally explore the python code and reach the native code eventually. Am not sure if I am completely off here, but this has caused issues for me for a while.
-
What is expected behaviour of providing command line arguments to atheris, in particular providing corpus and seed files?
-
Finally, in relation to a compilation on OSS-Fuzz, what is the expected linking approach? Do we need to do the final linking of the native code with clang++?