libbacktrace: support zstd decompression (c992dd8)

This commit is contained in:
Bartosz Taudul 2023-01-05 20:27:36 +01:00
parent 096293110b
commit 08d403e324
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3
2 changed files with 2331 additions and 70 deletions

File diff suppressed because it is too large Load Diff

View File

@ -371,6 +371,15 @@ extern int backtrace_uncompress_zdebug (struct backtrace_state *,
unsigned char **uncompressed,
size_t *uncompressed_size);
/* A test-only hook for elf_zstd_decompress. */
extern int backtrace_uncompress_zstd (struct backtrace_state *,
const unsigned char *compressed,
size_t compressed_size,
backtrace_error_callback, void *data,
unsigned char *uncompressed,
size_t uncompressed_size);
/* A test-only hook for elf_uncompress_lzma. */
extern int backtrace_uncompress_lzma (struct backtrace_state *,