Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom mutator for libFuzzer mode #319

Open
turbolent opened this issue May 5, 2021 · 1 comment
Open

Custom mutator for libFuzzer mode #319

turbolent opened this issue May 5, 2021 · 1 comment

Comments

@turbolent
Copy link

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:

func LLVMFuzzerTestOneInput(data uintptr, size uint64) int {
?

@dvyukov
Copy link
Owner

dvyukov commented May 6, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants