[Soot-list] How to access/dump the content of a object reference from def box

mbatch at cs.mcgill.ca mbatch at cs.mcgill.ca
Thu Apr 10 10:00:22 EDT 2008


Eric is definitely right on this one.. It is a good idea to refer to the
Scene in these situations. It has been a number of months since I've
written any soot code and my brain was blanking on me, so I gave a "this
will work" answer, not a "this is the best approach" answer. My mistake.

>>> From the type's fully qualified path name, you can create the
>>> SootClass using the SootResolver method:
>>>
>>> public SootClass resolveClassAndSupportClasses(String className)
>
> IMHO actually the default way is to just consult the Scene to get the
> right class. This should be faster.
>
> Eric



More information about the Soot-list mailing list