[Soot-list] Getting a reference to Throwable object in Trap handler
Steven Arzt
Steven.Arzt at cased.de
Tue Oct 6 12:02:56 EDT 2015
Hi Naveen,
Soot is a static tool, so you can't get access to the runtime exception
object. You can only interpret the code of the program, not look at any real
object instances. There is no such thing as a runtime state in program
analysis. What you can do, though, is find out which lines can theoretically
throw a specific exception.
Best regards,
Steven
Von: soot-list-bounces at CS.McGill.CA [mailto:soot-list-bounces at CS.McGill.CA]
Im Auftrag von Naveen Neelakandan
Gesendet: Dienstag, 6. Oktober 2015 17:27
An: soot-list at CS.McGill.CA
Betreff: [Soot-list] Getting a reference to Throwable object in Trap handler
Hello,
I would like to know if there is any way in which I can obtain a reference
to the throwable object being caught at the handler block of the trap.
Specifically, I would need this to check which line the exception was thrown
at. Please let me know if there is a way to access the throwable or some
other way in which I can obtain the exception thrown line number.
Thanks,
Naveen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20151006/40f3a3d2/attachment.html
More information about the Soot-list
mailing list