This repository provides the `honggfuzz` Rust crate, which integrates Google's Honggfuzz fuzzer with Rust. It offers a library with a `fuzz` function and `fuzz!` macro for defining fuzz targets, and two cargo subcommands (`cargo hfuzz` and `cargo honggfuzz`) for building with fuzzing instrumentation and running the fuzzer. The crate handles persistent fuzzing, conditional compilation via `cfg(fuzzing)`, and supports both raw byte slices and structured inputs via the `arbitrary` crate. The build script compiles the Honggfuzz C library from a submodule and links it statically. The codebase is well-structured, with clear separation between the library, CLI tools, and build infrastructure, and demonstrates thoughtful engineering for a security testing tool.
cargo-careful is a Rust CLI cargo subcommand that re-runs a user's build/test/run under a specially constructed Rust toolchain. The binary in src/main.rs expects to be invoked as `cargo careful <subcommand>`, supports run, test, build, rustc, nextest, and setup, and locates the active rustc version and host target. It finds the rust-src rustup component (offering to install it interactively unless running in CI), builds a per-target/per-sanitizer sysroot in a user cache directory via the rustc_build_sysroot library, then invokes cargo with that custom sysroot and encoded RUSTFLAGS so both the sysroot and the user's crate get extra runtime checking.