haproxy/dev
Willy Tarreau e240be5495 DEV: gdb: add a number of gdb scripts to navigate in core dumps
These is a collection of functions I'm occasionally using to navigate
in core dumps. Only working ones were extracted.

Those requiring knowledge of global variables (e.g. pools, proxy list)
use the one extracted from the post_mortem struct. That one is defined
in post-mortem.gdb and needs to be initialized using "pm_init post_mortem"
or "pm_init <pointer>". From this point a number of global variables are
accessible even if symbols are missing; those ones are then used by other
functions to dump streams, threads, pools, proxies etc.

The files can be sourced or copy-pasted into a gdb session. It's worth
trying to keep them up-to-date, as the old ones used to navigate through
tasks are no longer usable due to massive changes.
2024-10-28 17:55:08 +01:00
..
base64
coccinelle DEV: coccinelle: add a test to detect unchecked calloc() 2024-08-24 19:13:56 +02:00
flags DEV: flags/applet: decode appctx flags 2024-09-24 18:26:36 +02:00
gdb DEV: gdb: add a number of gdb scripts to navigate in core dumps 2024-10-28 17:55:08 +01:00
h2 DEV: h2: support hex-encoded data sequences in mkhdr 2024-01-12 18:59:59 +01:00
haring MEDIUM: ring: use the topmost bit of the tail as a lock 2024-03-25 17:34:19 +00:00
hpack DEV: hpack: fix `trash` build regression 2023-01-27 10:22:20 +01:00
patchbot DEV: patchbot: detect commit IDs starting with 7 chars 2024-09-04 09:41:40 +02:00
phash DEV: phash: add a trivial perfect hash generator for integers 2024-01-11 15:10:08 +01:00
plug_qdisc
poll
qpack
sslkeylogger DEV: sslkeylogger: handle file opening error 2023-10-03 15:23:35 +02:00
tcploop
trace
udp BUILD: address a few remaining calloc(size, n) cases 2024-02-10 11:37:27 +01:00