This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Interpreting LSDA information
Yaakov Yaari <YAARI@il.ibm.com> writes:
> LSDA (Language Specific Data Area) is used to store exception handling
> information at the exception catch site, see
> http://www.codesourcery.com/cxx-abi/exceptions.pdf.
>
> For various kinds of binary analyzers (translators, optimizers) it is
> useful to be able to interpret the LSDA of a given C++ function. So, once
> the LSDA extent is identified, are there any tools, scripts, code snippets,
> that can analyze and interpret this LSDA in a raw byte form and produce a
> textual interpretation of it?
It's probably rather more simple minded than you want, but you can get
a dump of sorts by using readelf --debug-dump=frames.
Ian