You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also think I know where the issue comes from: The class com.foo.bar.SomeActivity is referenced in the APKs Manifest and therefore returned by pyaxmlparser on
The missing class is part of a second stage payload that gets decrypted at runtime. Since the app runs fine on devices and emulators the Dalvik Vm seems to be able to support this, meaning it's not a malformed apk. I'm happy to assist in debugging/testing fixes but am unable to share the apk. I'm also happy to write a PR, but want to get an opinion on how this should be fixed first.
The text was updated successfully, but these errors were encountered:
So I don't know anything about android, and the people who do know about android seem to have no desire to work on this.
That said! My understanding of the situation is that the metadata refers to an entity which is not populated until some code gets executed? If that's the case, we should probably re-architect the apk loader to not try to dereference those references during the main loading sequence, and then provide methods to do the dereferencing which can be called from Project, after it does the necessary emulation.
Hi team.
I'm trying to load an Android app in angr and it gave me the following error message:
(CLE & angr version: 9.2.18. Most recent on Pip)
I also think I know where the issue comes from: The class
com.foo.bar.SomeActivity
is referenced in the APKs Manifest and therefore returned bypyaxmlparser
oncle/cle/backends/java/apk.py
Line 109 in e277616
classes.dex
and therefore not found in the list of classes atcle/cle/backends/java/apk.py
Line 133 in e277616
The missing class is part of a second stage payload that gets decrypted at runtime. Since the app runs fine on devices and emulators the Dalvik Vm seems to be able to support this, meaning it's not a malformed apk. I'm happy to assist in debugging/testing fixes but am unable to share the apk. I'm also happy to write a PR, but want to get an opinion on how this should be fixed first.
The text was updated successfully, but these errors were encountered: