public class JavaNetInetAddressImplNative extends NativeMethodClass
helper
Constructor and Description |
---|
JavaNetInetAddressImplNative(NativeHelper helper) |
Modifier and Type | Method and Description |
---|---|
void |
java_net_InetAddressImpl_getHostByAddr(SootMethod method,
ReferenceVariable thisVar,
ReferenceVariable returnVar,
ReferenceVariable[] params)
Create a string object
native java.lang.String getHostByAddr(int)
throws java.net.UnknownHostException;
|
void |
java_net_InetAddressImpl_getLocalHostName(SootMethod method,
ReferenceVariable thisVar,
ReferenceVariable returnVar,
ReferenceVariable[] params)
Returns a variable pointing to a string constant
I am not sure if repeated calls of methods in this class will
return the same object or not.
|
void |
simulateMethod(SootMethod method,
ReferenceVariable thisVar,
ReferenceVariable returnVar,
ReferenceVariable[] params)
Implements the abstract method simulateMethod.
|
defaultMethod
public JavaNetInetAddressImplNative(NativeHelper helper)
public void simulateMethod(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
simulateMethod
in class NativeMethodClass
public void java_net_InetAddressImpl_getLocalHostName(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
public void java_net_InetAddressImpl_getHostByAddr(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)