secure-software-engineering / FlowDroid

FlowDroid Static Data Flow Tracker
GNU Lesser General Public License v2.1
1.02k stars 292 forks source link

ARSCFileParser: java.lang.RuntimeException: File format error, res0 was not zero #657

Closed jpstotz closed 8 months ago

jpstotz commented 8 months ago

This error happens for example if you try to parse for example resources.arsc from Android-sdk\platforms\android-34\android.jar.

Most likely it is the same problem as discussed here: https://github.com/skylot/jadx/issues/1806

In the end some additional data structures need to be parsed to support sparse entries. Hopefully I will have some time to adapt the necessary changes to soot-infoflow-android.