Home
last modified time | relevance | path

Searched refs:max_record_stack (Results 1 – 3 of 3) sorted by relevance

/third_party/musl/libc-test/src/gwp_asan/
Dunwind_test.c25 __attribute__((noinline)) int func1(size_t *frame_buf, size_t max_record_stack, size_t *nums_frame) in func1() argument
29 *nums_frame = libc_gwp_asan_unwind_fast(frame_buf, max_record_stack, NULL); in func1()
33 __attribute__((noinline)) int func2(size_t *frame_buf, size_t max_record_stack, size_t *nums_frame) in func2() argument
36 res += func1(frame_buf, max_record_stack, nums_frame); in func2()
40 __attribute__((noinline)) int func3(size_t *frame_buf, size_t max_record_stack, size_t *nums_frame) in func3() argument
43 res += func2(frame_buf, max_record_stack, nums_frame); in func3()
50 size_t max_record_stack = 10; in main() local
54 int res = func3((size_t *)frame_buf, max_record_stack, &nums_frames); in main()
59 for (size_t i = 0; i < max_record_stack; i++) { in main()
/third_party/musl/porting/linux/user/src/gwp_asan/
Dgwp_asan.h51 size_t libc_gwp_asan_unwind_fast(size_t *frame_buf, size_t max_record_stack,
Dgwp_asan.c303 GWP_ASAN_NO_ADDRESS size_t libc_gwp_asan_unwind_fast(size_t *frame_buf, size_t max_record_stack, in libc_gwp_asan_unwind_fast() argument
316 if (num_frames < max_record_stack) { in libc_gwp_asan_unwind_fast()