Created
August 23, 2018 15:29
-
-
Save Und3rf10w/eac25f44a91f7f48860831fb797b5f49 to your computer and use it in GitHub Desktop.
Function to pipe into from objdump that will dump just a given function name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
objdumpfunc() { | |
funcname="$1" | |
sed "/<$funcname>:/,/^\$/!d" | |
} | |
# objdump -M intel -M hex -j .text -D a.out | objdumpfunc main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment