com.ibm.wala.shrikeBT.shrikeCT.tools
Class MethodTracer
java.lang.Object
com.ibm.wala.shrikeBT.shrikeCT.tools.MethodTracer
public class MethodTracer
- extends java.lang.Object
This is a demo class.
Class files are taken as input arguments (or if there are none, from standard input). The methods in those files are
instrumented: we insert a System.err.println() at ever method call, and a System.err.println() at every method entry.
In Unix, I run it like this: java -cp ~/dev/shrike/shrike com.ibm.wala.shrikeBT.shrikeCT.tools.MethodTracer test.jar -o
output.jar
All modified classes are copied into "output.jar". Some classes may not be modified. To run the resulting code, you should put
output.jar and test.jar on the classpath, and put output.jar before test.jar. Disassembled code is written to the file "report"
under the current directory.
|
Method Summary |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodTracer
public MethodTracer()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception