Skip to content

Instantly share code, notes, and snippets.

@sehrgut
Created September 20, 2016 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sehrgut/e1a83e35b8b84368d3f420d352796b40 to your computer and use it in GitHub Desktop.
Save sehrgut/e1a83e35b8b84368d3f420d352796b40 to your computer and use it in GitHub Desktop.
retrieves the ASCII method name for a symbol offset in a mono process
#!/bin/bash
PID=$1
OFFSET=$2
sudo lldb -p ${PID} <<< "p (char*)mono_pmip ((void*)0x${OFFSET})"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment