diff options
author | Alan Modra <amodra@gmail.com> | 2021-05-15 14:39:11 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-05-15 14:48:33 +0930 |
commit | edba4e4abaf679d3ce4d61fcbfe77b2bebfd4537 (patch) | |
tree | 8d58116fd5731ecfa560c008dd57ff5274013a88 /sim/mn10300/am33.igen | |
parent | ebb17864920d1b15f3c392ce5cd22ddee169e825 (diff) | |
download | gdb-edba4e4abaf679d3ce4d61fcbfe77b2bebfd4537.zip gdb-edba4e4abaf679d3ce4d61fcbfe77b2bebfd4537.tar.gz gdb-edba4e4abaf679d3ce4d61fcbfe77b2bebfd4537.tar.bz2 |
process_debug_info
This patch constrains process_debug_info to stay within the data
specified by the CU length rather than allowing access up to the end
of the section.
* dwarf.c (process_debug_info): Always do the first CU length
scan for sanity checks. Remove initial_length_size var and
instead calculate end_cu. Use end_cu to limit data reads.
Delete now dead code checking length.
Diffstat (limited to 'sim/mn10300/am33.igen')
0 files changed, 0 insertions, 0 deletions