c++ - how to know if a binary contains debugging symbols or not without file, objdump or gdb? -


i need know whether binary has debugging symbols in or not. production system , doesnt have commands file or objdump or gdb.

can provide more info when needed.

os: debian

the easy solution, if don't know if binary has symbols or not , there no tools on actual machine have binary on, use scp (secure remote copy) copy file machine has tools.

as other comment says, using strings command, prints finds "looks string" (a long enough sequence of "printable" characters), it's not quite reliable, never know debug symbols like, , can false positives code containing symbols macros etc.


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -