You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Soot to analysis Android APKs. I'm using FlowDroid to generate the dummy main to instrument the APKs. Then I'm using Spark points-to analysis for a more accurate result. However, all the points-to sets are of type EmptyPointsToSet. So I'm wondering did I do something wrong or there are some issues in Soot. The main method of my analysis shown below:
I found relevant local variables by looping all statements. For a found variable "$r" at statement "stmt", to get the points-to set "ps", I did as following:
Hi, I was wondering if this issue was ever resolved. I am having the same problem with this snippet of code
` int id = menuItem.getItemId();
Fragment fragmentToShow = null;
switch (id){
case R.id.nav_home:
fragmentToShow = new HomeFragment();
break;
case R.id.nav_gallery:
fragmentToShow = new GalleryFragment();
break;
case R.id.nav_slideshow:
fragmentToShow = new SlideshowFragment();
break;
}
if (fragmentToShow != null) {
fragmentManager.beginTransaction().replace(R.id.fragment_container, fragmentToShow).commit();
}`
where I am trying to determine the variables pointing to fragmentToShow but get an EmptyPointsToSet as a result
I'm using Soot to analysis Android APKs. I'm using FlowDroid to generate the dummy main to instrument the APKs. Then I'm using Spark points-to analysis for a more accurate result. However, all the points-to sets are of type EmptyPointsToSet. So I'm wondering did I do something wrong or there are some issues in Soot. The main method of my analysis shown below:
The method I used to generate the dummy main is shown as following:
I obtained the points-to analysis in the transformer (i.e., "analyzer" object) by using:
I found relevant local variables by looping all statements. For a found variable "$r" at statement "stmt", to get the points-to set "ps", I did as following:
But the issuse is all the "ps" got is empty.
I'm using FlowDroid 2.7.1 and Soot snapshot on 08-Aug-2019 12:13
Waiting for your kind reply and thanks a lot!
The text was updated successfully, but these errors were encountered: