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

Added error handling for ResParserError #1008

Merged
merged 1 commit into from Mar 8, 2024
Merged

Conversation

Ch0pin
Copy link

@Ch0pin Ch0pin commented Mar 7, 2024

Androguard halts the parsing of resources if it encounters specific resource types (RES_TABLE_TYPE_SPEC_TYPE ) where the res1 and res0 fields are not both set to zero. In this PR I've implemented error handling measures to ensure continuation of the processing.

This issue became apparent to me as I worked on parsing samples from the following apps:

  • 1100f090f0c1d2d09940d6e9887da58fd15ae7d7eb3a064761f09d5ded189bf4 (com.airbnb.android, version name 24.10)
  • 4e4396a7fd6d8b3d1bb77c6004d6845d035ce58bba0ce5a6a01962e6069cd480 (com.facebook.orca, version name 447.1.0.45.106)

@erev0s erev0s merged commit aa2a63b into androguard:master Mar 8, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants