[Soot-list] Tamiflex: Error in running soot on Dacapo-9.12-bach fop benchmark

Abhinav Sharma abhinav92003 at gmail.com
Wed Mar 16 08:44:22 EDT 2016


Hi,
I need some help in using Tamiflex to transform the DaCapo-9.12-bach fop
benchmark.
I'm using poa-2.0.3 to get the class files and the reflection log.
When I run soot (soot-trunk) on the class files output by play-out agent, I
get the following error:

[Call Graph] For information on where the call graph may be incomplete, use
> the verbose option to the cg phase.
> java.lang.RuntimeException: Unknown method for signature:
> <java.awt.GraphicsEnvironment$$Lambda$1.1887813102: void <init>()>
> at
> soot.jimple.toolkits.reflection.ReflectionTraceInfo.<init>(ReflectionTraceInfo.java:110)
> at
> soot.jimple.toolkits.callgraph.OnFlyCallGraphBuilder$TraceBasedReflectionModel.<init>(OnFlyCallGraphBuilder.java:215)
> at
> soot.jimple.toolkits.callgraph.OnFlyCallGraphBuilder$TraceBasedReflectionModel.<init>(OnFlyCallGraphBuilder.java:189)
> at
> soot.jimple.toolkits.callgraph.OnFlyCallGraphBuilder.<init>(OnFlyCallGraphBuilder.java:404)
> at soot.jimple.spark.solver.OnFlyCallGraph.<init>(OnFlyCallGraph.java:50)
> at
> soot.jimple.spark.builder.ContextInsensitiveBuilder.setup(ContextInsensitiveBuilder.java:73)
> at
> soot.jimple.spark.SparkTransformer.internalTransform(SparkTransformer.java:83)
> at soot.SceneTransformer.transform(SceneTransformer.java:39)
> at soot.Transform.apply(Transform.java:90)
> at soot.RadioScenePack.internalApply(RadioScenePack.java:57)
> at
> soot.jimple.toolkits.callgraph.CallGraphPack.internalApply(CallGraphPack.java:49)
> at soot.Pack.apply(Pack.java:118)
> at soot.PackManager.runWholeProgramPacks(PackManager.java:570)
> at soot.PackManager.runPacksNormally(PackManager.java:461)
> at soot.PackManager.runPacks(PackManager.java:396)
> at soot.Main.run(Main.java:271)
> at soot.Main.main(Main.java:147)


There is no java.awt.GraphicsEnvironment$$Lambda$1.1887813102.class present
in the output folder of play-out agent, but there is a
java.awt.GraphicsEnvironment$$Lambda$1.class
though.

When I remove the entry corresponding to
java.awt.GraphicsEnvironment$$Lambda$1.1887813102
from refl.log, the execution of soot gets stuck after the following

> [Spark] Pointer Assignment Graph in 1.0 seconds.
> [Spark] Type masks in 0.1 seconds.
> [Spark] Pointer Graph simplified in 0.0 seconds.


I have already tried setting dontNormalize = true in poa.properties, but it
didn't work. I've also attached the poa.properties file here.
A similar error occurs when I try to run soot on the batik benchmark. I've
tried using poa-1.1 also, but that didn't work either.

Any help will be greatly appreciated!

Thanks!
Regards,
Abhinav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20160316/f7b10f51/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: poa.properties
Type: application/octet-stream
Size: 717 bytes
Desc: not available
Url : https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20160316/f7b10f51/attachment.obj 


More information about the Soot-list mailing list