Home
last modified time | relevance | path

Searched refs:shadow_stack_end (Results 1 – 10 of 10) sorted by relevance

/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/
H A Dtsan_stack_test.cc26 thr.shadow_stack_end = &stack[128]; in TestStackTrace()
56 thr.shadow_stack_end = &stack[kShadowStackSize]; in TestTrim()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/tsan/
H A Dtsan_rtl.cpp156 shadow_stack_end = shadow_stack + kShadowStackSize; in ThreadState()
162 shadow_stack_end = shadow_stack + kInitStackSize; in ThreadState()
543 const int sz = thr->shadow_stack_end - thr->shadow_stack; in GrowShadowStack()
550 thr->shadow_stack_end = newstack + newsz; in GrowShadowStack()
559 DCHECK_LT(thr->shadow_stack_pos, thr->shadow_stack_end); in CurrentStackId()
561 if (thr->shadow_stack_pos == thr->shadow_stack_end) in CurrentStackId()
H A Dtsan_rtl.h168 uptr *shadow_stack_end; member
766 DCHECK_LT(thr->shadow_stack_pos, thr->shadow_stack_end); in FuncEntry()
768 if (thr->shadow_stack_pos == thr->shadow_stack_end) in FuncEntry()
785 DCHECK_LT(thr->shadow_stack_pos, thr->shadow_stack_end); in FuncExit()
H A Dtsan_rtl_thread.cpp237 thr->shadow_stack_end = nullptr; in OnFinished()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/tsan/
H A Dtsan_rtl.cc518 const int sz = thr->shadow_stack_end - thr->shadow_stack; in GrowShadowStack()
526 thr->shadow_stack_end = newstack + newsz; in GrowShadowStack()
535 DCHECK_LT(thr->shadow_stack_pos, thr->shadow_stack_end); in CurrentStackId()
537 if (thr->shadow_stack_pos == thr->shadow_stack_end) in CurrentStackId()
988 DCHECK_LT(thr->shadow_stack_pos, thr->shadow_stack_end); in FuncEntry()
990 if (thr->shadow_stack_pos == thr->shadow_stack_end) in FuncEntry()
1008 DCHECK_LT(thr->shadow_stack_pos, thr->shadow_stack_end); in FuncExit()
H A Dtsan_rtl_thread.cc99 thr->shadow_stack_end = thr->shadow_stack + kShadowStackSize; in OnStarted()
106 thr->shadow_stack_end = thr->shadow_stack + kInitStackSize; in OnStarted()
131 thr->shadow_stack_end = nullptr; in OnFinished()
H A Dtsan_rtl.h398 uptr *shadow_stack_end; member
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
H A Dtsan_rtl.cc522 const int sz = thr->shadow_stack_end - thr->shadow_stack; in GrowShadowStack()
530 thr->shadow_stack_end = newstack + newsz; in GrowShadowStack()
539 DCHECK_LT(thr->shadow_stack_pos, thr->shadow_stack_end); in CurrentStackId()
541 if (thr->shadow_stack_pos == thr->shadow_stack_end) in CurrentStackId()
992 DCHECK_LT(thr->shadow_stack_pos, thr->shadow_stack_end); in FuncEntry()
994 if (thr->shadow_stack_pos == thr->shadow_stack_end) in FuncEntry()
1012 DCHECK_LT(thr->shadow_stack_pos, thr->shadow_stack_end); in FuncExit()
H A Dtsan_rtl_thread.cc101 thr->shadow_stack_end = thr->shadow_stack + kShadowStackSize; in OnStarted()
108 thr->shadow_stack_end = thr->shadow_stack + kInitStackSize; in OnStarted()
133 thr->shadow_stack_end = nullptr; in OnFinished()
H A Dtsan_rtl.h402 uptr *shadow_stack_end; member