Class JavaLangSystemNative

    • Constructor Detail

      • JavaLangSystemNative

        public JavaLangSystemNative​(NativeHelper helper)
    • Method Detail

      • java_lang_System_arraycopy

        public void java_lang_System_arraycopy​(SootMethod method,
                                               ReferenceVariable thisVar,
                                               ReferenceVariable returnVar,
                                               ReferenceVariable[] params)
        Copies an array from the specified source array, beginning at the specified position, to the specified position of the destination array. NOTE: If the content of array is reference type, then it is necessary to build a connection between elements of two arrays dst[] = src[] public static native void arraycopy(java.lang.Object, int, java.lang.Object, int, int);
      • java_lang_System_setIn0

        public void java_lang_System_setIn0​(SootMethod method,
                                            ReferenceVariable thisVar,
                                            ReferenceVariable returnVar,
                                            ReferenceVariable[] params)
        NOTE: this native method is not documented in JDK API. It should have the side effect: System.in = parameter private static native void setIn0(java.io.InputStream);
      • java_lang_System_mapLibraryName

        public void java_lang_System_mapLibraryName​(SootMethod method,
                                                    ReferenceVariable thisVar,
                                                    ReferenceVariable returnVar,
                                                    ReferenceVariable[] params)
        NOTE: it is platform-dependent, create a new string, needs to be verified. public static native java.lang.String mapLibraryName(java.lang.String);