go-fuzz
go-fuzz copied to clipboard
Custom mutator for libFuzzer mode
I've read about custom mutators in LLVM's libFuzzer. Would it be possible to add support for it to go-fuzz's libFuzzer mode?
Would that basically involve adding a LLVMFuzzerCustomMutator function just like LLVMFuzzerTestOneInput is implemented, here: https://github.com/dvyukov/go-fuzz/blob/2fedac326dda3656b72e89836bd5721bc34b2966/go-fuzz-build/main.go#L868 ?
Hi @turbolent,
Would it be possible to add support for it to go-fuzz's libFuzzer mode?
Adding new significant features to go-fuzz today makes little sense in the light of the fuzzing support in the standard library (you can find proposal and tracking issue in the Go issue tracker).
But if you want to do it locally, it should be possible.
Would that basically involve adding a LLVMFuzzerCustomMutator function just like LLVMFuzzerTestOneInput is implemented,
I guess so. Have you tried? Does it work?