5 ms·
Ask HN: Are There Viewers for Memory Layout?
Hello. Is there any tool that can help me view the memory layout of a program to get a better understanding of its inner workings, avoid memory leaks and other various problems that arise with malloc(), realloc(), calloc(), etc.?
- reliefcrew 3y agokcachegrind?
- oldmanludd 3y agoI don't think it's quite what you're looking for but cantor.dust is an interesting visualization tool for binary data. Security conference presentation from a decade ago: https://youtu.be/C8--cXwuuFQ https://youtu.be/C8--cXwuuFQ Release of open-source Ghidra plugin in 2020: https://inside.battelle.org/blog-details/battelle-publishes-open-source-binary-visualization-tool https://inside.battelle.org/blog-details/battelle-publishes-...
- andrewfromx 3y agohttps://valgrind.org/docs/manual/ms-manual.html https://valgrind.org/docs/manual/ms-manual.html https://github.com/KDE/heaptrack https://github.com/KDE/heaptrack https://elinux.org/Electric_Fence https://elinux.org/Electric_Fence https://github.com/google/sanitizers/wiki https://github.com/google/sanitizers/wiki