Class NativeMethodDriver
- java.lang.Object
-
- soot.jimple.toolkits.pointer.util.NativeMethodDriver
-
public class NativeMethodDriver extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected HashMap<String,NativeMethodClass>cnameToSim
-
Constructor Summary
Constructors Constructor Description NativeMethodDriver(NativeHelper helper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanprocess(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)The entry point of native method simulation.
-
-
-
Field Detail
-
cnameToSim
protected final HashMap<String,NativeMethodClass> cnameToSim
-
-
Constructor Detail
-
NativeMethodDriver
public NativeMethodDriver(NativeHelper helper)
-
-
Method Detail
-
process
public boolean process(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
The entry point of native method simulation.- Parameters:
method- , must be a native methodthisVar- , the variable represent @this, it can be null if the method is staticreturnVar- , the variable represent @return it is null if the method has no returnparams- , array of parameters.
-
-