Revision bebccf9968ce6393ec8f42d2e9ad9264644be70e authored by Reinier Zwitserloot on 12 May 2014, 13:05:00 UTC, committed by Reinier Zwitserloot on 12 May 2014, 13:05:00 UTC
1 parent dc0717d
runAsm
#!/bin/bash
if [ "$1" == "check" ]; then
APP="CheckClassAdapter"
elif [ "$1" == "asmify" ]; then
APP="ASMifierClassVisitor"
elif [ "$1" == "trace" ]; then
APP="TraceClassVisitor"
else
echo "Runs ASM's various utilities."
echo "usage: runAsm AppName ClassName"
echo "legal appnames:"
echo "check - runs CheckClassAdapter - like the java class verifier, but more verbose."
echo "asmify - runs ASMifier - prints the ASM code needed to recreate a given class file."
echo "trace - Runs Trace - decompiles a given class."
exit 0
fi
shift
java -cp "lib/*" org.objectweb.asm.util.$APP $@
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...