summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-contrib <[email protected]>2026-05-20 11:21:55 +0300
committerrobot-contrib <[email protected]>2026-05-20 12:01:33 +0300
commit2af5053c8445d9ce11acb5e7a4635f4c6bd2fe65 (patch)
treec45cee899f8504071d8dcf898362f5dca5e69b06
parent8f7bda519d0b9b192c04df356ba6650ce8ec5d05 (diff)
Update contrib/libs/backtrace to 2026-05-04
commit_hash:75812c00534578aff5d0f5016471ddb9ea2d1ff7
-rw-r--r--contrib/libs/backtrace/.yandex_meta/devtools.copyrights.report34
-rw-r--r--contrib/libs/backtrace/.yandex_meta/licenses.list.txt6
-rw-r--r--contrib/libs/backtrace/.yandex_meta/override.nix6
-rw-r--r--contrib/libs/backtrace/atomic.c2
-rw-r--r--contrib/libs/backtrace/backtrace-supported.h2
-rw-r--r--contrib/libs/backtrace/backtrace.c2
-rw-r--r--contrib/libs/backtrace/backtrace.h2
-rw-r--r--contrib/libs/backtrace/dwarf.c2
-rw-r--r--contrib/libs/backtrace/elf.c61
-rw-r--r--contrib/libs/backtrace/fileline.c2
-rw-r--r--contrib/libs/backtrace/internal.h2
-rw-r--r--contrib/libs/backtrace/macho.c2
-rw-r--r--contrib/libs/backtrace/mmap.c2
-rw-r--r--contrib/libs/backtrace/mmapio.c2
-rw-r--r--contrib/libs/backtrace/posix.c2
-rw-r--r--contrib/libs/backtrace/print.c2
-rw-r--r--contrib/libs/backtrace/simple.c2
-rw-r--r--contrib/libs/backtrace/sort.c2
-rw-r--r--contrib/libs/backtrace/state.c2
-rw-r--r--contrib/libs/backtrace/ya.make4
20 files changed, 90 insertions, 51 deletions
diff --git a/contrib/libs/backtrace/.yandex_meta/devtools.copyrights.report b/contrib/libs/backtrace/.yandex_meta/devtools.copyrights.report
index 01f58790f4d..21b2b4f913c 100644
--- a/contrib/libs/backtrace/.yandex_meta/devtools.copyrights.report
+++ b/contrib/libs/backtrace/.yandex_meta/devtools.copyrights.report
@@ -29,18 +29,6 @@
# FILE_INCLUDE - include all file data into licenses text file
# =======================
-KEEP COPYRIGHT_SERVICE_LABEL 4f69198d68548caef8c50fb4646f2739
-BELONGS ya.make
- License text:
- Copyright (C) 2013-2024 Free Software Foundation, Inc.
- Written by Ian Lance Taylor, Google.
- Scancode info:
- Original SPDX id: COPYRIGHT_SERVICE_LABEL
- Score : 100.00
- Match type : COPYRIGHT
- Files with this license:
- atomic.c [2:3]
-
KEEP COPYRIGHT_SERVICE_LABEL 89987ec1024c9f4d65e939d586271b9f
BELONGS ya.make
License text:
@@ -52,10 +40,10 @@ BELONGS ya.make
Files with this license:
LICENSE [1:1]
-KEEP COPYRIGHT_SERVICE_LABEL 9d441f897facb23890579094470bd947
+KEEP COPYRIGHT_SERVICE_LABEL 90f7cd8fe73b03472491ea6f83d8a1cc
BELONGS ya.make
License text:
- Copyright (C) 2012-2024 Free Software Foundation, Inc.
+ Copyright (C) 2012-2026 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
Scancode info:
Original SPDX id: COPYRIGHT_SERVICE_LABEL
@@ -77,17 +65,17 @@ BELONGS ya.make
sort.c [2:3]
state.c [2:3]
-KEEP COPYRIGHT_SERVICE_LABEL cc5dd31c1484abddecff8fc275f5c9cc
+KEEP COPYRIGHT_SERVICE_LABEL d8107155acc25c1eab0150c3d896cffb
BELONGS ya.make
License text:
- Copyright (C) 2020-2024 Free Software Foundation, Inc.
+ Copyright (C) 2013-2026 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
Scancode info:
Original SPDX id: COPYRIGHT_SERVICE_LABEL
Score : 100.00
Match type : COPYRIGHT
Files with this license:
- macho.c [2:3]
+ atomic.c [2:3]
KEEP COPYRIGHT_SERVICE_LABEL ed42dfc770f5954f5d7da31d293c2a5e
BELONGS ya.make
@@ -100,3 +88,15 @@ BELONGS ya.make
Match type : COPYRIGHT
Files with this license:
filenames.h [2:3]
+
+KEEP COPYRIGHT_SERVICE_LABEL f793e18405af8008bab7fd80acdea05f
+BELONGS ya.make
+ License text:
+ Copyright (C) 2020-2026 Free Software Foundation, Inc.
+ Written by Ian Lance Taylor, Google.
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ macho.c [2:3]
diff --git a/contrib/libs/backtrace/.yandex_meta/licenses.list.txt b/contrib/libs/backtrace/.yandex_meta/licenses.list.txt
index 334d18242f3..229391a5715 100644
--- a/contrib/libs/backtrace/.yandex_meta/licenses.list.txt
+++ b/contrib/libs/backtrace/.yandex_meta/licenses.list.txt
@@ -67,17 +67,17 @@ The libbacktrace library is provided under a BSD license.
====================COPYRIGHT====================
- Copyright (C) 2012-2024 Free Software Foundation, Inc.
+ Copyright (C) 2012-2026 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
====================COPYRIGHT====================
- Copyright (C) 2013-2024 Free Software Foundation, Inc.
+ Copyright (C) 2013-2026 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
====================COPYRIGHT====================
- Copyright (C) 2020-2024 Free Software Foundation, Inc.
+ Copyright (C) 2020-2026 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
diff --git a/contrib/libs/backtrace/.yandex_meta/override.nix b/contrib/libs/backtrace/.yandex_meta/override.nix
index f96f9dd4cbb..d0a6a4c1819 100644
--- a/contrib/libs/backtrace/.yandex_meta/override.nix
+++ b/contrib/libs/backtrace/.yandex_meta/override.nix
@@ -1,11 +1,11 @@
pkgs: attrs: with pkgs; with attrs; rec {
- version = "2025-11-06";
+ version = "2026-05-04";
src = fetchFromGitHub {
owner = "ianlancetaylor";
repo = "libbacktrace";
- rev = "b9e40069c0b47a722286b94eb5231f7f05c08713";
- hash = "sha256-vi33Bhg2LT5uWN63PHkD8CaOjTXBwZhBwFFhaezJ0e4=";
+ rev = "96664e69b1ecdb76e824be1d9e8f475b76dd08cf";
+ hash = "sha256-+tV6W8SnFWKweAASvFfb+i6bz73ssVGikNhVpq3YbT4=";
};
patches = [];
diff --git a/contrib/libs/backtrace/atomic.c b/contrib/libs/backtrace/atomic.c
index 97cc8ec9f91..c98280a0f39 100644
--- a/contrib/libs/backtrace/atomic.c
+++ b/contrib/libs/backtrace/atomic.c
@@ -1,5 +1,5 @@
/* atomic.c -- Support for atomic functions if not present.
- Copyright (C) 2013-2024 Free Software Foundation, Inc.
+ Copyright (C) 2013-2026 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
Redistribution and use in source and binary forms, with or without
diff --git a/contrib/libs/backtrace/backtrace-supported.h b/contrib/libs/backtrace/backtrace-supported.h
index 39482feb9e5..1e01c5bb369 100644
--- a/contrib/libs/backtrace/backtrace-supported.h
+++ b/contrib/libs/backtrace/backtrace-supported.h
@@ -1,5 +1,5 @@
/* backtrace-supported.h.in -- Whether stack backtrace is supported.
- Copyright (C) 2012-2024 Free Software Foundation, Inc.
+ Copyright (C) 2012-2026 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
Redistribution and use in source and binary forms, with or without
diff --git a/contrib/libs/backtrace/backtrace.c b/contrib/libs/backtrace/backtrace.c
index 3e6b81e9a3f..3935a3ed968 100644
--- a/contrib/libs/backtrace/backtrace.c
+++ b/contrib/libs/backtrace/backtrace.c
@@ -1,5 +1,5 @@
/* backtrace.c -- Entry point for stack backtrace library.
- Copyright (C) 2012-2024 Free Software Foundation, Inc.
+ Copyright (C) 2012-2026 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
Redistribution and use in source and binary forms, with or without
diff --git a/contrib/libs/backtrace/backtrace.h b/contrib/libs/backtrace/backtrace.h
index de92a3afb35..14a57c415bb 100644
--- a/contrib/libs/backtrace/backtrace.h
+++ b/contrib/libs/backtrace/backtrace.h
@@ -1,5 +1,5 @@
/* backtrace.h -- Public header file for stack backtrace library.
- Copyright (C) 2012-2024 Free Software Foundation, Inc.
+ Copyright (C) 2012-2026 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
Redistribution and use in source and binary forms, with or without
diff --git a/contrib/libs/backtrace/dwarf.c b/contrib/libs/backtrace/dwarf.c
index 81af2b59057..58f6e4e1e2b 100644
--- a/contrib/libs/backtrace/dwarf.c
+++ b/contrib/libs/backtrace/dwarf.c
@@ -1,5 +1,5 @@
/* dwarf.c -- Get file/line information from DWARF for backtraces.
- Copyright (C) 2012-2024 Free Software Foundation, Inc.
+ Copyright (C) 2012-2026 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
Redistribution and use in source and binary forms, with or without
diff --git a/contrib/libs/backtrace/elf.c b/contrib/libs/backtrace/elf.c
index 68aca44965f..0c413686c20 100644
--- a/contrib/libs/backtrace/elf.c
+++ b/contrib/libs/backtrace/elf.c
@@ -1,5 +1,5 @@
/* elf.c -- Get debug data from an ELF file for backtraces.
- Copyright (C) 2012-2024 Free Software Foundation, Inc.
+ Copyright (C) 2012-2026 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
Redistribution and use in source and binary forms, with or without
@@ -4338,15 +4338,17 @@ elf_zstd_unpack_seq_decode (int mode,
return 1;
}
-/* Decompress a zstd stream from PIN/SIN to POUT/SOUT. Code based on RFC 8878.
+/* Decompress a single zstd frame from *PPIN, ending at PINEND, to *PPOUT/SOUT.
Return 1 on success, 0 on error. */
static int
-elf_zstd_decompress (const unsigned char *pin, size_t sin,
- unsigned char *zdebug_table, unsigned char *pout,
- size_t sout)
+elf_zstd_decompress_frame (const unsigned char **ppin,
+ const unsigned char *pinend,
+ unsigned char *zdebug_table, unsigned char **ppout,
+ size_t sout)
{
- const unsigned char *pinend;
+ const unsigned char *pin;
+ unsigned char *pout;
unsigned char *poutstart;
unsigned char *poutend;
struct elf_zstd_seq_decode literal_decode;
@@ -4366,9 +4368,9 @@ elf_zstd_decompress (const unsigned char *pin, size_t sin,
uint64_t content_size;
int last_block;
- pinend = pin + sin;
+ pin = *ppin;
+ pout = *ppout;
poutstart = pout;
- poutend = pout + sout;
literal_decode.table = NULL;
literal_decode.table_bits = -1;
@@ -4394,7 +4396,7 @@ elf_zstd_decompress (const unsigned char *pin, size_t sin,
repeated_offset2 = 4;
repeated_offset3 = 8;
- if (unlikely (sin < 4))
+ if (unlikely (pinend - pin < 4))
{
elf_uncompress_failed ();
return 0;
@@ -4492,12 +4494,14 @@ elf_zstd_decompress (const unsigned char *pin, size_t sin,
}
if (unlikely (content_size != (size_t) content_size
- || (size_t) content_size != sout))
+ || (size_t) content_size > sout))
{
elf_uncompress_failed ();
return 0;
}
+ poutend = pout + content_size;
+
last_block = 0;
while (!last_block)
{
@@ -4996,7 +5000,42 @@ elf_zstd_decompress (const unsigned char *pin, size_t sin,
pin += 4;
}
- if (pin != pinend)
+ *ppin = pin;
+ *ppout = pout;
+
+ return 1;
+}
+
+/* Decompress a zstd stream from PIN/SIN to POUT/SOUT. Code based on RFC 8878.
+ Return 1 on success, 0 on error. */
+
+static int
+elf_zstd_decompress (const unsigned char *pin, size_t sin,
+ unsigned char *zdebug_table, unsigned char *pout,
+ size_t sout)
+{
+ const unsigned char *pinend;
+
+ pinend = pin + sin;
+
+ while (sin > 0)
+ {
+ const unsigned char *pin_frame;
+ unsigned char *pout_frame;
+
+ pin_frame = pin;
+ pout_frame = pout;
+ if (!elf_zstd_decompress_frame (&pin_frame, pinend, zdebug_table,
+ &pout_frame, sout))
+ return 0;
+
+ sin -= pin_frame - pin;
+ pin = pin_frame;
+ sout -= pout_frame - pout;
+ pout = pout_frame;
+ }
+
+ if (sout > 0)
{
elf_uncompress_failed ();
return 0;
diff --git a/contrib/libs/backtrace/fileline.c b/contrib/libs/backtrace/fileline.c
index 904b224ad90..82535e3f6cf 100644
--- a/contrib/libs/backtrace/fileline.c
+++ b/contrib/libs/backtrace/fileline.c
@@ -1,5 +1,5 @@
/* fileline.c -- Get file and line number information in a backtrace.
- Copyright (C) 2012-2024 Free Software Foundation, Inc.
+ Copyright (C) 2012-2026 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
Redistribution and use in source and binary forms, with or without
diff --git a/contrib/libs/backtrace/internal.h b/contrib/libs/backtrace/internal.h
index 6164c01a580..17c4106ea6d 100644
--- a/contrib/libs/backtrace/internal.h
+++ b/contrib/libs/backtrace/internal.h
@@ -1,5 +1,5 @@
/* internal.h -- Internal header file for stack backtrace library.
- Copyright (C) 2012-2024 Free Software Foundation, Inc.
+ Copyright (C) 2012-2026 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
Redistribution and use in source and binary forms, with or without
diff --git a/contrib/libs/backtrace/macho.c b/contrib/libs/backtrace/macho.c
index 9f8738dd784..5eab4a6c7f8 100644
--- a/contrib/libs/backtrace/macho.c
+++ b/contrib/libs/backtrace/macho.c
@@ -1,5 +1,5 @@
/* elf.c -- Get debug data from a Mach-O file for backtraces.
- Copyright (C) 2020-2024 Free Software Foundation, Inc.
+ Copyright (C) 2020-2026 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
Redistribution and use in source and binary forms, with or without
diff --git a/contrib/libs/backtrace/mmap.c b/contrib/libs/backtrace/mmap.c
index 322ed945669..d452427c51f 100644
--- a/contrib/libs/backtrace/mmap.c
+++ b/contrib/libs/backtrace/mmap.c
@@ -1,5 +1,5 @@
/* mmap.c -- Memory allocation with mmap.
- Copyright (C) 2012-2024 Free Software Foundation, Inc.
+ Copyright (C) 2012-2026 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
Redistribution and use in source and binary forms, with or without
diff --git a/contrib/libs/backtrace/mmapio.c b/contrib/libs/backtrace/mmapio.c
index b780c3d07df..775419a4279 100644
--- a/contrib/libs/backtrace/mmapio.c
+++ b/contrib/libs/backtrace/mmapio.c
@@ -1,5 +1,5 @@
/* mmapio.c -- File views using mmap.
- Copyright (C) 2012-2024 Free Software Foundation, Inc.
+ Copyright (C) 2012-2026 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
Redistribution and use in source and binary forms, with or without
diff --git a/contrib/libs/backtrace/posix.c b/contrib/libs/backtrace/posix.c
index 79f4950f84b..e6ce23ffb0e 100644
--- a/contrib/libs/backtrace/posix.c
+++ b/contrib/libs/backtrace/posix.c
@@ -1,5 +1,5 @@
/* posix.c -- POSIX file I/O routines for the backtrace library.
- Copyright (C) 2012-2024 Free Software Foundation, Inc.
+ Copyright (C) 2012-2026 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
Redistribution and use in source and binary forms, with or without
diff --git a/contrib/libs/backtrace/print.c b/contrib/libs/backtrace/print.c
index d4637af9a4f..0d41ff08b26 100644
--- a/contrib/libs/backtrace/print.c
+++ b/contrib/libs/backtrace/print.c
@@ -1,5 +1,5 @@
/* print.c -- Print the current backtrace.
- Copyright (C) 2012-2024 Free Software Foundation, Inc.
+ Copyright (C) 2012-2026 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
Redistribution and use in source and binary forms, with or without
diff --git a/contrib/libs/backtrace/simple.c b/contrib/libs/backtrace/simple.c
index fd3fac688fa..fa632fe8d77 100644
--- a/contrib/libs/backtrace/simple.c
+++ b/contrib/libs/backtrace/simple.c
@@ -1,5 +1,5 @@
/* simple.c -- The backtrace_simple function.
- Copyright (C) 2012-2024 Free Software Foundation, Inc.
+ Copyright (C) 2012-2026 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
Redistribution and use in source and binary forms, with or without
diff --git a/contrib/libs/backtrace/sort.c b/contrib/libs/backtrace/sort.c
index fedfe21cbdf..ad2085f1800 100644
--- a/contrib/libs/backtrace/sort.c
+++ b/contrib/libs/backtrace/sort.c
@@ -1,5 +1,5 @@
/* sort.c -- Sort without allocating memory
- Copyright (C) 2012-2024 Free Software Foundation, Inc.
+ Copyright (C) 2012-2026 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
Redistribution and use in source and binary forms, with or without
diff --git a/contrib/libs/backtrace/state.c b/contrib/libs/backtrace/state.c
index b564a18b548..8c201624006 100644
--- a/contrib/libs/backtrace/state.c
+++ b/contrib/libs/backtrace/state.c
@@ -1,5 +1,5 @@
/* state.c -- Create the backtrace state.
- Copyright (C) 2012-2024 Free Software Foundation, Inc.
+ Copyright (C) 2012-2026 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
Redistribution and use in source and binary forms, with or without
diff --git a/contrib/libs/backtrace/ya.make b/contrib/libs/backtrace/ya.make
index 288af048c7e..b8ff9cb23a9 100644
--- a/contrib/libs/backtrace/ya.make
+++ b/contrib/libs/backtrace/ya.make
@@ -6,9 +6,9 @@ LICENSE(BSD-3-Clause)
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
-VERSION(2025-11-06)
+VERSION(2026-05-04)
-ORIGINAL_SOURCE(https://github.com/ianlancetaylor/libbacktrace/archive/b9e40069c0b47a722286b94eb5231f7f05c08713.tar.gz)
+ORIGINAL_SOURCE(https://github.com/ianlancetaylor/libbacktrace/archive/96664e69b1ecdb76e824be1d9e8f475b76dd08cf.tar.gz)
ADDINCL(
contrib/libs/backtrace