[Soot-list] What kind of Stmt is "lengthof x" in Jimple?

Eric Bodden bodden at st.informatik.tu-darmstadt.de
Sat Jun 19 03:48:29 EDT 2010


I guess that should be it:

http://www.sable.mcgill.ca/soot/doc/soot/jimple/internal/JLengthExpr.html

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 19 June 2010 09:16, Cristina Ilie <crysgirlro at yahoo.com> wrote:
> Hi,
>
> 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.
>
> Cristina
>
>
> _______________________________________________
> 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