Commit 6a6129fe authored by swift_gan's avatar swift_gan

enable custom libsandhook

parent a3329836
......@@ -24,7 +24,11 @@ public class SandHook {
public static int testAccessFlag;
static {
System.loadLibrary("sandhook");
if (SandHookConfig.libSandHookPath == null || SandHookConfig.libSandHookPath.length() == 0) {
System.loadLibrary("sandhook");
} else {
System.load(SandHookConfig.libSandHookPath);
}
init();
}
......
package com.swift.sandhook;
public class SandHookConfig {
public volatile static String libSandHookPath;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment