[Soot-list] Analyse a scala project using soot

Pooja Agrawal poojaagrwl at cse.iitb.ac.in
Mon Feb 6 05:02:57 EST 2017


Hi,

I want to analyse and optimize a Scala project by doing static analysis 
using soot framework, same as we do for java project. Since Scala code 
generates java bytecode on compilation, I thought it would be easy to 
generate jimple representation and I can add my transformations. But I 
am not able to get even a correct jmple representation. Can you please 
share the details and also I want to know whether it is possible to 
decompile a jimple code back into Scala like java?
The errors are kind of
" couldn't find class: scala.reflect.ScalaSignature " or  " couldn't 
find class: org.apache.spark.api.java.JavaRDD ",
although I set the soot-classpath same as mentioned in the tutorial.
I am attaching the screenshot of my terminal also.


Regards,
Pooja Agrawal
------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: errors.png
Type: image/png
Size: 247947 bytes
Desc: not available
Url : https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20170206/22409138/attachment-0001.png 


More information about the Soot-list mailing list