[Ltrace-devel] minor tweek to elf_plt2addr

Ian Wienand ianw at gelato.unsw.edu.au
Tue Apr 25 19:23:19 UTC 2006


On Tue, Apr 25, 2006 at 10:05:07AM -0700, PAUL GILLIAM wrote:
> This patch gets rid of another .opd related error message.  If the
> calculated .opd entry's offset is past the end of the .opd section,
> then just return the original address and do not print an error message.

Isn't this just a hack really?  Under what cases will you run off the
end of the .opd?  At the very least, I'd suggest this needs
commenting in the code.

-i
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/ltrace-devel/attachments/20060426/e5117e67/attachment.pgp


More information about the Ltrace-devel mailing list