[Soot-list] Class resolving with Soot

Eric Bodden eric.bodden at ec-spride.de
Fri Jan 4 05:58:31 EST 2013


Hi Yi.

What happens on the second call? Do you actually get a SootClass object?

Eric

On 4 January 2013 03:15, Yi Lin <qinsoon at gmail.com> wrote:
> Hi all,
>
> I am trying to use either Scene.v().forceResolve() or
> SootResolver.v().resolveClass().
>
> However, if I give a wrong class name, e.g. "String" instead of
> "java.lang.String", calling either of the methods above would cause a
> runtime exception saying "couldn't find class: String". However, next
> time when forceResolve() or resolveClass() is called with "String" in
> the same run, no exception is raised. So in this case, is it possible
> for me to tell that the resolving fails?
>
> Regards,
> Yi
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list



-- 
Eric Bodden, Ph.D., http://sse.ec-spride.de/ http://bodden.de/
Head of Secure Software Engineering Group at EC SPRIDE
Tel: +49 6151 16-75422    Fax: +49 6151 16-72051
Room 3.2.14, Mornewegstr. 30, 64293 Darmstadt


More information about the Soot-list mailing list