Created
April 3, 2014 19:38
-
-
Save untalfranfernandez/9961325 to your computer and use it in GitHub Desktop.
Bash script to find out how many methods your .apk file will contain. (Original idea from @rochoa)
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
#! /bin/bash | |
if [ $# -ne 1 ]; then | |
echo | |
echo " Usage: dex-methods.sh [dex file to explore] " | |
echo | |
echo | |
else | |
NUMBER=`cat $@ | head -c 92 | tail -c 4 | hexdump -e '1/4 "%d\n"'` | |
echo "The number of methods found is: " $NUMBER | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment