xz/src/liblzma/check
Jia Tan c60b25569d liblzma: Fix -fsanitize=address failure with crc_clmul functions.
After forcing crc_simd_body() to always be inlined it caused
-fsanitize=address to fail for lzma_crc32_clmul() and
lzma_crc64_clmul(). The __no_sanitize_address__ attribute was added
to lzma_crc32_clmul() and lzma_crc64_clmul(), but not removed from
crc_simd_body(). ASAN and inline functions behavior has changed over
the years for GCC specifically, so while strictly required we will
keep __attribute__((__no_sanitize_address__)) on crc_simd_body() in
case this becomes a requirement in the future.

Older GCC versions refuse to inline a function with ASAN if the
caller and callee do not agree on sanitization flags
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89124#c3). If the
function was forced to be inlined, it will not compile if the callee
function has __no_sanitize_address__ but the caller doesn't.
2023-10-19 01:15:20 +08:00
..
Makefile.inc liblzma: Create crc_clmul.c. 2023-10-18 23:54:36 +08:00
check.c Use a tuklib module for integer handling. 2009-10-04 22:57:12 +03:00
check.h Fix warnings from clang -Wdocumentation. 2023-01-12 03:11:40 +02:00
crc32_fast.c liblzma: Refactor CRC comments. 2023-10-18 23:54:41 +08:00
crc32_small.c liblzma: Use __attribute__((__constructor__)) if available. 2022-11-14 16:00:52 +02:00
crc32_table.c liblzma: Added crc32_clmul to crc32_fast.c. 2023-10-13 20:54:05 +08:00
crc32_table_be.h Regenerate the CRC tables without trailing blanks. 2009-01-26 20:09:17 +02:00
crc32_table_le.h Regenerate the CRC tables without trailing blanks. 2009-01-26 20:09:17 +02:00
crc32_tablegen.c Use a tuklib module for integer handling. 2009-10-04 22:57:12 +03:00
crc32_x86.S liblzma: Use non-executable stack on FreeBSD as on Linux 2022-02-22 01:23:34 +02:00
crc64_fast.c liblzma: Refactor CRC comments. 2023-10-18 23:54:41 +08:00
crc64_small.c liblzma: Use __attribute__((__constructor__)) if available. 2022-11-14 16:00:52 +02:00
crc64_table.c liblzma: Update a comment. 2023-09-26 21:47:13 +03:00
crc64_table_be.h Regenerate the CRC tables without trailing blanks. 2009-01-26 20:09:17 +02:00
crc64_table_le.h Regenerate the CRC tables without trailing blanks. 2009-01-26 20:09:17 +02:00
crc64_tablegen.c Use a tuklib module for integer handling. 2009-10-04 22:57:12 +03:00
crc64_x86.S liblzma: Use non-executable stack on FreeBSD as on Linux 2022-02-22 01:23:34 +02:00
crc_clmul.c liblzma: Fix -fsanitize=address failure with crc_clmul functions. 2023-10-19 01:15:20 +08:00
crc_common.h liblzma: CRC_USE_GENERIC_FOR_SMALL_INPUTS cannot be used with ifunc. 2023-10-18 23:54:41 +08:00
sha256.c Change a few HTTP URLs to HTTPS. 2023-03-18 15:56:07 +02:00