1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/lib/compression/tests/scripts
Douglas Bagnall e5f9deed0d lib/compression: add test scripts README
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
2022-12-01 22:56:39 +00:00
..
decode-huffman-header
generate-windows-test-vectors.c lib/compression: Windows utility to generate test vectors 2022-12-01 22:56:39 +00:00
make-fuzz-examples lib/compression: test util to generate fuzzing seeds 2022-12-01 22:56:39 +00:00
make-test-vectors lib/compression: helper script to make unbalanced data 2022-12-01 22:56:39 +00:00
README lib/compression: add test scripts README 2022-12-01 22:56:39 +00:00
three-byte-hash lib/compression: script to test 3 byte hash 2022-12-01 22:56:39 +00:00

Tools used in the development and testing the LZ77 + Huffman code.

These might not be of use to anyone ever, but here they are.

make-fuzz-examples
encodes compressed files for decompression fuzzer.

decode-huffman-header
print Huffman codes and validate first header in a compressed file.

three-byte-hash
check that a three byte hash works.

make-test-vectors
make files with randomly unbalanced symbol distributions.

generate-windows-test-vectors.c
if compiled under Cygwin or similar on Windows, this can be used to
generate and verify test vectors.