| 1 |
[package] |
| 2 |
name = "uucore-fuzz" |
| 3 |
version = "0.0.0" |
| 4 |
description = "uutils ~ 'core' uutils fuzzers" |
| 5 |
repository = "https://github.com/uutils/coreutils/tree/main/fuzz/" |
| 6 |
edition.workspace = true |
| 7 |
rust-version.workspace = true |
| 8 |
license.workspace = true |
| 9 |
publish = false |
| 10 |
|
| 11 |
[package.metadata] |
| 12 |
cargo-fuzz = true |
| 13 |
|
| 14 |
# Prevent this from interfering with workspaces |
| 15 |
[workspace] |
| 16 |
members = ["."] |
| 17 |
|
| 18 |
[workspace.package] |
| 19 |
edition = "2024" |
| 20 |
rust-version = "1.88.0" |
| 21 |
license = "MIT" |
| 22 |
|
| 23 |
# Enable debug symbols in release builds for readable backtraces |
| 24 |
# when fuzzing discovers crashes. This addresses issue #5343. |
| 25 |
[profile.release] |
| 26 |
debug = true |
| 27 |
|
| 28 |
[dependencies] |
| 29 |
libfuzzer-sys = "0.4.7" |
| 30 |
rand = { version = "0.10.1", features = ["std_rng"] } |
| 31 |
uufuzz = { path = "uufuzz" } |
| 32 |
uucore = { path = "../src/uucore", features = ["parser"] } |
| 33 |
uu_date = { path = "../src/uu/date" } |
| 34 |
uu_test = { path = "../src/uu/test" } |
| 35 |
uu_expr = { path = "../src/uu/expr" } |
| 36 |
uu_printf = { path = "../src/uu/printf" } |
| 37 |
uu_echo = { path = "../src/uu/echo" } |
| 38 |
uu_seq = { path = "../src/uu/seq" } |
| 39 |
uu_sort = { path = "../src/uu/sort" } |
| 40 |
uu_wc = { path = "../src/uu/wc" } |
| 41 |
uu_cut = { path = "../src/uu/cut" } |
| 42 |
uu_split = { path = "../src/uu/split" } |
| 43 |
uu_tr = { path = "../src/uu/tr" } |
| 44 |
uu_env = { path = "../src/uu/env" } |
| 45 |
uu_cksum = { path = "../src/uu/cksum" } |
| 46 |
uu_dirname = { path = "../src/uu/dirname" } |
| 47 |
|
| 48 |
[[bin]] |
| 49 |
name = "fuzz_date" |
| 50 |
path = "fuzz_targets/fuzz_date.rs" |
| 51 |
test = false |
| 52 |
doc = false |
| 53 |
|
| 54 |
[[bin]] |
| 55 |
name = "fuzz_printf" |
| 56 |
path = "fuzz_targets/fuzz_printf.rs" |
| 57 |
test = false |
| 58 |
doc = false |
| 59 |
|
| 60 |
[[bin]] |
| 61 |
name = "fuzz_echo" |
| 62 |
path = "fuzz_targets/fuzz_echo.rs" |
| 63 |
test = false |
| 64 |
doc = false |
| 65 |
|
| 66 |
[[bin]] |
| 67 |
name = "fuzz_seq" |
| 68 |
path = "fuzz_targets/fuzz_seq.rs" |
| 69 |
test = false |
| 70 |
doc = false |
| 71 |
|
| 72 |
[[bin]] |
| 73 |
name = "fuzz_sort" |
| 74 |
path = "fuzz_targets/fuzz_sort.rs" |
| 75 |
test = false |
| 76 |
doc = false |
| 77 |
|
| 78 |
[[bin]] |
| 79 |
name = "fuzz_split" |
| 80 |
path = "fuzz_targets/fuzz_split.rs" |
| 81 |
test = false |
| 82 |
doc = false |
| 83 |
|
| 84 |
[[bin]] |
| 85 |
name = "fuzz_cut" |
| 86 |
path = "fuzz_targets/fuzz_cut.rs" |
| 87 |
test = false |
| 88 |
doc = false |
| 89 |
|
| 90 |
[[bin]] |
| 91 |
name = "fuzz_wc" |
| 92 |
path = "fuzz_targets/fuzz_wc.rs" |
| 93 |
test = false |
| 94 |
doc = false |
| 95 |
|
| 96 |
[[bin]] |
| 97 |
name = "fuzz_expr" |
| 98 |
path = "fuzz_targets/fuzz_expr.rs" |
| 99 |
test = false |
| 100 |
doc = false |
| 101 |
|
| 102 |
[[bin]] |
| 103 |
name = "fuzz_test" |
| 104 |
path = "fuzz_targets/fuzz_test.rs" |
| 105 |
test = false |
| 106 |
doc = false |
| 107 |
|
| 108 |
[[bin]] |
| 109 |
name = "fuzz_seq_parse_number" |
| 110 |
path = "fuzz_targets/fuzz_seq_parse_number.rs" |
| 111 |
test = false |
| 112 |
doc = false |
| 113 |
|
| 114 |
[[bin]] |
| 115 |
name = "fuzz_parse_glob" |
| 116 |
path = "fuzz_targets/fuzz_parse_glob.rs" |
| 117 |
test = false |
| 118 |
doc = false |
| 119 |
|
| 120 |
[[bin]] |
| 121 |
name = "fuzz_parse_size" |
| 122 |
path = "fuzz_targets/fuzz_parse_size.rs" |
| 123 |
test = false |
| 124 |
doc = false |
| 125 |
|
| 126 |
[[bin]] |
| 127 |
name = "fuzz_parse_time" |
| 128 |
path = "fuzz_targets/fuzz_parse_time.rs" |
| 129 |
test = false |
| 130 |
doc = false |
| 131 |
|
| 132 |
[[bin]] |
| 133 |
name = "fuzz_tr" |
| 134 |
path = "fuzz_targets/fuzz_tr.rs" |
| 135 |
test = false |
| 136 |
doc = false |
| 137 |
|
| 138 |
[[bin]] |
| 139 |
name = "fuzz_env" |
| 140 |
path = "fuzz_targets/fuzz_env.rs" |
| 141 |
test = false |
| 142 |
doc = false |
| 143 |
|
| 144 |
[[bin]] |
| 145 |
name = "fuzz_cksum" |
| 146 |
path = "fuzz_targets/fuzz_cksum.rs" |
| 147 |
test = false |
| 148 |
doc = false |
| 149 |
|
| 150 |
[[bin]] |
| 151 |
name = "fuzz_non_utf8_paths" |
| 152 |
path = "fuzz_targets/fuzz_non_utf8_paths.rs" |
| 153 |
test = false |
| 154 |
doc = false |
| 155 |
|
| 156 |
[[bin]] |
| 157 |
name = "fuzz_dirname" |
| 158 |
path = "fuzz_targets/fuzz_dirname.rs" |
| 159 |
test = false |
| 160 |
doc = false |