Soot - a Java Bytecode Optimization Framework
BIT: A Tool for Instrumenting Java Bytecodes