Skip to content

Instantly share code, notes, and snippets.

View mrmiller's full-sized avatar

M.R. Miller mrmiller

View GitHub Profile
@mrmiller
mrmiller / .zsh
Last active April 19, 2020 08:04
git ❤️ FMOD
#
# To use, place this in ~/.zsh (or ~/.bash if you're using bash; untested)
# fmodlookup.pl should also be placed in ~/ or you can place it somewhere else
# and update the path below.
#
function git() {
command git -c color.status=always -c color.ui=always "$@" | ~/fmodlookup.pl | less -FRX
}
@mrmiller
mrmiller / PackageSymbolDumper.py
Created April 13, 2012 14:57
OS X Update Symbol Dumper for Breakpad
'''
PackageSymbolDumper.py
Dumps Breakpad symbols for the contents of an Apple update installer. Given a
path to an Apple update installer as a .dmg or a path to a specific package
within the disk image, PackageSymbolDumper mounts, traverses, and dumps symbols
for all applicable frameworks and dylibs found within.
Created on Apr 11, 2012
'''
PackageSymbolDumper.py
Dumps Breakpad symbols for the contents of an Apple update installer. Given a
path to an Apple update installer as a .dmg or a path to a specific package
within the disk image, PackageSymbolDumper mounts, traverses, and dumps symbols
for all applicable frameworks and dylibs found within.
Required tools for Linux:
pax
#!/usr/bin/python
#
# Dump Breakpad symbol files from binaries in and below a supplied directory.
#
import argparse
import logging
import os
import re
import shutil