summaryrefslogtreecommitdiffstats
path: root/fuzzer.c
Commit message (Collapse)AuthorAgeFilesLines
* Removed dependency to "lz4_encoder.h" and "lz4hc_encoder.h"yann.collet.73@gmail.com2013-08-121-12/+29
| | | | | | | | | | | | | Improved speed of LZ4_decompress_fast() with GCC Improved speed of LZ4_decompress_safe() for 32-bits Made the fast LZ4 compression compatible with low-memory systems (buffer address < 64K). Thanks Francois Gretief for report and suggestion. Makefile : added fuzzer32 Makefile : added fullbench32 fullbench : added ability to select one specific function to benchmark lz4.c : copy macros follow memcpy() arguments convention Small coding style modifications, hinted by cppCheck. git-svn-id: https://lz4.googlecode.com/svn/trunk@101 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* lz4c : made display and arguments more compatible with gzip, for easier ↵yann.collet.73@gmail.com2013-07-271-1/+1
| | | | | | | | | | | | | | | integration with tar (patch by Yaakov Selkowitz) Correction : large files support on 32-bits unix (reported by Karthik Rajeswaran) lz4c : reduce the amount of displayed information in default mode; introduce a verbose mode lz4c : changed help message Updated xxHash to r31 Made bench.c compatible with tcc Corrected : a few minor warnings found by CppCheck, as suggested by Brian White lz4.c : Pushed BIG_ENDIAN_NATIVE_BUT_INCOMPATIBLE farther in the code, since it is reported as providing little benefit Corrected : minor 64K input condition, detected by Mat Hostetter git-svn-id: https://lz4.googlecode.com/svn/trunk@99 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* lz4.c no longer depends on lz4_decoder.h (removed)yann.collet.73@gmail.com2013-06-101-47/+62
| | | | | | | | | | | Decompression speed improved under GCC Improved speed of LZ4_decompress_safe_partial() Added new utility : fullbench Modified x64 detection macro, as suggested by David Karner Improved Fuzzer tool Updated xxHash to r30 git-svn-id: https://lz4.googlecode.com/svn/trunk@97 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* New experimental mode : compress blocks using data from previous blocks ↵yann.collet.73@gmail.com2013-05-271-1/+1
| | | | | | | | | | | (option -BD) (limitation : -hc mode only) Changed deprecated function names to "static", in order to avoid duplicate definition. Thanks Maciej Adamczyk for reporting. Changed a few command line options Prettify help text git-svn-id: https://lz4.googlecode.com/svn/trunk@96 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* - New naming : LZ4_decompress_safe() and LZ4_decompress_fast()yann.collet.73@gmail.com2013-04-261-9/+9
| | | | | | | | | | - New function : LZ4_decompress_safe_partial(), to decompress just enough data within a compressed block, saving CPU cycles - New source files : lz4_decoder.h, lz4_encoder.h, lz4hc_encoder.h - Improved speed of LZ4_decompress_fast() - Improved speed for compression of small blocks < 64KB - Improved speed for HC compression git-svn-id: https://lz4.googlecode.com/svn/trunk@94 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Added : function LZ4_compressHC_limitedOutput()yann.collet.73@gmail.com2013-04-181-4/+20
| | | | | | | | Updated : LZ4 Streaming Format.odt, to version 1.4 New : LZ4c now supports Stream Checksum (default) and Skippable chunks Updated : Fuzzer, testing LZ4_compressHC_limitedOutput() git-svn-id: https://lz4.googlecode.com/svn/trunk@93 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Added : LZ4 Streaming Format specification (v1.3)yann.collet.73@gmail.com2013-04-131-2/+2
| | | | | | | | | | Added : LZ4c command-line utility, supporting the new streaming format Added : xxhash library Removed : lz4demo is now replaced by lz4.c Removed : a few level 4 warnings (issue 64) Updated : makefiles git-svn-id: https://lz4.googlecode.com/svn/trunk@92 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Updated : cmake/CMakeLists.txt, by Nobuhiro Iwamatsuyann.collet.73@gmail.com2013-03-301-57/+58
| | | | | | | | | Updated : cmake/pack/CMakeLists.txt, by Dmitry Cherepanov lz4demo : CLI accept aggregated commands lz4demo : detect overwrite output lz4demo : new commands options (-hc, -y) git-svn-id: https://lz4.googlecode.com/svn/trunk@91 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* - New cmake file, by Nobuhiro Iwamatsu, which can also produce shared and ↵yann.collet.73@gmail.com2013-03-021-3/+4
| | | | | | | | | | static libraries. - Improved decoding speed, even more for 64-bits, and "safe" version - Slight speed increase for LZ4-HC - Pushed a useless parameter down the list in lz4.c git-svn-id: https://lz4.googlecode.com/svn/trunk@90 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Improved endianess detectionyann.collet.73@gmail.com2012-12-211-1/+26
| | | | git-svn-id: https://lz4.googlecode.com/svn/trunk@86 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* LZ4 HC : extended detection window. Thanks to Adrien Grand.yann.collet.73@gmail.com2012-11-301-8/+51
| | | | | | | | | Fuzzer : more tests cases lz4demo : detect write errors. Thanks to Dima Tisnek bench.c : compatibility with Solaris 64. Thanks to Thorbjørn Willoch LZ4_compressBound() : now both in inline function and macro format. Thanks to Jacob Gorm Hansen git-svn-id: https://lz4.googlecode.com/svn/trunk@84 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Corrected Issue 34 (restrict)yann.collet.73@gmail.com2012-10-261-18/+11
| | | | | | minor macro renaming (fuzzer.c) git-svn-id: https://lz4.googlecode.com/svn/trunk@80 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* - Corrected issue 31 : LZ4 correctly accepts compressing data when the ↵yann.collet.73@gmail.com2012-10-241-0/+165
output buffer has exactly the required size (it was a bit over-cautious in previous version). - Added : a fuzzer tool Thanks to Andrew Mahone, for contribution on both points git-svn-id: https://lz4.googlecode.com/svn/trunk@79 650e7d94-2a16-8b24-b05c-7c0b3f6821cd