Class JavaNetInetAddressImplNative

    • Constructor Detail

      • JavaNetInetAddressImplNative

        public JavaNetInetAddressImplNative​(NativeHelper helper)
    • Method Detail

      • java_net_InetAddressImpl_getLocalHostName

        public 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. A conservative approach would say YES, for definitely points-to, but NO for may points-to. We should avoid analyzing these unsafe native methods. native java.lang.String getLocalHostName() throws java.net.UnknownHostException;
      • java_net_InetAddressImpl_getHostByAddr

        public 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;