libafl_base custom mutator

This commit is contained in:
Andrea Fioraldi
2022-01-26 21:45:30 +01:00
parent 08c39c1552
commit aa5f59b501
5 changed files with 273 additions and 2 deletions

View File

@ -370,7 +370,7 @@ macro_rules! _define_afl_custom_init {
) -> *const ::std::os::raw::c_void {
$crate::wrappers::afl_custom_init_::<$mutator_type>(afl, seed as u32)
}
}
};
}
/// An exported macro to defined afl_custom_init meant for insternal usage
@ -385,7 +385,7 @@ macro_rules! _define_afl_custom_init {
) -> *const ::std::os::raw::c_void {
$crate::wrappers::afl_custom_init_::<$mutator_type>(seed as u32)
}
}
};
}
/// exports the given Mutator as a custom mutator as the C interface that AFL++ expects.