secure-software-engineering / FlowDroid

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

Analysis time between the old version and 2.5.1 #46

Open yedyed opened 6 years ago

yedyed commented 6 years ago

Hi, Currently, I'm trying to switch using the previous versions of FlowDroid to the current version (2.5.1). As I can see, the current version never finish its job, it exceeded more than 12 hours, but the previous one has used only 28-29 seconds for the same APK file.

Here is the command for 2.5.1 which I use: java -Xmx60g -jar soot-infoflow-cmd-jar-with-dependencies.jar -a app_test1.apk -p /FlowDroid/android-platforms/platforms -s SourcesAndSinks.txt -o flowdroid/test.xml --nostatic --aliasflowins --aplength 1 --noexceptions

The previous version: java -Xmx60g -cp soot-trunk.jar:soot-infoflow.jar:soot-infoflow-android.jar:slf4j-api-1.7.5.jar:slf4j-simple-1.7.5.jar:axml-2.0.jar soot.jimple.infoflow.android.TestApps.Test ../source/app_test1.apk /FlowDroid/android-platforms/platforms ... Maximum memory consumption: 1535.117312 MB Analysis has run for 28.42890296 seconds

Please give me advice to optimise this.

Cheers

StevenArzt commented 6 years ago

Can you please provide the APK file with which you encounter the problem?

yedyed commented 6 years ago

Hi Steven,

This is the APK file which I use it to test. https://github.com/yedyed/samples/raw/master/ransom1.apk (f836f5c6267f13bf9f6109a6b8d79175) PS. it is ransomware http://contagiominidump.blogspot.com/2015/06/androidtrojanslockerdz-fake-videoplayer.html.

Many thanks