Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

三星GI9001(Android 2.3.6),不支持hook? #37

Open
jjlan opened this issue Sep 8, 2015 · 1 comment
Open

三星GI9001(Android 2.3.6),不支持hook? #37

jjlan opened this issue Sep 8, 2015 · 1 comment

Comments

@jjlan
Copy link

jjlan commented Sep 8, 2015

您好:
我这里测试的时候发现三星GI9001(Android 2.3.6)调用canDexposed()方法时,返回false 测试的时候发现一些Android4.4.4版本的也有hook失败的情况
我跟踪了一下代码发现,canDexposed()方法在加载loadDexposedLib的时候的源码是这样的。
private static boolean loadDexposedLib(Context context) {
// load dexposed lib for hook.
try {
if (android.os.Build.VERSION.SDK_INT > 19
&& android.os.Build.VERSION.SDK_INT < 21) {
System.loadLibrary("dexposed_l");
} else if (android.os.Build.VERSION.SDK_INT > 14) {
System.loadLibrary("dexposed");
} else {
return false;
}
return true;
} catch (Throwable e) {
return false;
}
}
也就是说如果API级别在14以下,就直接返回false?那该框架是怎么支持的Android2.3呢?我想请您解答一下,您这个加载.so的方法,对14以下的都不做处理?谢谢

@hwjump
Copy link
Contributor

hwjump commented Sep 8, 2015

plz refer this issue, #20.

Current now we didn't provide 2.3 so, so I change code " > 14"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants