gdb /lib/x86_64-linux-gnu/libc.so.6 -ex 'p &main_arena' -ex 'p malloc'
sudo gdb -p <PID_OF_PROCESS> -ex 'call (void*) dlopen("/path/to/libheap_explorer.so", 2)' -ex 'p explore_heap()'
https://blackwinghq.com/blog/posts/playing-with-libmalloc/
https://blackwinghq.com/blog/posts/playing-with-libmalloc/