Is there API available in any language that can run on a Mac (Perl/Python/Cocoa/etc) or command line tools you can use to load a binary (app/bundle/framework/etc) and extract the hard-coded strings used in the code?
The reason behind is we want to check if there are any hard-coded paths in our compiled binary.
Yes, you can just use the
stringscommand line tool: