[Soot-list] PROBLEM SOLVED: How to determine whether there exists a use for a variable definition later on in the cfg

Eric Bodden eric.bodden at ec-spride.de
Mon Jul 30 04:50:32 EDT 2012


Hi John.

> If SimpleLocalUses's getUsesOf and CombinedDUAnalysis's getUsesOf methods
> both are supposed to return uses for the entire method as you suggest, then
> why are there 2 classes that have the same method with the same
> functionality?

If you read the comments in CombinedDUAnalysis then you will see that
the difference is that this analysis computes definitions and uses at
the same time, which can be faster, I guess.

Best wishes,
Eric


More information about the Soot-list mailing list