Lines Matching refs:bytes
62 const uint8_t *bytes = data->d_buf + off; in dwarf_next_cfi() local
68 uint64_t length = read_4ubyte_unaligned_inc (&dw, bytes); in dwarf_next_cfi()
74 if (unlikely (limit - bytes < 8)) in dwarf_next_cfi()
80 length = read_8ubyte_unaligned_inc (&dw, bytes); in dwarf_next_cfi()
82 if (unlikely ((uint64_t) (limit - bytes) < length) in dwarf_next_cfi()
92 limit = bytes + length; in dwarf_next_cfi()
94 const uint8_t *const cie_pointer_start = bytes; in dwarf_next_cfi()
96 entry->cie.CIE_id = read_8ubyte_unaligned_inc (&dw, bytes); in dwarf_next_cfi()
99 entry->cie.CIE_id = read_4ubyte_unaligned_inc (&dw, bytes); in dwarf_next_cfi()
124 uint8_t version = *bytes++; in dwarf_next_cfi()
129 entry->cie.augmentation = (const char *) bytes; in dwarf_next_cfi()
131 bytes = memchr (bytes, '\0', limit - bytes); in dwarf_next_cfi()
132 if (unlikely (bytes == NULL)) in dwarf_next_cfi()
134 ++bytes; in dwarf_next_cfi()
141 if (unlikely (limit - bytes < 5)) in dwarf_next_cfi()
146 if (unlikely (*bytes != address_size)) in dwarf_next_cfi()
151 address_size = *bytes++; in dwarf_next_cfi()
152 segment_size = *bytes++; in dwarf_next_cfi()
169 bytes += address_size; in dwarf_next_cfi()
172 if (bytes >= limit) in dwarf_next_cfi()
174 get_uleb128 (entry->cie.code_alignment_factor, bytes, limit); in dwarf_next_cfi()
176 if (bytes >= limit) in dwarf_next_cfi()
178 get_sleb128 (entry->cie.data_alignment_factor, bytes, limit); in dwarf_next_cfi()
180 if (bytes >= limit) in dwarf_next_cfi()
184 get_uleb128 (entry->cie.return_address_register, bytes, limit); in dwarf_next_cfi()
186 entry->cie.return_address_register = *bytes++; in dwarf_next_cfi()
194 if (bytes >= limit) in dwarf_next_cfi()
196 get_uleb128 (entry->cie.augmentation_data_size, bytes, limit); in dwarf_next_cfi()
197 if ((Dwarf_Word) (limit - bytes) < entry->cie.augmentation_data_size) in dwarf_next_cfi()
199 entry->cie.augmentation_data = bytes; in dwarf_next_cfi()
200 bytes += entry->cie.augmentation_data_size; in dwarf_next_cfi()
204 entry->cie.augmentation_data = bytes; in dwarf_next_cfi()
213 encoding = *bytes++; in dwarf_next_cfi()
218 encoding = *bytes++; in dwarf_next_cfi()
219 bytes += encoded_value_size (data, e_ident, encoding, bytes); in dwarf_next_cfi()
231 = bytes - entry->cie.augmentation_data; in dwarf_next_cfi()
234 entry->cie.initial_instructions = bytes; in dwarf_next_cfi()
239 entry->fde.start = bytes; in dwarf_next_cfi()