julihoh a5da9ce42c
custom mutator rust support (#752)
* custom mutator rust support

* clarify how to view documentation for rust mutators

* remove `FuzzResult` hack and clarify lifetimes of CustomMutator::fuzz

* rename TErr associated tyep to Error to be more idiomatic

* fix warnings

* add example for fallible custom mutator

* make Fallible Custom Mutator the default and implement it's handle_err method by default

* rename CustomMutator::handle_err to handle_error

* add example mutator using lain
2021-02-27 15:05:13 +01:00
..
2021-02-27 15:05:13 +01:00
2021-02-27 15:05:13 +01:00
2021-02-27 15:05:13 +01:00

Bindings to create custom mutators in Rust.

These bindings are documented with rustdoc. To view the documentation run cargo doc -p custom_mutator --open.

A minimal example can be found in example.

An example using lain can be found in example_lain. Since lain requires a nightly rust toolchain, you need to set one up before you can play with it.