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

Wrong ExitComponents in results #30

Open
mehrant95 opened this issue Jun 16, 2019 · 0 comments
Open

Wrong ExitComponents in results #30

mehrant95 opened this issue Jun 16, 2019 · 0 comments

Comments

@mehrant95
Copy link

I ran IC3 on a simple app using following command:
java -jar ic3-0.2.0-full.jar -computecomponents -input /home/ubuntu/data/apks/dare_kara888/retargeted/kara888/ -apkormanifest /home/ubuntu/data/apks/kara888.apk -cp android.jar -db db/cc.properties.template

The result is fine but in some cases, the exit components (where ICC calls are being made) are wrong. For example:

com.jeyteam.karafarin.MainActivity$2$1$2/void onClick(android.content.DialogInterface,int) : virtualinvoke r12.<com.jeyteam.karafarin.MainActivity: void startActivity(android.content.Intent)>(r2) Components: [com.jeyteam.karafarin.tests.MBTIResultActivity, com.jeyteam.karafarin.tests.EQIActivity, com.jeyteam.karafarin.reminder.ReminderService, com.jeyteam.karafarin.CanvasBusinessActivity, com.jeyteam.karafarin.StarterActivity, com.jeyteam.karafarin.utils.ReceiveSms, com.jeyteam.karafarin.HistoryActivity, com.jeyteam.karafarin.tests.EQIResultActivity, com.jeyteam.karafarin.MainActivity, com.jeyteam.karafarin.BuyActivity, com.jeyteam.karafarin.tests.MBTIActivity] 0 : Value: 1 path values action=android.intent.action.VIEW, dataType=application/vnd.android.package-archive, flags=[268435456], uri=file://(.*),

Or this case:

com.jeyteam.karafarin.StarterActivity/void r() : virtualinvoke r0.<com.jeyteam.karafarin.StarterActivity: void startActivity(android.content.Intent)>(r4) Components: [com.jeyteam.karafarin.tests.MBTIResultActivity, com.jeyteam.karafarin.tests.EQIActivity, com.jeyteam.karafarin.reminder.ReminderService, com.jeyteam.karafarin.CanvasBusinessActivity, com.jeyteam.karafarin.StarterActivity, com.jeyteam.karafarin.utils.ReceiveSms, com.jeyteam.karafarin.HistoryActivity, com.jeyteam.karafarin.tests.EQIResultActivity, com.jeyteam.karafarin.MainActivity, com.jeyteam.karafarin.BuyActivity, com.jeyteam.karafarin.tests.MBTIActivity] 0 : Value: 1 path values clazz=com/jeyteam/karafarin/MainActivity, package=com.jeyteam.karafarin,

In former case, Components should only contain com.jeyteam.karafarin.MainActivity and it should contain only com.jeyteam.karafarin.StarterActivity in latter case but there many other components. Am i wrong?

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

No branches or pull requests

1 participant