diff options
author | Nick Clifton <nickc@redhat.com> | 2013-03-26 22:51:12 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-03-26 22:51:12 +0000 |
commit | 0c5882475c48596b92ed08a7ccfa6347d44f8f65 (patch) | |
tree | e9b58739300cb048fec1568190619ba858760253 /binutils/ChangeLog | |
parent | 2c619be216c9fb729c2696fa10957732290b041a (diff) | |
download | gdb-0c5882475c48596b92ed08a7ccfa6347d44f8f65.zip gdb-0c5882475c48596b92ed08a7ccfa6347d44f8f65.tar.gz gdb-0c5882475c48596b92ed08a7ccfa6347d44f8f65.tar.bz2 |
PR binutils/15205
* dwarf.c (SAFE_BYTE_GET): New macro - checks remaining buffer
space before calling byte_get.
(SAFE_BYTE_GET_AND_INC): New macro.
(SAFE_SIGNED_BYTE_GET): New macro.
(SAFE_SIGNED_BYTE_GET_AND_INC): New macro.
(SAFE_BYTE_GET64): New macro.
(process_extened_line_op): Use new macros. Use strnlen when
appropriate.
(fetch_indirect_string): Likewise.
(get_FORM_name): Likewise.
(decode_location_expression): Likewise.
(read_and_display_attr_value): Likewise.
(process_debug_info): Likewise.
(display_debug_lines_raw): Likewise.
(display_debug_lines_decoded): Likewise.
(display_debug_pubnames): Likewise.
(display_debug_macinfo): Likewise.
(get_line_filename_and_dirname): Likewise.
(display_debug_macro): Likewise.
(display_loc_list): Likewise.
(display_loc_list_dwo): Likewise.
(display_debug_aranges): Likewise.
(display_debug_ranges): Likewise.
(frame_display_row): Likewise.
(display_debug_frames): Likewise.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r-- | binutils/ChangeLog | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index ebede02..35233c1 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,32 @@ +2013-03-26 Nick Clifton <nickc@redhat.com> + + PR binutils/15205 + * dwarf.c (SAFE_BYTE_GET): New macro - checks remaining buffer + space before calling byte_get. + (SAFE_BYTE_GET_AND_INC): New macro. + (SAFE_SIGNED_BYTE_GET): New macro. + (SAFE_SIGNED_BYTE_GET_AND_INC): New macro. + (SAFE_BYTE_GET64): New macro. + (process_extened_line_op): Use new macros. Use strnlen when + appropriate. + (fetch_indirect_string): Likewise. + (get_FORM_name): Likewise. + (decode_location_expression): Likewise. + (read_and_display_attr_value): Likewise. + (process_debug_info): Likewise. + (display_debug_lines_raw): Likewise. + (display_debug_lines_decoded): Likewise. + (display_debug_pubnames): Likewise. + (display_debug_macinfo): Likewise. + (get_line_filename_and_dirname): Likewise. + (display_debug_macro): Likewise. + (display_loc_list): Likewise. + (display_loc_list_dwo): Likewise. + (display_debug_aranges): Likewise. + (display_debug_ranges): Likewise. + (frame_display_row): Likewise. + (display_debug_frames): Likewise. + 2013-03-25 Nick Clifton <nickc@redhat.com> PR binutils/15202 |