Vault7: CIA Hacking Tools Revealed
Navigation: » Latest version
A Tool for Finding Symbols on Mac OS X
I wrote some scripts to help me find symbols on Mac OSOperating System X called Symcache. It does a recursive find on a configurable set of directories looking for Mach-O binaries. Then, it extracts the defined and undefined symbols from the binaries using nm and inserts them into a sqlite database that makes future lookups very quick and easy.
For example:
symcache.sh
# wait an hour or two...
# find a symbol definition
findsym.sh _CFCopySystemVersionDictionary
# find all references to mbuf_data
findsym.sh -u mbuf_data