Sylvestre Ledru
eff2cd997e
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
2025-05-21 09:26:59 +02:00
Sylvestre Ledru
2103911d1a
Merge pull request #7717 from drinkcat/fuzz-minor-fixes
...
Fuzzing: minor fixes
2025-04-09 21:13:35 -04:00
Nicolas Boichat
75072b5a98
fuzz: Run cargo fmt
2025-04-09 08:55:32 +02:00
Yuri Astrakhan
982805d3cd
chore: manual inline formatting
...
Minor manual cleanup - inlined many format args. This makes the code a bit more readable, and helps spot a few inefficiencies and possible bugs. Note that `&foo` in a `format!` parameter results in a 6% extra performance cost, and does not get inlined by the compiler (yet).
2025-04-08 00:23:21 -04:00
Sylvestre Ledru
b4ac10769d
add some missing unsafe
2025-03-24 21:33:16 +01:00
Daniel Hofstetter
9aec9dc454
fuzz: adapt to API changes of rand
2025-01-30 14:41:36 +01:00
Sylvestre Ledru
39b6059910
rustfmt the expr fuzzer
2024-04-01 01:06:17 +02:00
Sylvestre Ledru
546201bd00
fuzz: add the capability to pipe info into fuzz ( #5668 )
...
* fuzz: add the capability to pipe info into fuzz
* address the comments
* show the piped message if any
2023-12-21 16:18:00 +01:00
Sylvestre Ledru
ce2a5d5b9a
expr fuzz: add missing ops. found thanks to oss fuzz coverage ( #5557 )
...
* expr fuzz: add missing ops. found thanks to oss fuzz coverage
https://storage.googleapis.com/oss-fuzz-coverage/rust-coreutils/reports/20231118/linux/src/rust-coreutils/src/uu/expr/src/syntax_tree.rs.html
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-12-20 15:15:20 +01:00
Sylvestre Ledru
b2e26f2aec
fuzz: Simplify the compare_result function
2023-12-17 17:57:21 +01:00
Sylvestre Ledru
fddf301a52
fuzz: Move a duplicate function into fuzz_common
2023-11-12 10:25:55 +01:00
Sylvestre Ledru
2746c199cf
use a command result structure
2023-11-10 16:01:38 +01:00
Sylvestre Ledru
104e707b07
fuzzing: provide a better error management
2023-11-09 17:40:27 +01:00
Sylvestre Ledru
8ab20c4673
fuzz: adjust the fuzzers with the new arg
2023-11-09 10:54:41 +01:00
Daniel Hofstetter
12765a445e
fuzz: set LC_COLLATE=C for expr
2023-10-18 10:20:28 +02:00
Sylvestre Ledru
a576054d42
fuzz: fix clippy warnings
2023-09-28 21:52:26 +02:00
Sylvestre Ledru
e6f9e358d4
fuzz: create a function run_gnu_cmd to deduplicate the code
2023-09-28 21:48:34 +02:00
Sylvestre Ledru
f0f64bd3b7
fuzz: move the common duplicated code into a function
2023-09-28 08:42:30 +02:00
Sylvestre Ledru
ec7ced2518
Fuzz the expr command
2023-09-24 18:47:15 +02:00