SGInstrument
This is a utility enabling the use of the
SGFuzz against Rust
applications. The library simply wraps the C instrumentation function. The
sginstrument executable traverse the target code and inserts instrumentation
where enums are assigned. This is equivalent to State_machine_instrument.py
from SGFuzz.
No attempt is made to maintain the formatting of the code if you
need the output to be readable run cargo fmt after sginstrument.
Getting started
- Build and install SGFuzz
- Navigate to your target project and
cargo add sginstrument cargo install sginstrumentsginstrument target/src/- build your harness against SGFuzz and profit