Lines Matching refs:readp
4916 unsigned char **readp, unsigned char *endp, in skip_listptr_hole() argument
4928 || p->offset >= (Dwarf_Off) (endp - *readp + offset)) in skip_listptr_hole()
4930 *readp = endp; in skip_listptr_hole()
4938 *readp += p->offset - offset; in skip_listptr_hole()
5109 const unsigned char *readp = start; in print_debug_addr_section() local
5113 while (readp < readendp) in print_debug_addr_section()
5122 Dwarf_Off off = (Dwarf_Off) (readp in print_debug_addr_section()
5196 unit_length = (uint64_t) (next_unitp - readp); in print_debug_addr_section()
5212 unit_length = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_addr_section()
5215 if (unlikely (readp > readendp - 8)) in print_debug_addr_section()
5221 unit_length = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_addr_section()
5231 if (readp > readendp - 4 in print_debug_addr_section()
5233 || unit_length > (uint64_t) (readendp - readp)) in print_debug_addr_section()
5236 next_unitp = readp + unit_length; in print_debug_addr_section()
5238 version = read_2ubyte_unaligned_inc (dbg, readp); in print_debug_addr_section()
5247 address_size = *readp++; in print_debug_addr_section()
5257 segment_size = *readp++; in print_debug_addr_section()
5268 if (listptr->offset != (Dwarf_Off) (readp - start)) in print_debug_addr_section()
5277 size_t addresses = (next_unitp - readp) / address_size; in print_debug_addr_section()
5285 size_t index_offset = readp - (const unsigned char *) data->d_buf; in print_debug_addr_section()
5287 while (readp <= next_unitp - address_size) in print_debug_addr_section()
5290 readp); in print_debug_addr_section()
5297 if (readp != next_unitp) in print_debug_addr_section()
5299 (size_t) (next_unitp - readp)); in print_debug_addr_section()
5302 readp = next_unitp; in print_debug_addr_section()
5401 const unsigned char *readp = data->d_buf; in print_debug_aranges_section() local
5402 const unsigned char *readendp = readp + data->d_size; in print_debug_aranges_section()
5404 while (readp < readendp) in print_debug_aranges_section()
5406 const unsigned char *hdrstart = readp; in print_debug_aranges_section()
5410 if (readp + 4 > readendp) in print_debug_aranges_section()
5418 Dwarf_Word length = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_aranges_section()
5422 if (readp + 8 > readendp) in print_debug_aranges_section()
5424 length = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_aranges_section()
5428 const unsigned char *nexthdr = readp + length; in print_debug_aranges_section()
5432 if (unlikely (length > (size_t) (readendp - readp))) in print_debug_aranges_section()
5438 if (readp + 2 > readendp) in print_debug_aranges_section()
5440 uint_fast16_t version = read_2ubyte_unaligned_inc (dbg, readp); in print_debug_aranges_section()
5450 if (readp + length_bytes > readendp) in print_debug_aranges_section()
5453 offset = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_aranges_section()
5455 offset = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_aranges_section()
5459 if (readp + 1 > readendp) in print_debug_aranges_section()
5461 unsigned int address_size = *readp++; in print_debug_aranges_section()
5470 if (readp + 1 > readendp) in print_debug_aranges_section()
5472 unsigned int segment_size = *readp++; in print_debug_aranges_section()
5482 readp += ((2 * address_size - ((readp - hdrstart) % (2 * address_size))) in print_debug_aranges_section()
5485 while (readp < nexthdr) in print_debug_aranges_section()
5490 if (readp + 2 * address_size + segment_size > readendp) in print_debug_aranges_section()
5494 range_address = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_aranges_section()
5495 range_length = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_aranges_section()
5499 range_address = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_aranges_section()
5500 range_length = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_aranges_section()
5504 segment = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_aranges_section()
5506 segment = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_aranges_section()
5525 if (readp != nexthdr) in print_debug_aranges_section()
5527 size_t padding = nexthdr - readp; in print_debug_aranges_section()
5529 readp = nexthdr; in print_debug_aranges_section()
5581 const unsigned char *readp = data->d_buf; in print_debug_rnglists_section() local
5584 while (readp < dataend) in print_debug_rnglists_section()
5586 if (unlikely (readp > dataend - 4)) in print_debug_rnglists_section()
5594 ptrdiff_t offset = readp - (unsigned char *) data->d_buf; in print_debug_rnglists_section()
5598 uint64_t unit_length = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_rnglists_section()
5602 if (unlikely (readp > dataend - 8)) in print_debug_rnglists_section()
5605 unit_length = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_rnglists_section()
5613 if (readp > dataend - 8 in print_debug_rnglists_section()
5615 || unit_length > (uint64_t) (dataend - readp)) in print_debug_rnglists_section()
5618 const unsigned char *nexthdr = readp + unit_length; in print_debug_rnglists_section()
5620 uint16_t version = read_2ubyte_unaligned_inc (dbg, readp); in print_debug_rnglists_section()
5629 uint8_t address_size = *readp++; in print_debug_rnglists_section()
5639 uint8_t segment_size = *readp++; in print_debug_rnglists_section()
5649 uint32_t offset_entry_count = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_rnglists_section()
5678 const unsigned char *offset_array_start = readp; in print_debug_rnglists_section()
5697 uint32_t off = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_rnglists_section()
5702 uint64_t off = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_rnglists_section()
5711 while (readp < nexthdr) in print_debug_rnglists_section()
5713 uint8_t kind = *readp++; in print_debug_rnglists_section()
5724 (uint64_t) (readp - (unsigned char *) data->d_buf - 1), in print_debug_rnglists_section()
5725 (uint64_t) (readp - offset_array_start - 1)); in print_debug_rnglists_section()
5738 if ((uint64_t) (nexthdr - readp) < 1) in print_debug_rnglists_section()
5744 get_uleb128 (op1, readp, nexthdr); in print_debug_rnglists_section()
5761 if ((uint64_t) (nexthdr - readp) < 1) in print_debug_rnglists_section()
5763 get_uleb128 (op1, readp, nexthdr); in print_debug_rnglists_section()
5764 if ((uint64_t) (nexthdr - readp) < 1) in print_debug_rnglists_section()
5766 get_uleb128 (op2, readp, nexthdr); in print_debug_rnglists_section()
5791 if ((uint64_t) (nexthdr - readp) < 1) in print_debug_rnglists_section()
5793 get_uleb128 (op1, readp, nexthdr); in print_debug_rnglists_section()
5794 if ((uint64_t) (nexthdr - readp) < 1) in print_debug_rnglists_section()
5796 get_uleb128 (op2, readp, nexthdr); in print_debug_rnglists_section()
5821 if ((uint64_t) (nexthdr - readp) < 1) in print_debug_rnglists_section()
5823 get_uleb128 (op1, readp, nexthdr); in print_debug_rnglists_section()
5824 if ((uint64_t) (nexthdr - readp) < 1) in print_debug_rnglists_section()
5826 get_uleb128 (op2, readp, nexthdr); in print_debug_rnglists_section()
5843 if ((uint64_t) (nexthdr - readp) < 4) in print_debug_rnglists_section()
5845 op1 = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_rnglists_section()
5849 if ((uint64_t) (nexthdr - readp) < 8) in print_debug_rnglists_section()
5851 op1 = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_rnglists_section()
5866 if ((uint64_t) (nexthdr - readp) < 8) in print_debug_rnglists_section()
5868 op1 = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_rnglists_section()
5869 op2 = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_rnglists_section()
5873 if ((uint64_t) (nexthdr - readp) < 16) in print_debug_rnglists_section()
5875 op1 = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_rnglists_section()
5876 op2 = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_rnglists_section()
5892 if ((uint64_t) (nexthdr - readp) < 4) in print_debug_rnglists_section()
5894 op1 = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_rnglists_section()
5898 if ((uint64_t) (nexthdr - readp) < 8) in print_debug_rnglists_section()
5900 op1 = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_rnglists_section()
5902 if ((uint64_t) (nexthdr - readp) < 1) in print_debug_rnglists_section()
5904 get_uleb128 (op2, readp, nexthdr); in print_debug_rnglists_section()
5923 if (readp != nexthdr) in print_debug_rnglists_section()
5925 size_t padding = nexthdr - readp; in print_debug_rnglists_section()
5927 readp = nexthdr; in print_debug_rnglists_section()
5961 unsigned char *readp = data->d_buf; in print_debug_ranges_section() local
5963 while (readp < endp) in print_debug_ranges_section()
5965 ptrdiff_t offset = readp - (unsigned char *) data->d_buf; in print_debug_ranges_section()
5970 offset, &readp, endp, NULL)) in print_debug_ranges_section()
5998 begin = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_ranges_section()
5999 end = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_ranges_section()
6003 begin = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_ranges_section()
6004 end = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_ranges_section()
6081 read_encoded (unsigned int encoding, const unsigned char *readp, in read_encoded() argument
6091 get_uleb128 (*res, readp, endp); in read_encoded()
6094 get_sleb128 (*res, readp, endp); in read_encoded()
6097 if (readp + 2 > endp) in read_encoded()
6099 *res = read_2ubyte_unaligned_inc (dbg, readp); in read_encoded()
6102 if (readp + 4 > endp) in read_encoded()
6104 *res = read_4ubyte_unaligned_inc (dbg, readp); in read_encoded()
6107 if (readp + 8 > endp) in read_encoded()
6109 *res = read_8ubyte_unaligned_inc (dbg, readp); in read_encoded()
6112 if (readp + 2 > endp) in read_encoded()
6114 *res = read_2sbyte_unaligned_inc (dbg, readp); in read_encoded()
6117 if (readp + 4 > endp) in read_encoded()
6119 *res = read_4sbyte_unaligned_inc (dbg, readp); in read_encoded()
6122 if (readp + 8 > endp) in read_encoded()
6124 *res = read_8sbyte_unaligned_inc (dbg, readp); in read_encoded()
6132 return readp; in read_encoded()
6137 print_cfa_program (const unsigned char *readp, const unsigned char *const endp, in print_cfa_program() argument
6153 while (readp < endp) in print_cfa_program()
6155 unsigned int opcode = *readp++; in print_cfa_program()
6170 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6172 readp = read_encoded (encoding, readp, endp, &op1, dbg); in print_cfa_program()
6177 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6180 *readp, pc += *readp * code_align); in print_cfa_program()
6181 ++readp; in print_cfa_program()
6184 if ((uint64_t) (endp - readp) < 2) in print_cfa_program()
6186 op1 = read_2ubyte_unaligned_inc (dbg, readp); in print_cfa_program()
6191 if ((uint64_t) (endp - readp) < 4) in print_cfa_program()
6193 op1 = read_4ubyte_unaligned_inc (dbg, readp); in print_cfa_program()
6198 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6200 get_uleb128 (op1, readp, endp); in print_cfa_program()
6201 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6203 get_uleb128 (op2, readp, endp); in print_cfa_program()
6209 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6211 get_uleb128 (op1, readp, endp); in print_cfa_program()
6216 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6218 get_uleb128 (op1, readp, endp); in print_cfa_program()
6222 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6224 get_uleb128 (op1, readp, endp); in print_cfa_program()
6228 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6230 get_uleb128 (op1, readp, endp); in print_cfa_program()
6231 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6233 get_uleb128 (op2, readp, endp); in print_cfa_program()
6244 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6246 get_uleb128 (op1, readp, endp); in print_cfa_program()
6247 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6249 get_uleb128 (op2, readp, endp); in print_cfa_program()
6254 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6256 get_uleb128 (op1, readp, endp); in print_cfa_program()
6261 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6263 get_uleb128 (op1, readp, endp); in print_cfa_program()
6267 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6269 get_uleb128 (op1, readp, endp); /* Length of DW_FORM_block. */ in print_cfa_program()
6271 if ((uint64_t) (endp - readp) < op1) in print_cfa_program()
6278 op1, readp); in print_cfa_program()
6279 readp += op1; in print_cfa_program()
6282 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6284 get_uleb128 (op1, readp, endp); in print_cfa_program()
6285 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6287 get_uleb128 (op2, readp, endp); /* Length of DW_FORM_block. */ in print_cfa_program()
6290 if ((uint64_t) (endp - readp) < op2) in print_cfa_program()
6293 op2, readp); in print_cfa_program()
6294 readp += op2; in print_cfa_program()
6297 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6299 get_uleb128 (op1, readp, endp); in print_cfa_program()
6300 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6302 get_sleb128 (sop2, readp, endp); in print_cfa_program()
6308 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6310 get_uleb128 (op1, readp, endp); in print_cfa_program()
6311 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6313 get_sleb128 (sop2, readp, endp); in print_cfa_program()
6318 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6320 get_sleb128 (sop1, readp, endp); in print_cfa_program()
6324 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6326 get_uleb128 (op1, readp, endp); in print_cfa_program()
6327 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6329 get_uleb128 (op2, readp, endp); in print_cfa_program()
6334 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6336 get_uleb128 (op1, readp, endp); in print_cfa_program()
6337 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6339 get_sleb128 (sop2, readp, endp); in print_cfa_program()
6344 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6346 get_uleb128 (op1, readp, endp); in print_cfa_program()
6347 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6349 get_uleb128 (op2, readp, endp); /* Length of DW_FORM_block. */ in print_cfa_program()
6352 if ((uint64_t) (endp - readp) < op2) in print_cfa_program()
6355 NULL, op2, readp); in print_cfa_program()
6356 readp += op2; in print_cfa_program()
6359 if ((uint64_t) (endp - readp) < 8) in print_cfa_program()
6361 op1 = read_8ubyte_unaligned_inc (dbg, readp); in print_cfa_program()
6369 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6371 get_uleb128 (op1, readp, endp); in print_cfa_program()
6384 if ((uint64_t) (endp - readp) < 1) in print_cfa_program()
6386 get_uleb128 (offset, readp, endp); in print_cfa_program()
6565 const unsigned char *readp = data->d_buf; in print_debug_frame_section() local
6568 while (readp < dataend) in print_debug_frame_section()
6570 if (unlikely (readp + 4 > dataend)) in print_debug_frame_section()
6580 ptrdiff_t offset = readp - (unsigned char *) data->d_buf; in print_debug_frame_section()
6582 Dwarf_Word unit_length = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_frame_section()
6586 if (unlikely (readp + 8 > dataend)) in print_debug_frame_section()
6589 unit_length = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_frame_section()
6599 Dwarf_Word maxsize = dataend - readp; in print_debug_frame_section()
6605 ptrdiff_t start = readp - (unsigned char *) data->d_buf; in print_debug_frame_section()
6606 const unsigned char *const cieend = readp + unit_length; in print_debug_frame_section()
6613 if (unlikely (cieend - readp < 4)) in print_debug_frame_section()
6615 cie_id = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_frame_section()
6621 if (unlikely (cieend - readp < 8)) in print_debug_frame_section()
6623 cie_id = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_frame_section()
6636 if (unlikely (cieend - readp < 2)) in print_debug_frame_section()
6638 version = *readp++; in print_debug_frame_section()
6639 const char *const augmentation = (const char *) readp; in print_debug_frame_section()
6640 readp = memchr (readp, '\0', cieend - readp); in print_debug_frame_section()
6641 if (unlikely (readp == NULL)) in print_debug_frame_section()
6643 ++readp; in print_debug_frame_section()
6648 if (cieend - readp < 5) in print_debug_frame_section()
6650 ptr_size = *readp++; in print_debug_frame_section()
6651 segment_size = *readp++; in print_debug_frame_section()
6654 if (cieend - readp < 1) in print_debug_frame_section()
6656 get_uleb128 (code_alignment_factor, readp, cieend); in print_debug_frame_section()
6657 if (cieend - readp < 1) in print_debug_frame_section()
6659 get_sleb128 (data_alignment_factor, readp, cieend); in print_debug_frame_section()
6663 readp += ehdr->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8; in print_debug_frame_section()
6666 if (cieend - readp < 1) in print_debug_frame_section()
6669 return_address_register = *readp++; in print_debug_frame_section()
6671 get_uleb128 (return_address_register, readp, cieend); in print_debug_frame_section()
6692 get_uleb128 (augmentationlen, readp, cieend); in print_debug_frame_section()
6694 if (augmentationlen > (size_t) (cieend - readp)) in print_debug_frame_section()
6697 readp = cieend; in print_debug_frame_section()
6705 printf (" %-26s%#x ", hdr, *readp); in print_debug_frame_section()
6710 fde_encoding = *readp++; in print_debug_frame_section()
6716 lsda_encoding = *readp++; in print_debug_frame_section()
6724 const unsigned char *startp = readp; in print_debug_frame_section()
6725 unsigned int encoding = *readp++; in print_debug_frame_section()
6727 readp = read_encoded (encoding, readp, in print_debug_frame_section()
6728 readp - 1 + augmentationlen, in print_debug_frame_section()
6731 while (++startp < readp) in print_debug_frame_section()
6750 printf ("(%x)\n", *readp++); in print_debug_frame_section()
6793 const unsigned char *base = readp; in print_debug_frame_section()
6795 initial_location = read_addr_unaligned_inc (ptr_size, dbg, readp); in print_debug_frame_section()
6797 = read_addr_unaligned_inc (ptr_size, dbg, readp); in print_debug_frame_section()
6844 if (cieend - readp < 1) in print_debug_frame_section()
6846 get_uleb128 (augmentationlen, readp, cieend); in print_debug_frame_section()
6848 if (augmentationlen > (size_t) (cieend - readp)) in print_debug_frame_section()
6851 readp = cieend; in print_debug_frame_section()
6867 = read_encoded (lsda_encoding, &readp[u], in print_debug_frame_section()
6868 &readp[augmentationlen], in print_debug_frame_section()
6870 u = p - readp; in print_debug_frame_section()
6881 printf (" %-26s%#x\n", hdr, readp[u++]); in print_debug_frame_section()
6886 readp += augmentationlen; in print_debug_frame_section()
6894 print_cfa_program (readp, cieend, vma_base, code_alignment_factor, in print_debug_frame_section()
6897 readp = cieend; in print_debug_frame_section()
7967 print_form_data (Dwarf *dbg, int form, const unsigned char *readp, in print_form_data() argument
7978 if (readendp - readp < 1) in print_form_data()
7984 val = *readp++; in print_form_data()
7989 if (readendp - readp < 2) in print_form_data()
7991 val = read_2ubyte_unaligned_inc (dbg, readp); in print_form_data()
7996 if (readendp - readp < 4) in print_form_data()
7998 val = read_4ubyte_unaligned_inc (dbg, readp); in print_form_data()
8003 if (readendp - readp < 8) in print_form_data()
8005 val = read_8ubyte_unaligned_inc (dbg, readp); in print_form_data()
8010 if (readendp - readp < 1) in print_form_data()
8012 get_sleb128 (val, readp, readendp); in print_form_data()
8017 if (readendp - readp < 1) in print_form_data()
8019 get_uleb128 (val, readp, readendp); in print_form_data()
8024 if (readendp - readp < 1) in print_form_data()
8026 get_uleb128 (val, readp, readendp); in print_form_data()
8027 if ((size_t) (readendp - readp) < val) in print_form_data()
8029 print_bytes (val, readp); in print_form_data()
8030 readp += val; in print_form_data()
8034 if (readendp - readp < 1) in print_form_data()
8036 val = *readp++; in print_form_data()
8037 if ((size_t) (readendp - readp) < val) in print_form_data()
8039 print_bytes (val, readp); in print_form_data()
8040 readp += val; in print_form_data()
8044 if (readendp - readp < 2) in print_form_data()
8046 val = read_2ubyte_unaligned_inc (dbg, readp); in print_form_data()
8047 if ((size_t) (readendp - readp) < val) in print_form_data()
8049 print_bytes (val, readp); in print_form_data()
8050 readp += val; in print_form_data()
8054 if (readendp - readp < 4) in print_form_data()
8056 val = read_4ubyte_unaligned_inc (dbg, readp); in print_form_data()
8057 if ((size_t) (readendp - readp) < val) in print_form_data()
8059 print_bytes (val, readp); in print_form_data()
8060 readp += val; in print_form_data()
8064 if (readendp - readp < 16) in print_form_data()
8066 print_bytes (16, readp); in print_form_data()
8067 readp += 16; in print_form_data()
8071 if (readendp - readp < 1) in print_form_data()
8073 val = *readp++; in print_form_data()
8078 endp = memchr (readp, '\0', readendp - readp); in print_form_data()
8081 printf ("%s", readp); in print_form_data()
8082 readp = endp + 1; in print_form_data()
8088 if ((size_t) (readendp - readp) < offset_len) in print_form_data()
8091 val = read_8ubyte_unaligned_inc (dbg, readp); in print_form_data()
8093 val = read_4ubyte_unaligned_inc (dbg, readp); in print_form_data()
8112 if ((size_t) (readendp - readp) < offset_len) in print_form_data()
8115 val = read_8ubyte_unaligned_inc (dbg, readp); in print_form_data()
8117 val = read_4ubyte_unaligned_inc (dbg, readp); in print_form_data()
8123 if (readendp - readp < 1) in print_form_data()
8125 get_uleb128 (val, readp, readendp); in print_form_data()
8158 if (readendp - readp < 1) in print_form_data()
8160 val = *readp++; in print_form_data()
8164 if (readendp - readp < 2) in print_form_data()
8166 val = read_2ubyte_unaligned_inc (dbg, readp); in print_form_data()
8170 if (readendp - readp < 3) in print_form_data()
8172 val = read_3ubyte_unaligned_inc (dbg, readp); in print_form_data()
8176 if (readendp - readp < 4) in print_form_data()
8178 val = read_4ubyte_unaligned_inc (dbg, readp); in print_form_data()
8186 return readp; in print_form_data()
8903 const unsigned char *readp = data->d_buf; in print_debug_loclists_section() local
8906 while (readp < dataend) in print_debug_loclists_section()
8908 if (unlikely (readp > dataend - 4)) in print_debug_loclists_section()
8916 ptrdiff_t offset = readp - (unsigned char *) data->d_buf; in print_debug_loclists_section()
8920 uint64_t unit_length = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_loclists_section()
8924 if (unlikely (readp > dataend - 8)) in print_debug_loclists_section()
8927 unit_length = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_loclists_section()
8935 if (readp > dataend - 8 in print_debug_loclists_section()
8937 || unit_length > (uint64_t) (dataend - readp)) in print_debug_loclists_section()
8940 const unsigned char *nexthdr = readp + unit_length; in print_debug_loclists_section()
8942 uint16_t version = read_2ubyte_unaligned_inc (dbg, readp); in print_debug_loclists_section()
8951 uint8_t address_size = *readp++; in print_debug_loclists_section()
8961 uint8_t segment_size = *readp++; in print_debug_loclists_section()
8971 uint32_t offset_entry_count = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_loclists_section()
9000 const unsigned char *offset_array_start = readp; in print_debug_loclists_section()
9019 uint32_t off = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_loclists_section()
9024 uint64_t off = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_loclists_section()
9033 while (readp < nexthdr) in print_debug_loclists_section()
9035 uint8_t kind = *readp++; in print_debug_loclists_section()
9046 (uint64_t) (readp - (unsigned char *) data->d_buf - 1), in print_debug_loclists_section()
9047 (uint64_t) (readp - offset_array_start - 1)); in print_debug_loclists_section()
9060 if ((uint64_t) (nexthdr - readp) < 1) in print_debug_loclists_section()
9066 get_uleb128 (op1, readp, nexthdr); in print_debug_loclists_section()
9083 if ((uint64_t) (nexthdr - readp) < 1) in print_debug_loclists_section()
9085 get_uleb128 (op1, readp, nexthdr); in print_debug_loclists_section()
9086 if ((uint64_t) (nexthdr - readp) < 1) in print_debug_loclists_section()
9088 get_uleb128 (op2, readp, nexthdr); in print_debug_loclists_section()
9110 if ((uint64_t) (nexthdr - readp) < 1) in print_debug_loclists_section()
9112 get_uleb128 (len, readp, nexthdr); in print_debug_loclists_section()
9113 if ((uint64_t) (nexthdr - readp) < len) in print_debug_loclists_section()
9116 address_size, offset_size, cu, len, readp); in print_debug_loclists_section()
9117 readp += len; in print_debug_loclists_section()
9121 if ((uint64_t) (nexthdr - readp) < 1) in print_debug_loclists_section()
9123 get_uleb128 (op1, readp, nexthdr); in print_debug_loclists_section()
9124 if ((uint64_t) (nexthdr - readp) < 1) in print_debug_loclists_section()
9126 get_uleb128 (op2, readp, nexthdr); in print_debug_loclists_section()
9148 if ((uint64_t) (nexthdr - readp) < 1) in print_debug_loclists_section()
9150 get_uleb128 (len, readp, nexthdr); in print_debug_loclists_section()
9151 if ((uint64_t) (nexthdr - readp) < len) in print_debug_loclists_section()
9154 address_size, offset_size, cu, len, readp); in print_debug_loclists_section()
9155 readp += len; in print_debug_loclists_section()
9159 if ((uint64_t) (nexthdr - readp) < 1) in print_debug_loclists_section()
9161 get_uleb128 (op1, readp, nexthdr); in print_debug_loclists_section()
9162 if ((uint64_t) (nexthdr - readp) < 1) in print_debug_loclists_section()
9164 get_uleb128 (op2, readp, nexthdr); in print_debug_loclists_section()
9176 if ((uint64_t) (nexthdr - readp) < 1) in print_debug_loclists_section()
9178 get_uleb128 (len, readp, nexthdr); in print_debug_loclists_section()
9179 if ((uint64_t) (nexthdr - readp) < len) in print_debug_loclists_section()
9182 address_size, offset_size, cu, len, readp); in print_debug_loclists_section()
9183 readp += len; in print_debug_loclists_section()
9187 if ((uint64_t) (nexthdr - readp) < 1) in print_debug_loclists_section()
9189 get_uleb128 (len, readp, nexthdr); in print_debug_loclists_section()
9190 if ((uint64_t) (nexthdr - readp) < len) in print_debug_loclists_section()
9193 address_size, offset_size, cu, len, readp); in print_debug_loclists_section()
9194 readp += len; in print_debug_loclists_section()
9200 if ((uint64_t) (nexthdr - readp) < 4) in print_debug_loclists_section()
9202 op1 = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_loclists_section()
9206 if ((uint64_t) (nexthdr - readp) < 8) in print_debug_loclists_section()
9208 op1 = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_loclists_section()
9223 if ((uint64_t) (nexthdr - readp) < 8) in print_debug_loclists_section()
9225 op1 = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_loclists_section()
9226 op2 = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_loclists_section()
9230 if ((uint64_t) (nexthdr - readp) < 16) in print_debug_loclists_section()
9232 op1 = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_loclists_section()
9233 op2 = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_loclists_section()
9244 if ((uint64_t) (nexthdr - readp) < 1) in print_debug_loclists_section()
9246 get_uleb128 (len, readp, nexthdr); in print_debug_loclists_section()
9247 if ((uint64_t) (nexthdr - readp) < len) in print_debug_loclists_section()
9250 address_size, offset_size, cu, len, readp); in print_debug_loclists_section()
9251 readp += len; in print_debug_loclists_section()
9257 if ((uint64_t) (nexthdr - readp) < 4) in print_debug_loclists_section()
9259 op1 = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_loclists_section()
9263 if ((uint64_t) (nexthdr - readp) < 8) in print_debug_loclists_section()
9265 op1 = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_loclists_section()
9267 if ((uint64_t) (nexthdr - readp) < 1) in print_debug_loclists_section()
9269 get_uleb128 (op2, readp, nexthdr); in print_debug_loclists_section()
9280 if ((uint64_t) (nexthdr - readp) < 1) in print_debug_loclists_section()
9282 get_uleb128 (len, readp, nexthdr); in print_debug_loclists_section()
9283 if ((uint64_t) (nexthdr - readp) < len) in print_debug_loclists_section()
9286 address_size, offset_size, cu, len, readp); in print_debug_loclists_section()
9287 readp += len; in print_debug_loclists_section()
9296 if (readp != nexthdr) in print_debug_loclists_section()
9298 size_t padding = nexthdr - readp; in print_debug_loclists_section()
9300 readp = nexthdr; in print_debug_loclists_section()
9334 unsigned char *readp = data->d_buf; in print_debug_loc_section() local
9337 while (readp < endp) in print_debug_loc_section()
9339 ptrdiff_t offset = readp - (unsigned char *) data->d_buf; in print_debug_loc_section()
9345 &cu, offset, &readp, endp, &attr)) in print_debug_loc_section()
9367 const unsigned char *locp = readp; in print_debug_loc_section()
9395 readp = (unsigned char *) locendp; in print_debug_loc_section()
9417 const unsigned char *locp = readp; in print_debug_loc_section()
9418 const unsigned char *locendp = readp + data->d_size; in print_debug_loc_section()
9471 readp = (unsigned char *) locp; in print_debug_loc_section()
9475 begin = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_loc_section()
9476 end = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_loc_section()
9480 begin = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_loc_section()
9481 end = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_loc_section()
9502 uint_fast16_t len = read_2ubyte_unaligned_inc (dbg, readp); in print_debug_loc_section()
9521 if (endp - readp <= (ptrdiff_t) len) in print_debug_loc_section()
9529 address_size, offset_size, cu, len, readp); in print_debug_loc_section()
9532 readp += len; in print_debug_loc_section()
9632 const unsigned char *readp = (const unsigned char *) data->d_buf; in print_debug_macinfo_section() local
9633 const unsigned char *readendp = readp + data->d_size; in print_debug_macinfo_section()
9636 while (readp < readendp) in print_debug_macinfo_section()
9638 unsigned int opcode = *readp++; in print_debug_macinfo_section()
9653 get_uleb128 (u128, readp, readendp); in print_debug_macinfo_section()
9655 endp = memchr (readp, '\0', readendp - readp); in print_debug_macinfo_section()
9666 level, "", (char *) readp, u128); in print_debug_macinfo_section()
9669 level, "", (char *) readp, u128); in print_debug_macinfo_section()
9671 printf (" #vendor-ext %s, number %u\n", (char *) readp, u128); in print_debug_macinfo_section()
9673 readp = endp + 1; in print_debug_macinfo_section()
9678 get_uleb128 (u128, readp, readendp); in print_debug_macinfo_section()
9679 if (readendp - readp < 1) in print_debug_macinfo_section()
9686 get_uleb128 (u128_2, readp, readendp); in print_debug_macinfo_section()
9689 size_t macoff = readp - (const unsigned char *) data->d_buf; in print_debug_macinfo_section()
9718 if (unlikely (opcode != 0 || readp != readendp)) in print_debug_macinfo_section()
9777 const unsigned char *readp = (const unsigned char *) data->d_buf; in print_debug_macro_section() local
9778 const unsigned char *readendp = readp + data->d_size; in print_debug_macro_section()
9780 while (readp < readendp) in print_debug_macro_section()
9783 (uint64_t) (readp - (const unsigned char *) data->d_buf)); in print_debug_macro_section()
9787 if (readp + 2 > readendp) in print_debug_macro_section()
9793 const uint16_t vers = read_2ubyte_unaligned_inc (dbg, readp); in print_debug_macro_section()
9804 if (readp + 1 > readendp) in print_debug_macro_section()
9806 const unsigned char flag = *readp++; in print_debug_macro_section()
9841 line_offset = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_macro_section()
9843 line_offset = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_macro_section()
9866 if (readp + 1 > readendp) in print_debug_macro_section()
9868 unsigned int tlen = *readp++; in print_debug_macro_section()
9873 if (readp + 1 > readendp) in print_debug_macro_section()
9875 unsigned int opcode = *readp++; in print_debug_macro_section()
9882 vendor[opcode - DW_MACRO_lo_user] = readp; in print_debug_macro_section()
9883 if (readp + 1 > readendp) in print_debug_macro_section()
9885 unsigned int args = *readp++; in print_debug_macro_section()
9891 if (readp + 1 > readendp) in print_debug_macro_section()
9893 unsigned int form = *readp++; in print_debug_macro_section()
9910 if (readp + 1 > readendp) in print_debug_macro_section()
9912 unsigned int opcode = *readp++; in print_debug_macro_section()
9923 get_uleb128 (u128, readp, readendp); in print_debug_macro_section()
9924 if (readp >= readendp) in print_debug_macro_section()
9926 get_uleb128 (u128_2, readp, readendp); in print_debug_macro_section()
9952 get_uleb128 (u128, readp, readendp); in print_debug_macro_section()
9953 endp = memchr (readp, '\0', readendp - readp); in print_debug_macro_section()
9957 level, "", readp, u128); in print_debug_macro_section()
9958 readp = endp + 1; in print_debug_macro_section()
9962 get_uleb128 (u128, readp, readendp); in print_debug_macro_section()
9963 endp = memchr (readp, '\0', readendp - readp); in print_debug_macro_section()
9967 level, "", readp, u128); in print_debug_macro_section()
9968 readp = endp + 1; in print_debug_macro_section()
9972 get_uleb128 (u128, readp, readendp); in print_debug_macro_section()
9973 if (readp + offset_len > readendp) in print_debug_macro_section()
9976 off = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_macro_section()
9978 off = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_macro_section()
9984 get_uleb128 (u128, readp, readendp); in print_debug_macro_section()
9985 if (readp + offset_len > readendp) in print_debug_macro_section()
9988 off = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_macro_section()
9990 off = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_macro_section()
9996 if (readp + offset_len > readendp) in print_debug_macro_section()
9999 off = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_macro_section()
10001 off = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_macro_section()
10007 get_uleb128 (u128, readp, readendp); in print_debug_macro_section()
10008 if (readp + offset_len > readendp) in print_debug_macro_section()
10011 readp = print_form_data (dbg, DW_FORM_strp_sup, in print_debug_macro_section()
10012 readp, readendp, offset_len, in print_debug_macro_section()
10018 get_uleb128 (u128, readp, readendp); in print_debug_macro_section()
10019 if (readp + offset_len > readendp) in print_debug_macro_section()
10022 readp = print_form_data (dbg, DW_FORM_strp_sup, in print_debug_macro_section()
10023 readp, readendp, offset_len, in print_debug_macro_section()
10029 if (readp + offset_len > readendp) in print_debug_macro_section()
10032 off = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_macro_section()
10034 off = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_macro_section()
10041 get_uleb128 (u128, readp, readendp); in print_debug_macro_section()
10042 if (readp + offset_len > readendp) in print_debug_macro_section()
10045 readp = print_form_data (dbg, DW_FORM_strx, in print_debug_macro_section()
10046 readp, readendp, offset_len, in print_debug_macro_section()
10052 get_uleb128 (u128, readp, readendp); in print_debug_macro_section()
10053 if (readp + offset_len > readendp) in print_debug_macro_section()
10056 readp = print_form_data (dbg, DW_FORM_strx, in print_debug_macro_section()
10057 readp, readendp, offset_len, in print_debug_macro_section()
10075 while (args > 0 && readp < readendp) in print_debug_macro_section()
10078 readp = print_form_data (dbg, form, readp, readendp, in print_debug_macro_section()
10087 if (readp + 1 > readendp) in print_debug_macro_section()
10089 opcode = *readp++; in print_debug_macro_section()
10201 const unsigned char *readp = start; in print_debug_str_offsets_section() local
10205 while (readp < readendp) in print_debug_str_offsets_section()
10214 Dwarf_Off off = (Dwarf_Off) (readp in print_debug_str_offsets_section()
10275 unit_length = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_str_offsets_section()
10278 if (unlikely (readp > readendp - 8)) in print_debug_str_offsets_section()
10284 unit_length = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_str_offsets_section()
10299 if (readp > readendp - 4 in print_debug_str_offsets_section()
10301 || unit_length > (uint64_t) (readendp - readp)) in print_debug_str_offsets_section()
10304 next_unitp = readp + unit_length; in print_debug_str_offsets_section()
10306 version = read_2ubyte_unaligned_inc (dbg, readp); in print_debug_str_offsets_section()
10315 padding = read_2ubyte_unaligned_inc (dbg, readp); in print_debug_str_offsets_section()
10319 && listptr->offset != (Dwarf_Off) (readp - start)) in print_debug_str_offsets_section()
10329 size_t offsets = (next_unitp - readp) / offset_size; in print_debug_str_offsets_section()
10337 size_t index_offset = readp - (const unsigned char *) data->d_buf; in print_debug_str_offsets_section()
10339 while (readp <= next_unitp - offset_size) in print_debug_str_offsets_section()
10343 offset = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_str_offsets_section()
10345 offset = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_str_offsets_section()
10352 if (readp != next_unitp) in print_debug_str_offsets_section()
10354 (size_t) (next_unitp - readp)); in print_debug_str_offsets_section()
10357 readp = next_unitp; in print_debug_str_offsets_section()
10383 const unsigned char *readp = data->d_buf; in print_debug_frame_hdr_section() local
10387 if (unlikely (readp + 4 > dataend)) in print_debug_frame_hdr_section()
10394 unsigned int version = *readp++; in print_debug_frame_hdr_section()
10395 unsigned int eh_frame_ptr_enc = *readp++; in print_debug_frame_hdr_section()
10396 unsigned int fde_count_enc = *readp++; in print_debug_frame_hdr_section()
10397 unsigned int table_enc = *readp++; in print_debug_frame_hdr_section()
10411 readp = read_encoded (eh_frame_ptr_enc, readp, dataend, &eh_frame_ptr, in print_debug_frame_hdr_section()
10413 if (unlikely (readp == NULL)) in print_debug_frame_hdr_section()
10428 readp = read_encoded (fde_count_enc, readp, dataend, &fde_count, dbg); in print_debug_frame_hdr_section()
10429 if (unlikely (readp == NULL)) in print_debug_frame_hdr_section()
10442 while (fde_count > 0 && readp + 8 <= dataend) in print_debug_frame_hdr_section()
10444 int32_t initial_location = read_4sbyte_unaligned_inc (dbg, readp); in print_debug_frame_hdr_section()
10447 int32_t address = read_4sbyte_unaligned_inc (dbg, readp); in print_debug_frame_hdr_section()
10455 while (0 && readp < dataend) in print_debug_frame_hdr_section()
10485 const unsigned char *readp = data->d_buf; in print_debug_exception_table() local
10486 const unsigned char *const dataend = readp + data->d_size; in print_debug_exception_table()
10488 if (unlikely (readp + 1 > dataend)) in print_debug_exception_table()
10494 unsigned int lpstart_encoding = *readp++; in print_debug_exception_table()
10500 readp = read_encoded (lpstart_encoding, readp, dataend, &lpstart, dbg); in print_debug_exception_table()
10504 if (unlikely (readp + 1 > dataend)) in print_debug_exception_table()
10506 unsigned int ttype_encoding = *readp++; in print_debug_exception_table()
10513 get_uleb128 (ttype_base_offset, readp, dataend); in print_debug_exception_table()
10515 if ((size_t) (dataend - readp) > ttype_base_offset) in print_debug_exception_table()
10516 ttype_base = readp + ttype_base_offset; in print_debug_exception_table()
10519 if (unlikely (readp + 1 > dataend)) in print_debug_exception_table()
10521 unsigned int call_site_encoding = *readp++; in print_debug_exception_table()
10525 get_uleb128 (call_site_table_len, readp, dataend); in print_debug_exception_table()
10527 const unsigned char *const action_table = readp + call_site_table_len; in print_debug_exception_table()
10532 while (readp < action_table) in print_debug_exception_table()
10538 readp = read_encoded (call_site_encoding, readp, dataend, in print_debug_exception_table()
10541 readp = read_encoded (call_site_encoding, readp, dataend, in print_debug_exception_table()
10544 readp = read_encoded (call_site_encoding, readp, dataend, in print_debug_exception_table()
10547 get_uleb128 (action, readp, dataend); in print_debug_exception_table()
10555 if (readp != action_table) in print_debug_exception_table()
10578 get_sleb128 (ar_filter, readp, action_table_end); in print_debug_exception_table()
10582 if (readp >= action_table_end) in print_debug_exception_table()
10584 get_sleb128 (ar_disp, readp, action_table_end); in print_debug_exception_table()
10597 while (readp < action_table_end); in print_debug_exception_table()
10629 readp = ttype_base - max_ar_filter * dsize; in print_debug_exception_table()
10633 readp = read_encoded (ttype_encoding, readp, ttype_base, &ttype, in print_debug_exception_table()
10637 while (readp < ttype_base); in print_debug_exception_table()
10667 const unsigned char *readp = data->d_buf; in print_gdb_index_section() local
10668 const unsigned char *const dataend = readp + data->d_size; in print_gdb_index_section()
10670 if (unlikely (readp + 4 > dataend)) in print_gdb_index_section()
10677 int32_t vers = read_4ubyte_unaligned (dbg, readp); in print_gdb_index_section()
10691 readp += 4; in print_gdb_index_section()
10692 if (unlikely (readp + 4 > dataend)) in print_gdb_index_section()
10695 uint32_t cu_off = read_4ubyte_unaligned (dbg, readp); in print_gdb_index_section()
10698 readp += 4; in print_gdb_index_section()
10699 if (unlikely (readp + 4 > dataend)) in print_gdb_index_section()
10702 uint32_t tu_off = read_4ubyte_unaligned (dbg, readp); in print_gdb_index_section()
10705 readp += 4; in print_gdb_index_section()
10706 if (unlikely (readp + 4 > dataend)) in print_gdb_index_section()
10709 uint32_t addr_off = read_4ubyte_unaligned (dbg, readp); in print_gdb_index_section()
10712 readp += 4; in print_gdb_index_section()
10713 if (unlikely (readp + 4 > dataend)) in print_gdb_index_section()
10716 uint32_t sym_off = read_4ubyte_unaligned (dbg, readp); in print_gdb_index_section()
10719 readp += 4; in print_gdb_index_section()
10720 if (unlikely (readp + 4 > dataend)) in print_gdb_index_section()
10723 uint32_t const_off = read_4ubyte_unaligned (dbg, readp); in print_gdb_index_section()
10730 readp = data->d_buf + cu_off; in print_gdb_index_section()
10736 size_t cu_nr = (nextp - readp) / 16; in print_gdb_index_section()
10743 while (dataend - readp >= 16 && n < cu_nr) in print_gdb_index_section()
10745 uint64_t off = read_8ubyte_unaligned (dbg, readp); in print_gdb_index_section()
10746 readp += 8; in print_gdb_index_section()
10748 uint64_t len = read_8ubyte_unaligned (dbg, readp); in print_gdb_index_section()
10749 readp += 8; in print_gdb_index_section()
10756 readp = data->d_buf + tu_off; in print_gdb_index_section()
10761 size_t tu_nr = (nextp - readp) / 24; in print_gdb_index_section()
10768 while (dataend - readp >= 24 && n < tu_nr) in print_gdb_index_section()
10770 uint64_t off = read_8ubyte_unaligned (dbg, readp); in print_gdb_index_section()
10771 readp += 8; in print_gdb_index_section()
10773 uint64_t type = read_8ubyte_unaligned (dbg, readp); in print_gdb_index_section()
10774 readp += 8; in print_gdb_index_section()
10776 uint64_t sig = read_8ubyte_unaligned (dbg, readp); in print_gdb_index_section()
10777 readp += 8; in print_gdb_index_section()
10785 readp = data->d_buf + addr_off; in print_gdb_index_section()
10790 size_t addr_nr = (nextp - readp) / 20; in print_gdb_index_section()
10797 while (dataend - readp >= 20 && n < addr_nr) in print_gdb_index_section()
10799 uint64_t low = read_8ubyte_unaligned (dbg, readp); in print_gdb_index_section()
10800 readp += 8; in print_gdb_index_section()
10802 uint64_t high = read_8ubyte_unaligned (dbg, readp); in print_gdb_index_section()
10803 readp += 8; in print_gdb_index_section()
10805 uint32_t idx = read_4ubyte_unaligned (dbg, readp); in print_gdb_index_section()
10806 readp += 4; in print_gdb_index_section()
10820 readp = data->d_buf + sym_off; in print_gdb_index_section()
10822 size_t sym_nr = (nextp - readp) / 8; in print_gdb_index_section()
10829 while (dataend - readp >= 8 && n < sym_nr) in print_gdb_index_section()
10831 uint32_t name = read_4ubyte_unaligned (dbg, readp); in print_gdb_index_section()
10832 readp += 4; in print_gdb_index_section()
10834 uint32_t vector = read_4ubyte_unaligned (dbg, readp); in print_gdb_index_section()
10835 readp += 4; in print_gdb_index_section()