public void addStaticEdge(MethodOrMethodContext src, Unit srcUnit, SootMethod target, Kind kind) { cg.addEdge(new Edge(src, srcUnit, target, kind)); }
private void addEdge(SootMethod src, Stmt stmt, SootMethod tgt, Kind kind) { cicg.addEdge(new Edge(src, stmt, tgt, kind)); }
public void addStaticEdge(MethodOrMethodContext src, Unit srcUnit, SootMethod target, Kind kind) { cg.addEdge(new Edge(src, srcUnit, target, kind)); }
public void addVirtualEdge(MethodOrMethodContext src, Unit srcUnit, SootMethod target, Kind kind, Context typeContext) { cg.addEdge(new Edge(src.method(), srcUnit, target, kind)); }
public void addStaticEdge(MethodOrMethodContext src, Unit srcUnit, SootMethod target, Kind kind) { cg.addEdge(new Edge(src, srcUnit, MethodContext.v(target, srcUnit), kind)); }
public void addVirtualEdge(MethodOrMethodContext src, Unit srcUnit, SootMethod target, Kind kind, Context typeContext) { cg.addEdge(new Edge(src, srcUnit, MethodContext.v(target, srcUnit), kind)); }
public void addVirtualEdge(MethodOrMethodContext src, Unit srcUnit, SootMethod target, Kind kind, Context typeContext) { cg.addEdge(new Edge(src, srcUnit, MethodContext.v(target, typeContext), kind)); }
/** * Swaps an invocation statement. All edges that previously went from the given statement to some callee now go from the * new statement to the same callee. This method is intended to be used when a Jimple statement is replaced, but the * replacement does not semantically affect the edges. * * @param out * The old statement * @param in * The new statement * @return True if at least one edge was affected by this operation */ public boolean swapEdgesOutOf(Stmt out, Stmt in) { boolean hasSwapped = false; for (QueueReader<Edge> edgeRdr = listener(); edgeRdr.hasNext();) { Edge e = edgeRdr.next(); if (e.srcUnit() == out) { removeEdge(e); addEdge(new Edge(e.getSrc(), in, e.getTgt())); hasSwapped = true; } } return hasSwapped; }
private void addEdge( SootMethod src, Stmt stmt, SootMethod tgt, Kind kind ) { cicg.addEdge( new Edge( src, stmt, tgt, kind ) ); }
public void addStaticEdge( MethodOrMethodContext src, Unit srcUnit, SootMethod target, Kind kind ) { cg.addEdge( new Edge( src, srcUnit, target, kind ) ); }
private void addEdge( SootMethod src, Stmt stmt, SootMethod tgt, Kind kind ) { cicg.addEdge( new Edge( src, stmt, tgt, kind ) ); }
public void addStaticEdge( MethodOrMethodContext src, Unit srcUnit, SootMethod target, Kind kind ) { cg.addEdge( new Edge( src, srcUnit, target, kind ) ); }
public void addStaticEdge( MethodOrMethodContext src, Unit srcUnit, SootMethod target, Kind kind ) { cg.addEdge( new Edge( src, srcUnit, target, kind ) ); }
public void addVirtualEdge( MethodOrMethodContext src, Unit srcUnit, SootMethod target, Kind kind, Context typeContext ) { cg.addEdge( new Edge( src, srcUnit, MethodContext.v( target, srcUnit ), kind ) ); }
public void addStaticEdge( MethodOrMethodContext src, Unit srcUnit, SootMethod target, Kind kind ) { cg.addEdge( new Edge( src, srcUnit, MethodContext.v( target, srcUnit ), kind ) ); }
public void addVirtualEdge( MethodOrMethodContext src, Unit srcUnit, SootMethod target, Kind kind, Context typeContext ) { cg.addEdge( new Edge( src.method(), srcUnit, target, kind ) ); }
public void addVirtualEdge( MethodOrMethodContext src, Unit srcUnit, SootMethod target, Kind kind, Context typeContext ) { cg.addEdge( new Edge( src, srcUnit, MethodContext.v( target, typeContext ), kind ) ); }
public void addStaticEdge( MethodOrMethodContext src, Unit srcUnit, SootMethod target, Kind kind ) { cg.addEdge( new Edge( src, srcUnit, MethodContext.v( target, srcUnit ), kind ) ); }
public void addVirtualEdge( MethodOrMethodContext src, Unit srcUnit, SootMethod target, Kind kind, Context typeContext ) { cg.addEdge( new Edge( src, srcUnit, MethodContext.v( target, typeContext ), kind ) ); }