[Bug gdb/25479] AddressSanitizer: heap-buffer-overflow in lookup_minimal_symbol_by_pc_name

cbiesinger at google dot com sourceware-bugzilla@sourceware.org
Wed Feb 5 18:35:00 GMT 2020


https://sourceware.org/bugzilla/show_bug.cgi?id=25479

Christian Biesinger <cbiesinger at google dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cbiesinger at google dot com

--- Comment #7 from Christian Biesinger <cbiesinger at google dot com> ---
(In reply to Tom Tromey from comment #5)
> I've looked at it a little.  I tend to think it is a pre-existing
> bug.  I suspect Address Sanitizer doesn't understand how to examine
> objects allocated on an obstack (neither does valgrind...), which is
> why this was never detected.

Offtopic, but Valgrind can be taught this:
http://valgrind.org/docs/manual/mc-manual.html#mc-manual.mempools
I've been meaning to look into that.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list