Fuzzing code with C, C++, and Python interfaces with a Rust core

Hey, I've created a library with a Rust, C, C++, and Python 3 API (with a Rust core). I am starting to fuzz the library, and I was wondering if there are any recommendations for fuzzing it. Here's what I have so far:

The PR I'm working on: Add support for fuzzing by scott-wilson · Pull Request #172 · scott-wilson/checks · GitHub

  • Rust: Using cargo fuzz, seems easy enough.
  • Python: Library is compiled with pyo3, fuzzing using Hypothesis and Atheris. Is there a way to also make sure the Rust code is instrumented as well that would be compatible with Atheris?
  • C/C++: I assume it would be best to just fuzz with libFuzzer (same with the Rust and Python APIs). Is there a way to also make sure the Rust code is instrumented as well?

Thanks!

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.