Lines Matching refs:hdrptr

2331       unsigned char *hdrptr;  in process_debug_info()  local
2344 hdrptr = start; in process_debug_info()
2346 SAFE_BYTE_GET_AND_INC (compunit.cu_length, hdrptr, 4, end); in process_debug_info()
2350 SAFE_BYTE_GET_AND_INC (compunit.cu_length, hdrptr, 8, end); in process_debug_info()
2360 SAFE_BYTE_GET_AND_INC (compunit.cu_version, hdrptr, 2, end); in process_debug_info()
2366 SAFE_BYTE_GET_AND_INC (compunit.cu_abbrev_offset, hdrptr, offset_size, end); in process_debug_info()
2379 SAFE_BYTE_GET_AND_INC (compunit.cu_pointer_size, hdrptr, 1, end); in process_debug_info()
2390 SAFE_BYTE_GET64 (hdrptr, &signature_high, &signature_low, end); in process_debug_info()
2391 hdrptr += 8; in process_debug_info()
2392 SAFE_BYTE_GET_AND_INC (type_offset, hdrptr, offset_size, end); in process_debug_info()
2467 tags = hdrptr; in process_debug_info()
2712 unsigned char *hdrptr; in read_debug_line_header() local
2718 hdrptr = data; in read_debug_line_header()
2721 SAFE_BYTE_GET_AND_INC (linfo->li_length, hdrptr, 4, end); in read_debug_line_header()
2726 SAFE_BYTE_GET_AND_INC (linfo->li_length, hdrptr, 8, end); in read_debug_line_header()
2757 SAFE_BYTE_GET_AND_INC (linfo->li_version, hdrptr, 2, end); in read_debug_line_header()
2777 SAFE_BYTE_GET_AND_INC (linfo->li_address_size, hdrptr, 1, end); in read_debug_line_header()
2778 SAFE_BYTE_GET_AND_INC (linfo->li_segment_size, hdrptr, 1, end); in read_debug_line_header()
2781 SAFE_BYTE_GET_AND_INC (linfo->li_prologue_length, hdrptr, offset_size, end); in read_debug_line_header()
2783 SAFE_BYTE_GET_AND_INC (linfo->li_min_insn_length, hdrptr, 1, end); in read_debug_line_header()
2787 SAFE_BYTE_GET_AND_INC (linfo->li_max_ops_per_insn, hdrptr, 1, end); in read_debug_line_header()
2798 SAFE_BYTE_GET_AND_INC (linfo->li_default_is_stmt, hdrptr, 1, end); in read_debug_line_header()
2799 SAFE_SIGNED_BYTE_GET_AND_INC (linfo->li_line_base, hdrptr, 1, end); in read_debug_line_header()
2800 SAFE_BYTE_GET_AND_INC (linfo->li_line_range, hdrptr, 1, end); in read_debug_line_header()
2801 SAFE_BYTE_GET_AND_INC (linfo->li_opcode_base, hdrptr, 1, end); in read_debug_line_header()
2804 return hdrptr; in read_debug_line_header()
3290 unsigned char *hdrptr = NULL; in display_debug_lines_raw() local
3316 if ((hdrptr = read_debug_line_header (section, data, end, & linfo, in display_debug_lines_raw()
3350 standard_opcodes = hdrptr; in display_debug_lines_raw()
3421 && hdrptr != NULL in display_debug_lines_raw()
3503 unsigned char *hdrptr; in display_debug_lines_decoded() local
3505 if ((hdrptr = read_debug_line_header (section, data, end, & linfo, in display_debug_lines_decoded()
3514 standard_opcodes = hdrptr; in display_debug_lines_decoded()
4208 unsigned char *hdrptr, *dirtable, *file_name; in get_line_filename_and_dirname() local
4220 hdrptr = section->start + line_offset; in get_line_filename_and_dirname()
4223 SAFE_BYTE_GET_AND_INC (length, hdrptr, 4, end); in get_line_filename_and_dirname()
4227 SAFE_BYTE_GET_AND_INC (length, hdrptr, 8, end); in get_line_filename_and_dirname()
4239 SAFE_BYTE_GET_AND_INC (version, hdrptr, 2, end); in get_line_filename_and_dirname()
4242 hdrptr += offset_size + 1;/* Skip prologue_length and min_insn_length. */ in get_line_filename_and_dirname()
4244 hdrptr++; /* Skip max_ops_per_insn. */ in get_line_filename_and_dirname()
4245 hdrptr += 3; /* Skip default_is_stmt, line_base, line_range. */ in get_line_filename_and_dirname()
4247 SAFE_BYTE_GET_AND_INC (opcode_base, hdrptr, 1, end); in get_line_filename_and_dirname()
4251 hdrptr += opcode_base - 1; in get_line_filename_and_dirname()
4252 dirtable = hdrptr; in get_line_filename_and_dirname()
4254 while (*hdrptr != '\0') in get_line_filename_and_dirname()
4255 hdrptr += strnlen ((char *) hdrptr, end - hdrptr) + 1; in get_line_filename_and_dirname()
4256 hdrptr++; /* Skip the NUL at the end of the table. */ in get_line_filename_and_dirname()
4258 for (; *hdrptr != '\0' && fileidx > 1; fileidx--) in get_line_filename_and_dirname()
4260 hdrptr += strnlen ((char *) hdrptr, end - hdrptr) + 1; in get_line_filename_and_dirname()
4261 read_uleb128 (hdrptr, &bytes_read, end); in get_line_filename_and_dirname()
4262 hdrptr += bytes_read; in get_line_filename_and_dirname()
4263 read_uleb128 (hdrptr, &bytes_read, end); in get_line_filename_and_dirname()
4264 hdrptr += bytes_read; in get_line_filename_and_dirname()
4265 read_uleb128 (hdrptr, &bytes_read, end); in get_line_filename_and_dirname()
4266 hdrptr += bytes_read; in get_line_filename_and_dirname()
4268 if (hdrptr == end || *hdrptr == '\0') in get_line_filename_and_dirname()
4270 file_name = hdrptr; in get_line_filename_and_dirname()
4271 hdrptr += strnlen ((char *) hdrptr, end - hdrptr) + 1; in get_line_filename_and_dirname()
4272 diridx = read_uleb128 (hdrptr, &bytes_read, end); in get_line_filename_and_dirname()
5082 unsigned char *hdrptr; in display_debug_aranges() local
5092 hdrptr = start; in display_debug_aranges()
5094 SAFE_BYTE_GET_AND_INC (arange.ar_length, hdrptr, 4, end); in display_debug_aranges()
5097 SAFE_BYTE_GET_AND_INC (arange.ar_length, hdrptr, 8, end); in display_debug_aranges()
5107 SAFE_BYTE_GET_AND_INC (arange.ar_version, hdrptr, 2, end); in display_debug_aranges()
5108 SAFE_BYTE_GET_AND_INC (arange.ar_info_offset, hdrptr, offset_size, end); in display_debug_aranges()
5116 SAFE_BYTE_GET_AND_INC (arange.ar_pointer_size, hdrptr, 1, end); in display_debug_aranges()
5117 SAFE_BYTE_GET_AND_INC (arange.ar_segment_size, hdrptr, 1, end); in display_debug_aranges()
5157 addr_ranges = hdrptr; in display_debug_aranges()
5160 excess = (hdrptr - start) % (2 * address_size); in display_debug_aranges()