rust-utf8
cargo-fuzz
rust-utf8 | cargo-fuzz | |
---|---|---|
1 | 6 | |
24 | 1,444 | |
- | 1.1% | |
0.0 | 6.5 | |
over 1 year ago | about 1 month ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rust-utf8
-
Efficiently reading utf-8 chars from a large file: How to improve, test and benchmark my implementation ?
My issue with this is that I would like to return the reference to the slice of data read. utf-8::next_strict from the utf-8 crate does this by calling consume if needed before fill_buf, assuming that a following call will call consume afterward (explanations from fill_buff's doc if that's useful). But I don't want to assume this, so it seems the best I can do is to clone into a provided buffer like io::BufRead::read_line.
cargo-fuzz
-
Create Broken Files 2.0.0 - Fuzzing, but from other side
I used libFuzzer via cargo-fuzz - https://github.com/rust-fuzz/cargo-fuzz and input data was not really great
-
Symphonia v0.3: pure-Rust decoders for MP3, WAV, FLAC, AAC
People use cargo-fuzz.
-
Mutable Arguments Considered Harmful | micouy.github.io
cargo fuzz init
-
Efficiently reading utf-8 chars from a large file: How to improve, test and benchmark my implementation ?
Check out https://rust-fuzz.github.io/book/cargo-fuzz.html
-
fast-float - a super-fast float parser in Rust
I've fed it cargo-fuzz and it has discovered at around 200 distinct execution paths within 5 minutes, without any crashes or panics. We'll see what happens after I leave it overnight, but the initial results are very encouraging!
What are some alternatives?
LibAFL - Advanced Fuzzing Library - Slot your Fuzzer together in Rust! Scales across cores and machines. For Windows, Android, MacOS, Linux, no_std, ...
quickcheck - Automated property based testing for Rust (with shrinking).
rodio - Rust audio playback library
rand - A Rust library for random number generation.
json - Strongly typed JSON library for Rust
fast-float-rust - Super-fast float parser in Rust (now part of Rust core)
roxmltree - Represent an XML document as a read-only tree.
rutenspitz - А procedural macro to be used for testing/fuzzing stateful models against a semantically equivalent but obviously correct implementation
mutagen - Breaking your Rust code for fun and profit
Symphonia - Pure Rust multimedia format demuxing, tag reading, and audio decoding library
crates.io - The Rust package registry