Home
last modified time | relevance | path

Searched refs:fake_stack (Results 1 – 8 of 8) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stacktrace_test.cc27 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/Posix/
Dgc-test.cc18 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/
Dasan_fake_stack.cc191 return t->fake_stack(); in GetFakeStack()
249 void *__asan_addr_is_in_fake_stack(void *fake_stack, void *addr, void **beg, in __asan_addr_is_in_fake_stack() argument
251 FakeStack *fs = reinterpret_cast<FakeStack*>(fake_stack); in __asan_addr_is_in_fake_stack()
Dasan_thread.cc219 bottom = fake_stack()->AddrIsInFakeStack(addr); in GetStackFrameAccessByAddr()
258 if (t->has_fake_stack() && t->fake_stack()->AddrIsInFakeStack((uptr)addr)) in ThreadStackContainsAddress()
343 t->fake_stack()->ForEachFakeFrame(callback, arg); in ForEachExtraStackRange()
Dasan_thread.h97 FakeStack *fake_stack() { in fake_stack() function
Dasan_rtl.cc614 curr_thread->fake_stack()->HandleNoReturn(); in __asan_handle_no_return()
/external/compiler-rt/lib/asan/tests/
Dasan_fake_stack_test.cc66 FakeStack *fake_stack = FakeStack::Create(stack_size_log); in TEST() local
67 fake_stack->Destroy(0); in TEST()
/external/compiler-rt/include/sanitizer/
Dasan_interface.h144 void *__asan_addr_is_in_fake_stack(void *fake_stack, void *addr, void **beg,