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

Using FlowDroid for Java Programs #698

Open
draftyfrog opened this issue Feb 14, 2024 · 1 comment
Open

Using FlowDroid for Java Programs #698

draftyfrog opened this issue Feb 14, 2024 · 1 comment

Comments

@draftyfrog
Copy link

Is there any documentation/tutorial on how to use FlowDroid to perform data flow analysis on Java programs that aren't Android Apps?
What would be the arguments for running the command-line tool to analyses a Java Application?

Thank you for any help!

@StevenArzt
Copy link
Member

The command-line tool does not support Java programs as input. However, you can look into the test cases in the soot-infoflow project. These JUnit test cases are all purely Java-based. The package name with junit in it contains the test case, i.e., the runner, and the package without junit in it contains the code to be tested. It should be fairly easy to see how things are configured. The test cases just point FlowDroid to the class files. You can put a JAR instead.

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

2 participants