[Soot-list] SootClass.getMethodByName
Steven Arzt
Steven.Arzt at cased.de
Tue Jan 12 06:05:14 EST 2016
Hi Eugen,
Without further details, it's hard to estimate what's happening there. Maybe
your first calls happens at a point in time when the class has not been
loaded yet. If you are using multiple threads in your code, you might be
trying to access the method while Soot's resolver is still loading the
bodies.
Best regards,
Steven
-----Ursprüngliche Nachricht-----
Von: soot-list-bounces at CS.McGill.CA [mailto:soot-list-bounces at CS.McGill.CA]
Im Auftrag von Eugen Zalinescu
Gesendet: Montag, 11. Januar 2016 16:42
An: soot-list at CS.McGill.CA
Betreff: [Soot-list] SootClass.getMethodByName
Hello,
I get the following behavior. At some point in the program calling the
method SootClass.getMethodByName raises an exception, concretely:
Exception in thread "main" java.lang.RuntimeException: No method
getParameter in class javax.servlet.http.HttpServletRequest
while calling the same method on the same SootClass object later during the
analysis, with the same arguments returns the looked for method.
This seems strange to me, but maybe someone has an explanation for it?
Thanks,
Eugen
_______________________________________________
Soot-list mailing list
Soot-list at CS.McGill.CA
https://mailman.CS.McGill.CA/mailman/listinfo/soot-list
More information about the Soot-list
mailing list