aboutsummaryrefslogtreecommitdiff
path: root/libctf
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2020-10-21 17:42:42 +0100
committerNick Clifton <nickc@redhat.com>2020-10-21 17:42:42 +0100
commit596245135106b2a965d809e272dc7c758afdc98f (patch)
treeca542fe6fb240578801d6d813939fc1a95d471e5 /libctf
parentc21f37a889dbf57077981970a1b6167a0dcb39af (diff)
downloadbinutils-596245135106b2a965d809e272dc7c758afdc98f.zip
binutils-596245135106b2a965d809e272dc7c758afdc98f.tar.gz
binutils-596245135106b2a965d809e272dc7c758afdc98f.tar.bz2
Work around problem in DWARF decoding library which can result in attempts to read arbitrary bytes as if they were an LEB128 encoded value.
* dwarf.c (skip_attr_bytes): Accept DWARF versions higher than 4 when processing the DW_FORM_ref_addr form. Skip bytes in DW_FORM_block and DW_FORM_exprloc forms. Handle DW_FORM_indirect. (get_type_signedness): Allow a limited amount of recursion. Do not attempt to decode types that use the DW_FORM_ref_addr form. (read_and_display_attr_value): Do not attempt to decode types that use the DW_FORM_ref_addr form.
Diffstat (limited to 'libctf')
0 files changed, 0 insertions, 0 deletions