[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EdgesOutOf
On Mon, 20 Sep 2004, Guillaume Salagnac wrote:
>
> I wonder why the edgesOutOf(Unit) method always returns an empty
> iterator. When I iterate over the callees of a method, obtained through
> edgesOutOf(SootMethod), I see the right methods called, an even the
> srcUnit() and srcStmt() are right
>
> It looks juste like if the edgesOutOf(Unit) is broken, but its source
> code seems right. Or maybe am I missing something evident ?
After a whole day of experimentations on this question, I wonder if it's
possible that I encounter this problem just because I'm analyzing
the Shimple version of the Scene.
Is the callgraph built from Jimple or Shimple ? I do have the -ws
option enable, but when exactly is the jimple converted to SSA ? is it
only at the beginning of "Whole Shimple Transformation Pack (wstp)" or
is it *before* the "Call Graph Constructor (cg)" phase ?
Do I have to use a ShimpleTransformer to perform my analysis, instead
of the regular SceneTransformer ? Would it correct the behaviour of
CallGraph.edgesOutOf(Unit u) ?
I didn't find much doc, neither in the Javadoc neither in the tutorials.
thanks,
-G
--
Guillaume Salagnac
Equipe "Systèmes Temporisés et Hybrides." Verimag. Grenoble. France.
- References:
- EdgesOutOf
- From: Guillaume Salagnac <guillaume.salagnac@imag.fr>