Skip to content

Several issues/questions #3

@DavidKorczynski

Description

@DavidKorczynski

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:

  1. 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.

  2. What is expected behaviour of providing command line arguments to atheris, in particular providing corpus and seed files?

  3. 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++?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions