Searched refs:fake_stack (Results 1 – 8 of 8) sorted by relevance
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_stacktrace_test.cc | 27 trace.Unwind(max_depth, start_pc, (uptr)&fake_stack[0], 0, fake_top, in TryFastUnwind() 33 uhwptr *fake_stack; member in __sanitizer::FastUnwindTest 51 fake_stack = (uhwptr *)((uptr)mapping + ps + sizeof(uhwptr)); in SetUp() 56 fake_stack[i] = (uptr)&fake_stack[i+2]; // fp in SetUp() 57 fake_stack[i+1] = PC(i + 1); // retaddr in SetUp() 60 fake_stack[RoundDownTo(fake_stack_size - 1, 2)] = (uhwptr)&fake_stack[0]; in SetUp() 63 fake_top = (uhwptr)&fake_stack[fake_stack_size + 2]; in SetUp() 88 fake_stack[4] = (uhwptr)&fake_stack[4]; in TEST_F() 101 fake_stack[4] += 3; in TEST_F() 117 EXPECT_EQ((uhwptr)&fake_stack[0], trace.top_frame_bp); in TEST_F() [all …]
|
/external/compiler-rt/test/asan/TestCases/ |
D | gc-test.cc | 18 void *fake_stack = __asan_get_current_fake_stack(); in Thread() local 20 if (fake_stack) { in Thread() 21 fprintf(stderr, "fake stack found: %p; var: %p\n", fake_stack, var); in Thread() 26 __asan_addr_is_in_fake_stack(fake_stack, &var[0], &beg, &end); in Thread() 34 __asan_addr_is_in_fake_stack(fake_stack, ptr, &beg1, &end1); in Thread()
|
/external/compiler-rt/lib/asan/ |
D | asan_fake_stack.cc | 184 return t->fake_stack(); in GetFakeStack() 242 void *__asan_addr_is_in_fake_stack(void *fake_stack, void *addr, void **beg, in __asan_addr_is_in_fake_stack() argument 244 FakeStack *fs = reinterpret_cast<FakeStack*>(fake_stack); in __asan_addr_is_in_fake_stack()
|
D | asan_thread.cc | 220 bottom = fake_stack()->AddrIsInFakeStack(addr); in GetStackFrameAccessByAddr() 259 if (t->has_fake_stack() && t->fake_stack()->AddrIsInFakeStack((uptr)addr)) in ThreadStackContainsAddress() 344 t->fake_stack()->ForEachFakeFrame(callback, arg); in ForEachExtraStackRange()
|
D | asan_thread.h | 99 FakeStack *fake_stack() { in fake_stack() function
|
D | asan_rtl.cc | 565 curr_thread->fake_stack()->HandleNoReturn(); in __asan_handle_no_return()
|
/external/compiler-rt/lib/asan/tests/ |
D | asan_fake_stack_test.cc | 66 FakeStack *fake_stack = FakeStack::Create(stack_size_log); in TEST() local 67 fake_stack->Destroy(0); in TEST()
|
/external/compiler-rt/include/sanitizer/ |
D | asan_interface.h | 148 void *__asan_addr_is_in_fake_stack(void *fake_stack, void *addr, void **beg,
|