[Soot-list] Callgraph for interface invocations?
Eric Bodden
eric.bodden at uni-paderborn.de
Wed Jul 18 02:05:37 EDT 2018
Hi Tim.
Of course. Just enable whole-program mode using -w. This will enable Soot’s pointer analysis framework Spark, which will give you access to this information. It will also generate a callgraph that will point directly to the right add-method.
Cheers
Eric
> On 11. Jul 2018, at 16:25, Tim Linggi <linggit at ethz.ch> wrote:
>
> Hey,
>
> I have the following question. Assume the following snippet:
>
> List<Integer> list = new ArrayList<>();
> list.add(1);
>
> Is there a way to determine the dynamic type of variable 'list' as ArrayList in Soot? And by extension the actual implementation of the add method executed? Of course, this is not possible in general but in this example it is theoretically.
>
> Best,
> Tim
>
> _______________________________________________
> Soot-list mailing list
> Soot-list at CS.McGill.CA
> https://mailman.CS.McGill.CA/mailman/listinfo/soot-list
More information about the Soot-list
mailing list