Class MethodNodeFactory

java.lang.Object
qilin.core.builder.MethodNodeFactory

public class MethodNodeFactory extends Object
Author:
Ondrej Lhotak
  • Field Details

  • Constructor Details

    • MethodNodeFactory

      public MethodNodeFactory(PAG pag, MethodPAG mpag)
  • Method Details

    • getNode

      public Node getNode(Value v)
    • handleStmt

      public final void handleStmt(Stmt s)
      Adds the edges required for this statement to the graph.
    • handleInvokeStmt

      protected void handleInvokeStmt(InvokableStmt s)
      Adds the edges required for this statement to the graph. Add throw stmt if the invoke method throws an Exception.
    • caseThis

      public VarNode caseThis()
    • caseParm

      public VarNode caseParm(int index)
    • caseRet

      public VarNode caseRet()
    • caseMethodThrow

      public VarNode caseMethodThrow()
    • caseArray

      public final FieldRefNode caseArray(VarNode base)
    • makeInvokeStmtThrowVarNode

      public LocalVarNode makeInvokeStmtThrowVarNode(Stmt invoke, SootMethod method)
    • caseClassConstant

      public final VarNode caseClassConstant(ClassConstant cc)
    • clinitsOf

      public Set<SootMethod> clinitsOf(SootClass cl)