diff options
author | julihoh <julihoh@users.noreply.github.com> | 2021-03-05 19:40:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-05 19:40:59 +0100 |
commit | 2dd5a020615842e51dcf8cfaa7b01ad6bef4cda8 (patch) | |
tree | bb8435fc7dc684f0c894cd31b17368a18411fa15 /custom_mutators/rust/example | |
parent | 9844e1a856d38780a8bff6e15411956e3f183d57 (diff) | |
download | afl++-2dd5a020615842e51dcf8cfaa7b01ad6bef4cda8.tar.gz |
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
Diffstat (limited to 'custom_mutators/rust/example')
-rw-r--r-- | custom_mutators/rust/example/src/example_mutator.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/custom_mutators/rust/example/src/example_mutator.rs b/custom_mutators/rust/example/src/example_mutator.rs index 9b9d4997..c4711dd1 100644 --- a/custom_mutators/rust/example/src/example_mutator.rs +++ b/custom_mutators/rust/example/src/example_mutator.rs @@ -1,3 +1,4 @@ +#![cfg(unix)] #![allow(unused_variables)] use custom_mutator::{export_mutator, CustomMutator}; |