secure-software-engineering / FlowDroid

FlowDroid Static Data Flow Tracker
GNU Lesser General Public License v2.1
1.02k stars 293 forks source link

A question about FlowDroid execution via cmd #569

Open maryammsd opened 1 year ago

maryammsd commented 1 year ago

Hello,

I didn't find any option for enabling the analysis of the body of a class when using FlowDroid via cmd. In coding, we can do so by adding Scene.v().addBasicClass(CLASS, BODIES) for class CLASS. Is there anything I am missing or Flowdorid doesn't support this when being executed via cmd?

StevenArzt commented 1 year ago

Are you trying to analyze a Java class file using FlowDroid? The command-line application only supports Android apps. For analyzing Java classes, you can look at the JUnit tests in the soot-infoflow module. They are pure Java.