-
-
Save lrytz/2908abe64b68d86568f8969a4a9369be to your computer and use it in GitHub Desktop.
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/sh | |
files="$@" | |
asm_jar=~/Applications/bin/asm-5.0.2/lib/all/asm-all-5.0.2.jar | |
asm_main=org.objectweb.asm.util.Textifier | |
for f in $files; do | |
dirname=$(dirname "$f") | |
basename=$(basename "$f") | |
class=${basename%%.class} | |
java -cp $asm_jar $asm_main -debug $f > $dirname/$class.asm | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment