mirror of
https://github.com/XAMPPRocky/tokei
synced 2024-08-28 19:59:31 +00:00
![Michael Macnair](/assets/img/avatar_default.png)
* Add fuzzing support See fuzz/README.md for details. Example bug: #725 * improve fuzz docs * fuzzing: make relevant config part of input Most of the config is to do with what files to parse, however one setting - treat_doc_strings_as_comments - does impact parse_from_slice * fuzzing: improve docs + config clarity * fuzz/README.md: install instructions + another todo item
34 lines
584 B
TOML
34 lines
584 B
TOML
|
|
[package]
|
|
name = "tokei-fuzz"
|
|
version = "0.0.1"
|
|
authors = ["Michael Macnair"]
|
|
publish = false
|
|
edition = "2018"
|
|
|
|
[package.metadata]
|
|
cargo-fuzz = true
|
|
|
|
[dependencies]
|
|
libfuzzer-sys = "0.4"
|
|
arbitrary = { version = "1.0.0", features = ["derive"] }
|
|
|
|
[dependencies.tokei]
|
|
path = ".."
|
|
|
|
# Prevent this from interfering with workspaces
|
|
[workspace]
|
|
members = ["."]
|
|
|
|
[[bin]]
|
|
name = "parse_from_slice_total"
|
|
path = "fuzz_targets/parse_from_slice_total.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "parse_from_slice_panic"
|
|
path = "fuzz_targets/parse_from_slice_panic.rs"
|
|
test = false
|
|
doc = false
|