All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.virjar.android.hidden.helper.HelperDexClassLoader Maven / Gradle / Ivy

There is a newer version: 1.3
Show newest version
package com.virjar.android.hidden.helper;

import dalvik.system.BaseDexClassLoader;

import java.io.File;
import java.nio.ByteBuffer;

/**
 * 开放所有构造函数,允许继承Classloader,以此逃过双亲委派
 */
public class HelperDexClassLoader extends BaseDexClassLoader {
    public HelperDexClassLoader(String dexPath, File optimizedDirectory, String librarySearchPath, ClassLoader parent) {
        super(dexPath, optimizedDirectory, librarySearchPath, parent);
    }

    public HelperDexClassLoader(String dexPath, File optimizedDirectory, String librarySearchPath, ClassLoader parent, boolean isTrusted) {
        super(dexPath, optimizedDirectory, librarySearchPath, parent, isTrusted);
    }

    public HelperDexClassLoader(String dexPath, String librarySearchPath, ClassLoader parent, ClassLoader[] libraries) {
        super(dexPath, librarySearchPath, parent, libraries);
    }

    public HelperDexClassLoader(String dexPath, String librarySearchPath, ClassLoader parent, ClassLoader[] sharedLibraryLoaders, boolean isTrusted) {
        super(dexPath, librarySearchPath, parent, sharedLibraryLoaders, isTrusted);
    }

    public HelperDexClassLoader(ByteBuffer[] dexFiles, String librarySearchPath, ClassLoader parent) {
        super(dexFiles, librarySearchPath, parent);
    }

    public HelperDexClassLoader(ByteBuffer[] dexFiles, ClassLoader parent) {
        super(dexFiles, parent);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy