-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct Attribute Resolution (#3123)
* refactor: rename package_ to pkgId * refactor: ResAttrDecoder takes ResTable * fix: fallback on attr decoding to proper prefix * fix: reverse order of processing to trust string pool 2nd Android prefers the resource map value over what the String block has. This can be seen quite often in obfuscated apps where values such as: <item android:state_enabled="true" app:state_collapsed="false" app:state_collapsible="true"> Are improperly decoded when trusting the String block. Leveraging the resource map allows us to get the proper value. <item android:state_enabled="true" app:d2="false" app:d3="true"> * refactor: set default value if no string/res value
- Loading branch information
1 parent
f42ce82
commit 79cfdd1
Showing
6 changed files
with
67 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters