Package soot.jimple.toolkits.thread

Examples of soot.jimple.toolkits.thread.AbstractRuntimeThread.containsMethod()


//      List threadMethods = new ArrayList();
      Iterator runMethodsIt = runMethods.iterator();
      while(runMethodsIt.hasNext())
      {
        SootMethod method = (SootMethod) runMethodsIt.next();
        if(!thread.containsMethod(method))
        {
          thread.addMethod(method);
          thread.addRunMethod(method);
        }
      }
View Full Code Here


          boolean ignoremethod = true;
          Iterator edgeInIt = callGraph.edgesInto(method);
          while(edgeInIt.hasNext())
          {
            Edge edge = (Edge) edgeInIt.next();
            if( edge.kind() != Kind.THREAD && thread.containsMethod(edge.src())) // called directly by any of the thread methods?
              ignoremethod = false;
          }
          if(!ignoremethod && !thread.containsMethod(method))
            thread.addMethod(method);
        }
View Full Code Here

          {
            Edge edge = (Edge) edgeInIt.next();
            if( edge.kind() != Kind.THREAD && thread.containsMethod(edge.src())) // called directly by any of the thread methods?
              ignoremethod = false;
          }
          if(!ignoremethod && !thread.containsMethod(method))
            thread.addMethod(method);
        }
        methodNum++;
      }
     
View Full Code Here

        while(edgeInIt.hasNext())
        {
          if( ((Edge) edgeInIt.next()).kind() != Kind.THREAD )
            ignoremethod = false;
        }
        if(!ignoremethod && !mainThread.containsMethod(method))
          mainThread.addMethod(method);
      }
      methodNum++;
    }
    if(optionPrintDebug)
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.