1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 20:17:45 +00:00

Create an uufuzz crate for common functions and use it (#7954)

* uufuzz: create a crate with the common functions

* uufuzz: move the fuzz-common functions

* uufuzz: polish the crate

* adjust the fuzzer to use uufuzz
This commit is contained in:
Sylvestre Ledru 2025-05-21 09:26:59 +02:00 committed by GitHub
parent a9e259369b
commit eff2cd997e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 62 additions and 57 deletions

17
fuzz/uufuzz/Cargo.toml Normal file
View file

@ -0,0 +1,17 @@
[package]
name = "uufuzz"
authors = ["uutils developers"]
description = "uutils ~ 'core' uutils fuzzing library"
repository = "https://github.com/uutils/coreutils/tree/main/fuzz/uufuzz"
version = "0.0.30"
edition.workspace = true
license.workspace = true
[dependencies]
console = "0.15.0"
libc = "0.2.153"
rand = { version = "0.9.0", features = ["small_rng"] }
similar = "2.5.0"
uucore = { path = "../../src/uucore/", features = ["parser"] }
tempfile = "3.15.0"