• Home
  • Raw
  • Download

Lines Matching refs:bytes

63   const uint8_t *bytes = data->d_buf + off;  in dwarf_next_cfi()  local
69 uint64_t length = read_4ubyte_unaligned_inc (&dw, bytes); in dwarf_next_cfi()
75 if (unlikely (limit - bytes < 8)) in dwarf_next_cfi()
81 length = read_8ubyte_unaligned_inc (&dw, bytes); in dwarf_next_cfi()
90 if (unlikely ((uint64_t) (limit - bytes) < length) in dwarf_next_cfi()
100 limit = bytes + length; in dwarf_next_cfi()
102 const uint8_t *const cie_pointer_start = bytes; in dwarf_next_cfi()
104 entry->cie.CIE_id = read_8ubyte_unaligned_inc (&dw, bytes); in dwarf_next_cfi()
107 entry->cie.CIE_id = read_4ubyte_unaligned_inc (&dw, bytes); in dwarf_next_cfi()
132 uint8_t version = *bytes++; in dwarf_next_cfi()
137 entry->cie.augmentation = (const char *) bytes; in dwarf_next_cfi()
139 bytes = memchr (bytes, '\0', limit - bytes); in dwarf_next_cfi()
140 if (unlikely (bytes == NULL)) in dwarf_next_cfi()
142 ++bytes; in dwarf_next_cfi()
149 if (unlikely (limit - bytes < 5)) in dwarf_next_cfi()
154 if (unlikely (*bytes != address_size)) in dwarf_next_cfi()
159 address_size = *bytes++; in dwarf_next_cfi()
160 segment_size = *bytes++; in dwarf_next_cfi()
177 bytes += address_size; in dwarf_next_cfi()
180 if (bytes >= limit) in dwarf_next_cfi()
182 get_uleb128 (entry->cie.code_alignment_factor, bytes, limit); in dwarf_next_cfi()
184 if (bytes >= limit) in dwarf_next_cfi()
186 get_sleb128 (entry->cie.data_alignment_factor, bytes, limit); in dwarf_next_cfi()
188 if (bytes >= limit) in dwarf_next_cfi()
192 get_uleb128 (entry->cie.return_address_register, bytes, limit); in dwarf_next_cfi()
194 entry->cie.return_address_register = *bytes++; in dwarf_next_cfi()
202 if (bytes >= limit) in dwarf_next_cfi()
204 get_uleb128 (entry->cie.augmentation_data_size, bytes, limit); in dwarf_next_cfi()
205 if ((Dwarf_Word) (limit - bytes) < entry->cie.augmentation_data_size) in dwarf_next_cfi()
207 entry->cie.augmentation_data = bytes; in dwarf_next_cfi()
208 bytes += entry->cie.augmentation_data_size; in dwarf_next_cfi()
212 entry->cie.augmentation_data = bytes; in dwarf_next_cfi()
221 encoding = *bytes++; in dwarf_next_cfi()
226 encoding = *bytes++; in dwarf_next_cfi()
227 bytes += encoded_value_size (data, e_ident, encoding, bytes); in dwarf_next_cfi()
239 = bytes - entry->cie.augmentation_data; in dwarf_next_cfi()
242 entry->cie.initial_instructions = bytes; in dwarf_next_cfi()
247 entry->fde.start = bytes; in dwarf_next_cfi()