public class NativeMethodDriver extends Object
| Modifier and Type | Field and Description |
|---|---|
protected HashMap<String,NativeMethodClass> |
cnameToSim |
| Constructor and Description |
|---|
NativeMethodDriver(NativeHelper helper) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
process(SootMethod method,
ReferenceVariable thisVar,
ReferenceVariable returnVar,
ReferenceVariable[] params)
The entry point of native method simulation.
|
protected final HashMap<String,NativeMethodClass> cnameToSim
public NativeMethodDriver(NativeHelper helper)
public boolean process(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
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.Copyright © 2024 Soot OSS. All rights reserved.