12 Commits

Author SHA1 Message Date
jma
0b22665391
Add support for post_process in Rust custom mutator + associated example with lain (#2241) 2024-11-08 17:15:51 +01:00
Dominik Maier
a3b56e7280 rust custom mutator: mark external fns unsafe 2023-01-05 12:25:02 +00:00
Dominik Maier
462e55da0c Updated rust custom mutator bindgen, fixed clippy lints 2023-01-05 12:12:01 +00:00
Andrea Fioraldi
aa5f59b501 libafl_base custom mutator 2022-01-26 21:45:30 +01:00
Andrea Fioraldi
08c39c1552 fix cfg in macro_rules in rust custom mutator 2022-01-26 21:44:07 +01:00
Dominik Maier
3d7a2fc869 fixed rust example 2021-07-21 02:00:15 +02:00
Dominik Maier
a3a86afd0d fix rust mutator bindingsbuild 2021-07-21 01:44:27 +02:00
vanhauser-thc
bbff0c88fa fix rust bindings 2021-07-20 22:31:55 +02:00
vanhauser-thc
5bcbb2f59a port custom mutator changes 2021-07-09 12:42:17 +02:00
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
Dominik Maier
c219502f0f some rust cleanup 2021-02-27 15:52:36 +01:00
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