Class JavaIoObjectInputStreamNative

    • Constructor Detail

      • JavaIoObjectInputStreamNative

        public JavaIoObjectInputStreamNative​(NativeHelper helper)
    • Method Detail

      • java_io_ObjectInputStream_latestUserDefinedLoader

        public void java_io_ObjectInputStream_latestUserDefinedLoader​(SootMethod method,
                                                                      ReferenceVariable thisVar,
                                                                      ReferenceVariable returnVar,
                                                                      ReferenceVariable[] params)
        NOTE: conservatively returns a reference pointing to the only copy of the class loader. private static native java.lang.ClassLoader latestUserDefinedLoader() throws java.lang.ClassNotFoundException;
      • java_io_ObjectInputStream_allocateNewObject

        public void java_io_ObjectInputStream_allocateNewObject​(SootMethod method,
                                                                ReferenceVariable thisVar,
                                                                ReferenceVariable returnVar,
                                                                ReferenceVariable[] params)
        Serialization has to be avoided by static analyses, since each object comes out of the same place. private static native java.lang.Object allocateNewObject(java.lang.Class, java.lang.Class) throws java.lang.InstantiationException, java.lang.IllegalAccessException;