bazelbuild / rules_fuzzing

Bazel Starlark extensions for defining fuzz tests in Bazel projects
Apache License 2.0
81 stars 19 forks source link

Question - Is there any plan to support fuzztest? #230

Closed stonebrakert6 closed 9 months ago

stonebrakert6 commented 11 months ago

Sorry for the newbie question. Is support for fuzztest, planned in the near future?

stefanbucur commented 10 months ago

I would be interested to know what specific features you have in mind here.

FWIW, the FuzzTest framework is already built using Bazel and FuzzTests are written as first-class cc_test rules (see codelab example), with support to auto-generate .bazelrc configs.

stonebrakert6 commented 9 months ago

Thanks @stefanbucur - I wasn't much familiar with fuzztest when I posted this question(just my impatience). I think we can close this? I was exploring options to fuzz test my application back then. I've already integrated my application with fuzztest for fuzzing and I'm pretty happy with it. Thanks a lot for your help.

stefanbucur commented 9 months ago

Awesome, glad to hear this!

dieortin commented 5 months ago

@stefanbucur I'm curious, are there any advantages of this ruleset above FuzzTest for C++?

stefanbucur commented 4 months ago

Not really - please prefer FuzzTest for fuzz target development. It has many features that the legacy libfuzzer / LLVM interface cannot support, and it is much less dependent on external tooling to support development.