[Soot-list] InvokeExpr.getArgs() is returning parameters of transitive call

Eric Bodden bodden at st.informatik.tu-darmstadt.de
Sun Nov 1 14:20:34 EST 2009


Hi Stefan.

Could you please rephrase your question? I don't quite understand the
problem. An invoke expession for "callStatic" will always have three
arguments, and an expression for "outgoingCall" six...

Eric

--
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



2009/10/30 Stefan Willenbrock <willenbr at rhrk.uni-kl.de>:
> Hi,
>
> I'm using Soot to instrument some java bytecode. My problem is, that
> with some methods like this:
>
> public static void callStatic(String methodsig, int pos, List params) {
>        outgoingCall(null, methodsig, pos, params, CallType.STATIC, null);
> }
>
> the corresponding InvokeExpr (for callStatic) returns 6 Values for the
> arguments of the transitive inner call. My intention was to receive the
> Values only for the arguments of the outer method, from which i created
> the InvokeExpr instance.
>
> How can i enable the expected behaviour?
>
> Kind regards,
> Stefan
> _______________________________________________
> 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