[Soot-list] Tag of Finally (Position)

Eric Bodden bodden at st.informatik.tu-darmstadt.de
Sat Feb 27 13:58:11 EST 2010


Hi Christiane.

The only thing you can do is search forward in the unit chain to find
the next unit that has line-number information.

Eric

--
Dr. Eric Bodden
Software Technology Group, Technische Universität Darmstadt, Germany
Tel: +49 6151 16-5478    Fax: +49 6151 16-5410
Mailing Address: S2|02 A209, Hochschulstraße 10, 64289 Darmstadt



On 27 February 2010 16:02, Cristiane Queiroz <criscq at gmail.com> wrote:
> Hi,
> I'm called Cristiane and I'm Master student of UPE (University of
> Pernambuco, PE, Brazil) .
>  I'm making a tool to suport the extraction of Exception Handler. For the
> user extract the Exception Handler of Class to Aspect.
> Now, I'm with a problem.
> I make the merge of Polyglot with Soot through of Position that exists in
> the statements.
>
>
> I'm trying to get the statements that exists in method that has a Finally,
> but they don't have position, because the soot create the Throw in the time
> of compilation.
> When I go try to get the Tag of statement The tag come like this (For
> example): [soot.tagkit.ThrowCreatedByCompilerTag at d3cae0]
>
> because the finally makes the compiler create a throw fictional.
>
> Do you have any suggestion for help me?
>
> Thanks, Cristiane
>
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>
>


More information about the Soot-list mailing list