Skip to content

Instantly share code, notes, and snippets.

@dreness
dreness / symfind.py
Last active September 13, 2017 20:57 — forked from pudquick/symfind.py
Automatic symbol definition discovery for OS X binaries and their linked shared libraries
#!/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