This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
"""Usage: symfind BINARY_PATH SEARCH_STR | |
symfind automates the usage of otool and nm to attempt to find out which | |
binary a symbol is defined in that's used within BINARY_PATH's code. | |
""" | |
import subprocess, os.path, sys, getopt |