SquashFS compressed filesystem reader in pure OCaml
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(lint): use Fmt module instead of Printf/Format (E205/E215/E216)

- Replace Printf.sprintf/printf with Fmt.str/pr in fuzz_squashfs, gen_corpus
- Replace failwith (Fmt.str ...) with Fmt.failwith in squashfs.ml (E215)
- Replace invalid_arg (Fmt.str ...) with Fmt.invalid_arg in squashfs_writer, tc (E216)
- Add fmt to gen_corpus dune deps for squashfs, srp, streaming-aead, tar, tc

+2 -2
+1 -1
fuzz/dune
··· 6 6 (executable 7 7 (name gen_corpus) 8 8 (modules gen_corpus) 9 - (libraries unix)) 9 + (libraries fmt unix)) 10 10 11 11 (rule 12 12 (alias runtest)
+1 -1
fuzz/gen_corpus.ml
··· 14 14 write "seed_003" (String.make 16 '\x00'); 15 15 write "seed_004" (String.make 16 '\xff'); 16 16 write "seed_005" (String.init 256 Char.chr); 17 - Printf.printf "gen_corpus: wrote 6 seed files\n" 17 + Fmt.pr "gen_corpus: wrote 6 seed files\n"