This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Is it possible to overflow baton->size in dwarf_mark_symbols_computed() in dwarf2read.c?
Daniel Jacobowitz <drow@false.org> writes:
> No. It should saturate instead; it only needs to be longer than any
> supported location list/expression, and 64k is entirely reasonable for
> that. Int would waste a lot of memory.
Both those structures are twelve bytes long anyway. Their 'size'
fields are followed by two bytes of padding on IA-32.