]> git.kaiwu.me - haproxy.git/commit
DEV: gdb: add a new utility to extract libs from a core dump: libs-from-core
authorWilly Tarreau <w@1wt.eu>
Wed, 18 Mar 2026 13:40:13 +0000 (14:40 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 18 Mar 2026 14:30:39 +0000 (15:30 +0100)
commitde4f7eaeed302bff2e4af58551fea3987871e588
treed14315ac09f048b632712df2856ed8673477ed1e
parente1738b665d72b88237c76a48f416b47b50e8c2d3
DEV: gdb: add a new utility to extract libs from a core dump: libs-from-core

This utility takes in argument the path to a core dump, and it looks
for the archive signature of libraries embedded with "set-dumpable libs",
and either emits the offset and size of stdout, or directly dumps the
contents so that the tar file can be extracted directly by piping the
output to tar xf.
Makefile
dev/gdb/libs-from-core.c [new file with mode: 0644]