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

Classification categories #18

Open
ezamorab opened this issue Nov 18, 2018 · 3 comments
Open

Classification categories #18

ezamorab opened this issue Nov 18, 2018 · 3 comments
Labels

Comments

@ezamorab
Copy link

Hi, @StevenArzt

Is there any documentation that talks about the different categories and the content of each one in detail?
I can only find out what the categories are, but there is no mention, for example, of what the "network" category encompasses.

Thanks.

@StevenArzt
Copy link
Member

We unfortunately do not have any precise description of the categories. We hoped that they would be self-explanatory. If this is not the case or you find any misclassifications, feel free to report (and ideally propose a fix for) that.

@pranavgaikwad
Copy link

@StevenArzt How can I annotate sources and sinks ? FlowDroid does not recognise categories.

@StevenArzt
Copy link
Member

The category syntax depends on the input format that you use. FlowDroid supports a newer XML-based format that is much more expressive than the old text-style format. Since FlowDroid and Susi share the same data objects, you should be able to use this newer format for Susi as well. You can have a look here: https://github.com/secure-software-engineering/FlowDroid/blob/master/soot-infoflow-android/testXmlParser/complete.xml.

If you want to use the old and simpler format, it looks like this:

<com.android.server.connectivity.Tethering$TetherMasterSM$InitialState: boolean turnOnUpstreamMobileConnection(int)> (1) -> _SINK_|_PHONE_CONNECTION_

In that case, PHONE_CONNECTION is the category.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants