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

[Other]JniHook.cpp下的CheckFlags不检查系统包 #16

Open
yuleniwo opened this issue Nov 5, 2022 · 0 comments
Open

[Other]JniHook.cpp下的CheckFlags不检查系统包 #16

yuleniwo opened this issue Nov 5, 2022 · 0 comments

Comments

@yuleniwo
Copy link

yuleniwo commented Nov 5, 2022

Bcore/src/main/cpp/JniHook/JniHook.cpp

//  不检查系统包
if (!strncmp(class_name, "android.", 8) && !CheckFlags(artMethod)) {
    ALOGE("check flags error. class:%s, method:%s", class_name, method_name);
    return;
}

这个是只CheckFlags以"android."打头的包啊?
blackbox里面的程序都运行不起来,改成if (strncmp(class_name, "android.", 8) && !CheckFlags(artMethod)) {
发现就可以了。

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

1 participant