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

The new two types of TypeMapItem are not parsed in androguard.core.dex.parse #1007

Open
MM0n5Ter opened this issue Mar 2, 2024 · 6 comments

Comments

@MM0n5Ter
Copy link

MM0n5Ter commented Mar 2, 2024

Describe what actually happened

The two new TypeMapItem CALL_SITE_ITEM and METHOD_HANDLE_ITEM are only added to the class TypeMapItem but not handled in androguard.core.dex:parse

| WARNING  | androguard.core.dex:parse:7123 - Map item with id '8' offset: 0xda10 (55824) size: 9 is unknown. Is this a newer DEX format?
| WARNING  | androguard.core.dex:parse:7123 - Map item with id '7' offset: 0xda10 (55824) size: 8 is unknown. Is this a newer DEX format?

System Information

  • Androguard Version: master
  • Python Version: 3.10
  • Operating System
@ehrenb
Copy link
Contributor

ehrenb commented Apr 27, 2024

I can take a look at this.

@ehrenb
Copy link
Contributor

ehrenb commented May 11, 2024

Do you have an APK that triggers this? I don't see this occur with any of the APKs in our test directory.

@MM0n5Ter
Copy link
Author

Sure, I will look for the app caused the error. How to send it to you?

@ehrenb
Copy link
Contributor

ehrenb commented May 12, 2024

@ehrenb
Copy link
Contributor

ehrenb commented May 12, 2024

Found a sample to test against here: #682

@ehrenb
Copy link
Contributor

ehrenb commented May 12, 2024

Although that dex is the right version, it doesn’t seem to contain those fields. So uploading your sample would still be helpful.

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

No branches or pull requests

3 participants