Skip to content

fuzz: Make it possible to execute each file in a directory without fuzz engine #21461

@maflcko

Description

@maflcko

This functionality is provided by libFuzzer, which is available on most platforms. However, libFuzzer is also missing on some platforms. E.g. google/sanitizers#1165

Thus, it could make sense to implement this in our code to be able to execute the existing fuzz inputs.

The basic idea is to check if a folder was passed into main (

int main(int argc, char** argv)
) and then iterate over the files and pass them into test_one_input.

Useful skills:

Want to work on this issue?

For guidance on contributing, please read CONTRIBUTING.md before opening your pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions