bazel-contrib / rules_fuzzing

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

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

Closed stonebrakert6 closed 1 year ago

stonebrakert6 commented 1 year ago

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

stefanbucur commented 1 year 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 1 year 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 1 year ago

Awesome, glad to hear this!

dieortin commented 9 months ago

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

stefanbucur commented 8 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.