| Crates.io | sginstrument |
| lib.rs | sginstrument |
| version | 0.1.0 |
| created_at | 2025-06-07 19:08:50.624211+00 |
| updated_at | 2025-06-07 19:08:50.624211+00 |
| description | A utility for injecting SGFuzz instrumentation into Rust projects |
| homepage | |
| repository | https://github.com/pcwizz/sginstrument |
| max_upload_size | |
| id | 1704331 |
| size | 28,477 |
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.
cargo add sginstrumentcargo install sginstrumentsginstrument target/src/