julihoh 2dd5a02061
Ergonomic Improvements for Rust Custom Mutators (#772)
* allow returning of str instead of CStr in rust custom mutator

* use OsStr instead of CStr for file paths

* fix cfg and compiler errors

* custom mutator default descriptions

* fix usage of afl_internal feature flag

* fix example mutator cfg

* fix lain mutator

* Revert "fix lain mutator"

This reverts commit adf700180888d86e8331939cea62d0b39fc699a7.

* actually fix lain mutator

* resolve question around utf-8 null bytes

* change from OsStr to Path to be even more ergonomic

* add rust custom mutator ci

* fix github action

* again

* separate compilation check
2021-03-05 19:40:59 +01:00
..
2021-02-27 15:05:13 +01:00
2021-02-27 15:52:36 +01:00
2021-02-27 15:52:36 +01:00

Rust Custom Mutators

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. Build it using cargo build --example example_mutator.

An example using lain for structured fuzzing 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.