[Soot-list] A question regarding soot.Scene.java

Raghav Karol raghav.karol at gmail.com
Tue Sep 5 04:50:16 EDT 2006


On 9/5/06, Peng Gao <gaop at cse.unsw.edu.au> wrote:
> Hi,
>
> I am reading the soot source code, got a question here regarding
> soot.Scene.java.
>
> in the method 'public void loadNecessaryClasses()', first line:
> Iterator it = Options.v().classes().iterator();
>
> But I can't find any method in soot.options.Options.java named
> 'classes', however,
> there is an instance object 'classes' with type 'Chain' that has a
> method named 'iterator'.
>
> So, should the above line be:
> Iterator it = Options.v().classes.iterator();

I'm using Soot version 2.2.3, and in this version the classes() is
inherited from OptionsBase, try looking there.

> Thanks in advance for reply.
>
> Cheers
>
> Peng
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>


-- 
Raghav

MSc., Student
Informatics and Mathematical Modeling
Technical University of Denmark

+45 606 31 639


More information about the Soot-list mailing list