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

Michael Eager eager at eagercon.com
Thu Jan 20 10:59:52 PST 2011


Roland McGrath wrote:
>> DWARF does not mention overflow in address computations.
>> (Not that there is an address computation here.)  Nor does
>> it mention address ranges wrapping.
> 
> 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.

-- 
Michael Eager	 eager at eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077



More information about the Dwarf-Discuss mailing list