-
Notifications
You must be signed in to change notification settings - Fork 16
NullPointerException #31
Comments
Sorry for the inconvenience. It since the university server does not work properly. |
I tried to run #30 again, but --Alex Am 04/15/2015 um 08:31 PM schrieb Fengguo Wei:
|
Try this: |
I tried it, but it did not work. ./sireum amandroid taintAnalysis -m 12 -p -o Error: null --Alex Am 04/16/2015 um 08:22 PM schrieb Fengguo Wei:
|
Are you using sireum developer version? The stable version will not work. Is the $AMANDROID_HOME/androidlib/5.0 there? |
Of course I used the stable version! Please wait while Sireum is loading... 'jvm-1.7' is not a valid choice for '-target' Usage: scala [<script|class|object|jar> ] All options to scalac (see scalac -help) are also allowed. [Then I removed the -target:jvm-1.7] ./sireum:391: error: not found: value language --Alex Am 04/21/2015 um 07:10 PM schrieb Fengguo Wei:
|
Sorry for the long delay, we are investing a way to bypass the access to our university server, and now all the needed things are in bintry, and you can follow instructions in http://sireum.org/software.html#shortcake to setup. |
There are two distributions, "stable" and "dev (weekly)". Am 05/07/2015 um 10:41 PM schrieb Fengguo Wei:
|
I updated stable as well. So you can use stable. |
I downloaded and unpacked the files.
/local/sireum/Sireum/$./sireum amandroid taintAnalysis -m 12 -p -o Error: null Am 05/08/2015 um 09:02 AM schrieb Fengguo Wei:
|
you can try -t DIR will allow you run multiple apps under one folder. But Amandroid cannot find path between apps. It can find problem between components in one app. /pathofoutput and /somepathforsourcedir you need to fill in your own. |
That produced another error: $ ./sireum amandroid taint -k 1 -ns -to 30 -m 6 -msg CRITICAL -o ./out Error: Error on running: Am 05/08/2015 um 10:02 AM schrieb Fengguo Wei:
|
Hi,
I started Amandroid like this:
.../Sireum$ ./sireum amandroid taintAnalysis -m 12 -p -o ../Amandroid-out/ com.acj0.formsxpressdemo.apk apps/amandroid/taintAnalysis/sourceAndSinks/TaintSourcesAndSinks.txt
Total apks: 1
Error: null
Written:../Amandroid-out/.errorlog
.../Sireum$ cat ../Amandroid-out/.errorlog
An error occured on 20150415-084659
java.lang.NullPointerException
at scala.collection.mutable.ArrayOps$ofRef$.length$extension(ArrayOps.scala:192)
at scala.collection.mutable.ArrayOps$ofRef.length(ArrayOps.scala:192)
at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:32)
at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
at org.sireum.util.FileUtil$.listFiles(File.scala:51)
at org.sireum.jawa.JawaCodeSource$.preLoad(JawaCodeSource.scala:60)
at org.sireum.amandroid.security.AmandroidSocket.preProcess(AmandroidSocket.scala:63)
at org.sireum.amandroid.cli.TanitAnalysis$.taintAnalyze(TaintAnalysis.scala:152)
at org.sireum.amandroid.cli.TanitAnalysis$.main(TaintAnalysis.scala:137)
at org.sireum.amandroid.cli.TanitAnalysis.main(TaintAnalysis.scala)
The text was updated successfully, but these errors were encountered: