[Soot-list] meaning of this line code
Zeinab Lashkaripour
lashkaripour at yahoo.com
Mon Jan 28 11:44:44 EST 2013
Iterator<ValueBox> defIt = u.getDefBoxes().iterator();
while (defIt.hasNext()) {
ValueBox defBox = defIt.next();
if (defBox.getValue() instanceof DefinitionStmt) {
Iterator<ValueBox> inIt = inSet.iterator();
while ...
Its part of the kill method of a reachingDefs analysis.
Hope this is enough?
----- Original Message -----
From: Patrick Lam <plam at sable.mcgill.ca>
To: soot-list at sable.mcgill.ca
Cc:
Sent: Monday, January 28, 2013 8:10 PM
Subject: Re: [Soot-list] meaning of this line code
On 01/28/13 11:25, Zeinab Lashkaripour wrote:
> Hi dear Reader,
> I have seen this line of code in a tutorial:
> defBox.getValue() instanceof DefinitionStmt
> the question that I have is: isn't a defbox always an instanceof
> DefinitionStmt?
> If so what does this code mean?
More context, please?
pat
_______________________________________________
Soot-list mailing list
Soot-list at sable.mcgill.ca
http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20130128/a47a8490/attachment-0001.html
More information about the Soot-list
mailing list