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

ios - Memory not freeing up after popping viewcontroller using ARC -

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -