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

Function stack_capture

freebsd/arm/arm/stack_machdep.c:41–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39#include <machine/stack.h>
40
41static void
42stack_capture(struct stack *st, struct unwind_state *state)
43{
44
45 stack_zero(st);
46 while (unwind_stack_one(state, 0) == 0) {
47 if (stack_put(st, state->registers[PC]) == -1)
48 break;
49 }
50}
51
52void
53stack_save(struct stack *st)

Callers 2

stack_saveFunction · 0.70
stack_save_tdFunction · 0.70

Calls 3

stack_zeroFunction · 0.85
unwind_stack_oneFunction · 0.85
stack_putFunction · 0.85

Tested by

no test coverage detected