commit | 50d5b2cbfe7e2d790c91e6f799a59c70ab4839ff | [log] [tgz] |
---|---|---|
author | Josh Stone <jistone@redhat.com> | Wed Feb 05 11:26:27 2014 -0800 |
committer | Josh Stone <jistone@redhat.com> | Wed Feb 05 11:26:27 2014 -0800 |
tree | 6c57ab8f62b5c59b7c469d39d6acfa3f91adee48 | |
parent | 27ffb08c789ca9c4b2635ca89b4004b324fb4ea4 [diff] |
libdw: Read DW_AT_decl_file/line/column as unsigned Section 2.14 of the DWARF v3 & v4 standards specifies that all three declaration coordinates are unsigned integer constants. DWARF v2 did not specify signedness. Now dwarf_decl_* use dwarf_formudata to read these values. Also, an assertion on the range of line/column is now a handled error, setting DWARF_E_INVALID_DWARF for values greater than INT_MAX. Signed-off-by: Josh Stone <jistone@redhat.com>