langston-barrett / tree-crasher

Easy-to-use grammar-based black-box fuzzer. Has found dozens of bugs in important targets like Clang, Deno, and rustc.
https://langston-barrett.github.io/tree-crasher/
MIT License
67 stars 10 forks source link

Mutating with Ni #18

Open langston-barrett opened 1 year ago

langston-barrett commented 1 year ago

Unfortunately, the C API of Radamsa is not thread-safe. There's a related project called Ni that performs some byte-based and some structure-based mutations, and there's a port to Rust: https://github.com/ctfhacker/ni-rs. It should be pretty easy and profitable to integrate this and use such mutations with some relatively low probability.