[Dwarf-Discuss] question about [0x0..0xffffffff] location list entry

Joel Brobecker brobecker@adacore.com
Thu Jan 20 19:28:42 GMT 2011


> >There are indeed two address computations here: adding the base address to
> >each of the two addresses in the location list entry.  I think it would be
> >helpful for DWARF to say explicitly that such calculations should not
> >overflow/wrap.  That is, if the base address plus a list entry address
> >exceeds the maximum address representable by the CU's address_size (as in
> >this example), the list entry is invalid.
> 
> Please submit a comment at http://dwarfstd.org/Comment.php.

Since I asked the questions that started this thread, I think it is
only fair if I submit the comment.

-- 
Joel




More information about the Dwarf-discuss mailing list