1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 03:57:44 +00:00

fuzz: improve readability of fuzzer output, add colors

This commit is contained in:
Dorian Peron 2025-02-08 00:38:35 +01:00
parent d86a7fb593
commit 5d952afa3d
4 changed files with 135 additions and 24 deletions

20
fuzz/Cargo.lock generated
View file

@ -292,6 +292,19 @@ version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "120133d4db2ec47efe2e26502ee984747630c67f51974fca0b6c1340cf2368d3"
[[package]]
name = "console"
version = "0.15.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ea3c6ecd8059b57859df5c69830340ed3c41d30e3da0c1cbed90a96ac853041b"
dependencies = [
"encode_unicode",
"libc",
"once_cell",
"unicode-width 0.2.0",
"windows-sys",
]
[[package]]
name = "const-random"
version = "0.1.18"
@ -450,6 +463,12 @@ version = "1.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
[[package]]
name = "encode_unicode"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0"
[[package]]
name = "errno"
version = "0.3.10"
@ -1355,6 +1374,7 @@ dependencies = [
name = "uucore-fuzz"
version = "0.0.0"
dependencies = [
"console",
"libc",
"libfuzzer-sys",
"rand 0.9.0",