[Soot-list] exception handler lookup

Greg Dennis gdennis at mit.edu
Tue Mar 14 14:24:25 EST 2006


Given a unit and an exception type, I want to know the simplest way to
lookup the handler if the unit were to throw an exception of that
type. Specifically, given a unit 'u' in a method 'm' and the runtime
type of an exception 'e', I would like to know the handler unit in m
that would that would be the successor of u if u throws e. If there is
no such handler in m -- if m does not catch e at u -- I do *not* need
to know the potential handlers in m's callers. Just a special unknown
value in the latter case would do.

Thanks,
Greg


More information about the Soot-list mailing list