-
Notifications
You must be signed in to change notification settings - Fork 571
Fix DexParser method initialization #478
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
base: master
Are you sure you want to change the base?
Conversation
This reverts partially commit c622d0f. In my test device (Pixel 6, Android 16 qpr2, KernelSU), calling twice LSPosed daemon results a detection based on `mount_id` values. In `com.reveny.nativecheck` 7.6.1, it is named as `Detected Magic Mount`. Of course, this namning is incorrect and misleading. Whatever, see JingMatrix/NeoZygisk#39 for details of this detection point.
|
Please provide examplar apps to show that you are solving some issue. |
|
So far I’ve seen only a few projects that use the Modern API and also use DexParser directly for obfuscated code, but judging by the fix it’s making, it seems to be correct — after all, there really are initialization issues. To test it, the only way is by creating a POC. One app I know that uses the Modern API is PlayStrong, but it has a problem with this LSPosed that causes issues with the service bridge. I haven’t investigated the issue deeply though. PlayStrong is closed-source and only works with the official LSPosed (a private version called IT). |
|
Nobody needs a closed source PlayStrong. My open-source project TEESimulator can help getting STRONG integrity. From this block, I don't see why would @wangwillian0 remove LSPosed/core/src/main/java/org/lsposed/lspd/impl/utils/LSPosedDexParser.java Lines 78 to 81 in e9cb36b
It is surely introducing a bug. |
|
Alright, first: I mentioned PlayStrong only as an example of an app that uses the Modern API — I wasn’t saying it should be used. Sorry if it somehow sounded offensive toward open-source code. Second, in |
|
No worry, I wasn't being offended. My tone was a bit aggressive, sorry for causing the mis-understanding. Oh, you were right, I missed the |
|
Hi @JingMatrix. It's basically what @Dev4Mod said. The second bug is more pronounced, you can see that |
These bugs make the DexParser to not fill all the methods correctly, introducing unwanted nulls.