Home
last modified time | relevance | path

Searched refs:frame (Results 1 – 6 of 6) sorted by relevance

/trusty/kernel/lib/backtrace/arch/arm64/
Dbacktrace.c62 static int step_user_frame(struct stack_frame* frame) { in step_user_frame() argument
64 int rc = copy_from_user(&uframe, frame->fp, sizeof(uframe)); in step_user_frame()
69 frame->frame_addr = frame->fp; in step_user_frame()
70 frame->fp = uframe.fp; in step_user_frame()
71 frame->ret_addr = uframe.lr; in step_user_frame()
72 if (is_zero_frame(frame)) { in step_user_frame()
78 static int step_kernel_frame(struct stack_frame* frame, bool current_frame) { in step_kernel_frame() argument
80 void* frame_addr = current_frame ? __GET_FRAME() : (void*)(frame->fp); in step_kernel_frame()
83 frame->frame_addr = (uintptr_t)frame_addr; in step_kernel_frame()
84 frame->fp = kframe.fp; in step_kernel_frame()
[all …]
/trusty/kernel/lib/backtrace/
Dbacktrace.c120 struct stack_frame* frame, in print_function_info() argument
124 uintptr_t pc = arch_extract_return_addr(frame->ret_addr); in print_function_info()
127 print_stack_address(thread, frame->frame_addr); in print_function_info()
149 struct stack_frame* frame) { in dump_user_function() argument
150 uintptr_t ret_addr = arch_extract_return_addr(frame->ret_addr); in dump_user_function()
155 print_function_info(thread, frame, load_bias, &info); in dump_user_function()
157 print_function_info(thread, frame, load_bias, NULL); in dump_user_function()
162 struct stack_frame* frame) { in dump_kernel_function() argument
168 print_function_info(thread, frame, load_bias, NULL); in dump_kernel_function()
176 static void dump_function(thread_t* thread, struct stack_frame* frame) { in dump_function() argument
[all …]
/trusty/kernel/lib/backtrace/include/lib/backtrace/
Dbacktrace.h52 static inline bool is_zero_frame(struct stack_frame* frame) { in is_zero_frame() argument
53 return !frame->fp; in is_zero_frame()
67 void get_current_frame(struct stack_frame* frame);
76 int step_frame(struct stack_frame* frame, bool user);
/trusty/kernel/make/
Dhost_tool.mk50 HOST_SANITIZER_FLAGS := -fsanitize=address -fno-omit-frame-pointer
Dhost_test.mk55 HOST_SANITIZER_FLAGS := -fsanitize=address -fno-omit-frame-pointer
/trusty/user/base/make/
Dcommon_flags.mk18 MODULE_RUSTFLAGS += -C force-frame-pointers=y