FAQCluster.com
FAQCluster.com
HOME
SOOT
Soot FAQ
25 Questions & Answers.
ø 0 / 0 Votes
You found something helpful?
Please help our research by answering a
short
survey
.
I am reading the soot source code and got confused with the following method 'simpleSources' in 'soot.jimple.spark.pag.PAG.java'. This method should return a set, but I am just wondering what are the elements inside this set?
In java 6 we have the method 'getAnnotation(Class annotationClass)' to get annotation of a particular class or method. Anybody knows the equivalent way of getting method/class annotations in Soot?
Is there a way to traverse the AST of Java with SOOT?
Does Soot support generics? I need to construct Jimple code which creates an instance of a generic class.
Does anyone know how to use soot to get the return value?
Is there an implementation for escape analysis? I found the interface (soot.EscapeAnalysis), but couldn't find any implementation in soot library.
Can you tell me please what king of Stmt is "lengthof x" in Jimple? If I have the statement: "n = x.length" (in Java; x is a Vector), then soot translates that in Jimple so: $i0 = lengthof x n = (double) $i0 and I don't know how to handle "lengthof x" - I saw it isn't an InvokeStmt.
I've recently started to use Soot and Paddle for my master thesis work. I noticed that Paddle takes too much time to analyse Soot results and I presume it analyses Java library as well. Is it possible to speed up the analysis by configuring Soot or Paddle somehow to exclude analysis of Java libraries?
I need to convert Jimple statements to Java source code. Let me explain what I am trying to do - I am using the Indus slicer to produce program slices of Java programs. The slices come out in Jimple or Class files. I need to map or convert them into Java source code. Any ideas how to achieve this?
I want to use Soot for outlining certain code fragments into new methods. However, I can't find any indication that Soot has support for deciding whether or not a code fragment can be outlined. Is this true, or did I just not look hard enough?
« Back
1
2
3
Next »