Package kilim.tools

Class FlowAnalyzer

java.lang.Object
kilim.tools.FlowAnalyzer

public class FlowAnalyzer extends Object
Used to dump the stack and locals at the beginning of each basic block
  • Constructor Details

    • FlowAnalyzer

      public FlowAnalyzer()
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception
    • analyzeClass

      private static void analyzeClass(String className)
    • stackTrace

      private static void stackTrace(Throwable t)
    • reportFlow

      private static void reportFlow(MethodFlow method, String className)
    • uniqueItems

      private static String uniqueItems(BasicBlock bb, Frame f, Usage u, int nStack)
    • getNumArgs

      private static int getNumArgs(org.objectweb.asm.tree.MethodInsnNode m)
    • analyzeJar

      public static void analyzeJar(String jarFile)