Package kilim.tools

Class FlowAnalyzer


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

      Constructors 
      Constructor Description
      FlowAnalyzer()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static void analyzeClass​(java.lang.String className)  
      static void analyzeJar​(java.lang.String jarFile)  
      private static int getNumArgs​(org.objectweb.asm.tree.MethodInsnNode m)  
      static void main​(java.lang.String[] args)  
      private static void reportFlow​(MethodFlow method, java.lang.String className)  
      private static void stackTrace​(java.lang.Throwable t)  
      private static java.lang.String uniqueItems​(BasicBlock bb, Frame f, Usage u, int nStack)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FlowAnalyzer

        public FlowAnalyzer()
    • Method Detail

      • main

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

        private static void analyzeClass​(java.lang.String className)
      • stackTrace

        private static void stackTrace​(java.lang.Throwable t)
      • reportFlow

        private static void reportFlow​(MethodFlow method,
                                       java.lang.String className)
      • uniqueItems

        private static java.lang.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​(java.lang.String jarFile)