Hacker News new | ask | show | jobs
by mingodad 569 days ago
Also for C/C++ binaries with debug info gdb is one of the ingredients used to show where and how much globals exists:

gdb -batch -ex "info variables" -ex quit --args binary-to-examine