1 2/* A test program written to test robustness to decompression of 3 corrupted data. Usage is 4 unzcrash filename 5 and the program will read the specified file, compress it (in memory), 6 and then repeatedly decompress it, each time with a different bit of 7 the compressed data inverted, so as to test all possible one-bit errors. 8 This should not cause any invalid memory accesses. If it does, 9 I want to know about it! 10 11 PS. As you can see from the above description, the process is 12 incredibly slow. A file of size eg 5KB will cause it to run for 13 many hours. 14*/ 15 16/* ------------------------------------------------------------------ 17 This file is part of bzip2/libbzip2, a program and library for 18 lossless, block-sorting data compression. 19
| 1 2/* A test program written to test robustness to decompression of 3 corrupted data. Usage is 4 unzcrash filename 5 and the program will read the specified file, compress it (in memory), 6 and then repeatedly decompress it, each time with a different bit of 7 the compressed data inverted, so as to test all possible one-bit errors. 8 This should not cause any invalid memory accesses. If it does, 9 I want to know about it! 10 11 PS. As you can see from the above description, the process is 12 incredibly slow. A file of size eg 5KB will cause it to run for 13 many hours. 14*/ 15 16/* ------------------------------------------------------------------ 17 This file is part of bzip2/libbzip2, a program and library for 18 lossless, block-sorting data compression. 19
|
22 23 Please read the WARNING, DISCLAIMER and PATENTS sections in the 24 README file. 25 26 This program is released under the terms of the license contained 27 in the file LICENSE. 28 ------------------------------------------------------------------ */ 29
--- 112 unchanged lines hidden --- | 22 23 Please read the WARNING, DISCLAIMER and PATENTS sections in the 24 README file. 25 26 This program is released under the terms of the license contained 27 in the file LICENSE. 28 ------------------------------------------------------------------ */ 29
--- 112 unchanged lines hidden --- |