siis / ic3

IC3: Inter-Component Communication Analysis in Android
http://siis.cse.psu.edu/ic3/
Apache License 2.0
36 stars 21 forks source link

Unresolved strings since aapt2 #28

Open FoelliX opened 6 years ago

FoelliX commented 6 years ago

Hello,

since gradle 3.0.0 aapt2 is used during compilation (https://developer.android.com/studio/build/gradle-plugin-3-0-0.html). The analyses of apps that are compiled without falling back to aapt (android.enableAapt2=false) seem to fail. Important parts such as action strings seem to be unresolved then. The attached issue.zip contains two .apk files that clarify the issue. Both files represent the same app. The fallback was active/inactive while compiling Test.apk/Test2.apk respectively. For the latter one the action and category of all intent filters cannot be determined. Any updates planed to fix this issue?

I hotfixed the issue by using the ApkParser to extract the manifest information: https://github.com/FoelliX/ic3 Please let me know if you want to pull the changes. Then i will come up with a pull request.

Regards, FoelliX