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