| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Declare read_long_length_no_check() static
|
| |
| |
| |
| | |
Fix #1176
|
|\ \
| | |
| | | |
Add environment check for freestanding test : resolves #1186
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Freestanding test is intended to run on only Linux x86_64 platform.
Because it uses Linux x86_64 syscall directly to avoid any dependency to the standard library.
This changeset adds platform checking code to tests/Makefile to avoid unintended
error in non-Linux x86_64 platforms.
This changeset resolves issue #1186
|
|\ \
| | |
| | | |
Remove PATH=$(PATH) prefix from all shell script invocation in tests/Makefile
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When $(PATH) contains ' ' (space, 0x20), this prefix causes error.
Also we don't need reconfiguring PATH for each shell script, we don't need them.
This changeset fixes issue #1195
|
|\ \ \
| |/ /
|/| | |
Change the version of lib[x]gcc for clang-(11|12) -mx32
|
|/ / |
|
|\ \
| | |
| | | |
Add copying lz4file.h to make install
|
| |/ |
|
|\ \
| |/
|/| |
Fixed const-ness of src data pointer in lz4file and install lz4file.h
|
|/ |
|
|\
| |
| | |
Update Meson build to 1.9.4
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Specifically this adds support for the following options:
- LZ4_ALIGN_TEST
- LZ4_STATIC_LINKING_ONLY_DISABLE_MEMORY_ALLOCATION
- LZ4_DISTANCE_MAX
- LZ4_FAST_DEC_LOOP
- LZ4_FORCE_SW_BITCOUNT
- LZ4_FREESTANDING
- LZ4_USER_MEMORY_FUNCTIONS
- compiling ossfuzz targets
- compiling more test targets
- registering some tests
|
|\
| |
| | |
very minor refactor of lz4.c
|
|/
|
|
|
|
| |
almost no change, functionally equivalent
replaced one test by an assert()
(since it should always be true)
|
|\
| |
| | |
LZ4 HC match finder and parsers use direct offset values
|
| |
| |
| |
| |
| |
| |
| | |
because ubsan complains even about intermediate pointer arithmetic results
(in a simple linear formula with 3 factors for example).
use parenthesis to make sure calculations go directly from one valid memory address to another valid memory address value.
|
| |
| |
| |
| |
| | |
this formalized better the coupling between match length and match offset
which were 2 separated variables before.
|
| |
| |
| |
| |
| | |
replaced by direct offset value.
this virtual pointer was only used in rare _dstSize scenario.
|
| |
| |
| |
| | |
replaced by direct offset values.
|
| |
| |
| |
| | |
instead of a virtual pointer
|
|/
|
|
| |
instead of a virtual past pointer.
|
|\
| |
| | |
Update snapcraft.yaml to reflect build of v1.9.4
|
| | |
|
|/
|
|
| |
and also on decompress_continue variants.
|
| |
|
|\
| |
| | |
fix rare ub
|
|/
|
|
|
| |
apparently, accessing the short member of a union
still requires enough space for its largest member.
|
|\
| |
| | |
remove usages of `base` pointer
|
| |
| |
| |
| | |
now, even intermediate ptr arithmetic results can be UB ??
|
| |
| |
| |
| |
| |
| |
| | |
by making LZ4_putPosition() specific to byPtr strategy.
byU32 and byU16 use LZ4_putIndexOnHash() instead.
In both cases, it makes it irrelevant to pass` base as reference ptr.
|
|/
|
|
|
| |
within `LZ4_loadDict()` function :
it's possible to only employ Indexes directly.
|
|\
| |
| | |
fix benchmark more using Dictionary
|
| |
| |
| |
| | |
also : errors during benchmark mode return an error code.
|
|/
|
|
|
|
|
| |
benchmark dictionary mode, implemented in #808, is incorrect.
It would desynchronize compression and decompression as soon as 2+ files are dictionary compressed.
Also : slightly improved traces system, to also include __LINE__ number
|
|\
| |
| | |
add a test to catch issue #1164
|
|/
|
|
|
|
|
|
|
|
| |
where `--test -m files*.lz4` would create a bunch of `files*` files.
`--test` should not create any file.
It turns out the bug was already fixed when #1164 was filled,
but it also shows that the CI system was blind to such issues when it happened.
The new test was run with `v1.9.3` and triggered an error, as expected.
|
|
|
|
| |
one fix was forgotten
|
| |
|
|\
| |
| | |
build: Support BUILD_SHARED=no
|
|/
|
|
|
|
| |
Since e585a438c714652e866a59371b287f52aa4d2dc3, the BUILD_SHARED
Makefile variable only takes effect for the install target (i.e. the
shared libraries always built). This restores the original behaviour.
|
|
|
|
|
|
| |
Now it's only about LZ4F_compressFrame(),
and it's only about the Compression Context
(not the hash tables, which used to be integrated).
|
|
|
|
| |
as requested in #1156
|
|\
| |
| | |
simplify getPosition
|
|/
|
|
|
| |
it's only used in byPtr mode.
This removes the need to transfer `base` ptr value.
|
|
|
|
| |
compilers
|
|
|
|
| |
notably regarding ubsan test status (now enabled)
|
|\
| |
| | |
fixed a few remaining ubsan warnings in lz4hc
|
|/
|
|
| |
mostly related to pointer arithmetic involving NULL ptr.
|