Interpreting LSDA information
Ian Lance Taylor
iant@google.com
Tue May 29 17:10:00 GMT 2007
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
More information about the Gcc
mailing list