secure-software-engineering / SuSi

SuSi - our tool to automatically discover sources and sinks in the Android framework
141 stars 74 forks source link

Exception: Attribute has duplicate labels #10

Closed vhazali closed 7 years ago

vhazali commented 7 years ago

image

I'm trying to use SuSi to generate list of sources and sinks for FlowDroid, for some versions of android platforms.

For this particular screenshot, I was running SuSi with android-8 android.jar, obtained from the GitHub page mentioned in the README.

The same problem was encountered with android-15 android.jar

I've made sure to download the nightly build for soot (soot-trunk.jar, soot-infoflow.jar and soot-infoflow-android.jar) based on the instructions here.

SuSi was built using the Ant build build.xml provided in the repo, and for the learning file input I used the provided permissionMethodWithLabel.pscout

Not sure if this is due to a mistake in setting up on my part or is there something wrong with the repo. Could anyone please help clarify?

suguofei commented 7 years ago

Encountered the same problem, there is no solution Have you resolved?

vhazali commented 7 years ago

We were using it for a school assignment. So what we did was to modify the code slightly. Basically we ensure that the Attribute doesn't contain the ID before adding it in. So for our purposes it was sufficient, not sure(probably did) if we reduced the accuracy of SuSi by doing so. You can see the changes by my friend in his fork here