Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
a INS check
#!/bin/sh
## require objdump and awk and sed
fn=$1
objdump -j .text -S $fn | awk -F ' {2,}' '{print $3}' | sed -n '/^\s\+/!d;s/\s\+\([a-z]\+\).*$/\1/p' | sort | uniq -c | sort -k1 -n
## save here in case i would forget oneday
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.