-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
I followed the tutorial "DaCapoAndSoot".
When doing "Step 2: Running Soot", after executing
java \
-Xmx10G \ # use 10GB heap space
-cp soot-2.4.0.jar soot.Main \ # run Soot
-w -app -p cg.spark enabled \ # enable Spark
-p cg reflection-log:out/refl.log \ # use the given reflection log
-cp ${JRE}/jce.jar:${JRE}/rt.jar:out \ # classes that Soot should analyze
-include org.apache. -include org.w3c. \ # include given packages (see below)
-main-class Harness \ # use Harness as entry point for call graph
-d sootified/avrora-small \ # place transformed classes here
Harness # analyze program starting at Harness
the following exceptions occur:
Exception in thread "main" java.lang.RuntimeException: Line: 'Array.newInstance;java.lang.String[];java.util.Arrays.copyOf;3212;;'
at soot.Scene.addReflectionTraceClasses(Scene.java:991)
at soot.Scene.loadBasicClasses(Scene.java:955)
at soot.Scene.loadNecessaryClasses(Scene.java:1018)
at soot.Main.run(Main.java:167)
at soot.Main.main(Main.java:141)
Caused by: java.lang.RuntimeException: Unknown entry kind: Array.newInstance
at soot.Scene.addReflectionTraceClasses(Scene.java:988)
... 4 more
What happened? How to deal with it?
(
- The libraries I used are:
dacapo-9.12-bach.jar; pia-2.0.3.jar, poa-2.0.3.jar; soot-2.4.0.jar
- I used Oracle JDK1.8 (
$ java -version
yieldsjava version "1.8.0_101"
) in Ubuntu 14.04 LTS, and setJRE=/usr/lib/jvm/java-8-oracle/jre/lib
temporarily before running the long command.
)
Thank you!
Metadata
Metadata
Assignees
Labels
No labels