MCPcopy Create free account
hub / github.com/F-Stack/f-stack / unwind_exec_read_byte

Function unwind_exec_read_byte

freebsd/arm/arm/unwind.c:350–367  ·  view source on GitHub ↗

Reads the next byte from the instruction list */

Source from the content-addressed store, hash-verified

348
349/* Reads the next byte from the instruction list */
350static uint8_t
351unwind_exec_read_byte(struct unwind_state *state)
352{
353 uint8_t insn;
354
355 /* Read the unwind instruction */
356 insn = (*state->insn) >> (state->byte * 8);
357
358 /* Update the location of the next instruction */
359 if (state->byte == 0) {
360 state->byte = 3;
361 state->insn++;
362 state->entries--;
363 } else
364 state->byte--;
365
366 return insn;
367}
368
369/* Executes the next instruction on the list */
370static int

Callers 1

unwind_exec_insnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected