Package soot.jimple.infoflow.ipc
Class MethodBasedIPCManager
java.lang.Object
soot.jimple.infoflow.ipc.MethodBasedIPCManager
- All Implemented Interfaces:
IIPCManager
- Direct Known Subclasses:
DefaultIPCManager,EmptyIPCManager
Abstracts from the very generic statement-based IPCManager so that users
can conveniently work on the called methods instead of having to analyze the
call statement every time
- Author:
- Steven Arzt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisIPC(soot.jimple.Stmt sCallSite, heros.InterproceduralCFG<soot.Unit, soot.SootMethod> cfg) determines if a method called by the Stmt is an IPC method or notabstract booleanisIPCMethod(soot.SootMethod method) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface soot.jimple.infoflow.ipc.IIPCManager
updateJimpleForICC
-
Constructor Details
-
MethodBasedIPCManager
public MethodBasedIPCManager()
-
-
Method Details
-
isIPCMethod
public abstract boolean isIPCMethod(soot.SootMethod method) -
isIPC
public boolean isIPC(soot.jimple.Stmt sCallSite, heros.InterproceduralCFG<soot.Unit, soot.SootMethod> cfg) Description copied from interface:IIPCManagerdetermines if a method called by the Stmt is an IPC method or not- Specified by:
isIPCin interfaceIIPCManager- Parameters:
sCallSite- a Stmt which should include an invokeExrp calling a methodcfg- the interprocedural controlflow graph- Returns:
- true if source method is called
-