In my C++ program, how can I detect programmatically at runtime whether symbols have been stripped via the \'strip\' gnu development tool on Linux?
I\'d like a function
You could use popen() to execute nm on the target application and then parse the output to figure if it's stripped or not.
nm
nm: /bin/ls: no symbols