Heap Explorer: A Powerful Glibc Heap Debugger

2025-02-06
Heap Explorer: A Powerful Glibc Heap Debugger

`explore_heap` is a glibc heap debugger loaded via `LD_PRELOAD` that allows interactive inspection and manipulation of a program's heap memory. By loading `libheap_explorer.so` and interrupting the program with a SIGINT signal (Ctrl+C), users enter a REPL to allocate, free chunks, and print freelists, tcache, fastbin, and bin lists, aiding in debugging memory-related issues. Currently tested on Arch Linux's glibc 2.41+, adaptation for other modern glibc versions requires adjusting constants.