Home
last modified time | relevance | path

Searched refs:shadow_stack_pos (Results 1 – 5 of 5) sorted by relevance

/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_stack_test.cc25 thr.shadow_stack_pos = &stack[0]; in TestStackTrace()
35 *thr.shadow_stack_pos++ = 100; in TestStackTrace()
36 *thr.shadow_stack_pos++ = 101; in TestStackTrace()
55 thr.shadow_stack_pos = &stack[0]; in TestTrim()
59 *thr.shadow_stack_pos++ = 100 + i; in TestTrim()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl.cc480 thr->shadow_stack_pos = newstack + sz; in GrowShadowStack()
490 DCHECK_LT(thr->shadow_stack_pos, thr->shadow_stack_end); in CurrentStackId()
492 if (thr->shadow_stack_pos == thr->shadow_stack_end) in CurrentStackId()
495 thr->shadow_stack_pos[0] = pc; in CurrentStackId()
496 thr->shadow_stack_pos++; in CurrentStackId()
499 StackTrace(thr->shadow_stack, thr->shadow_stack_pos - thr->shadow_stack)); in CurrentStackId()
501 thr->shadow_stack_pos--; in CurrentStackId()
937 DCHECK_GE(thr->shadow_stack_pos, thr->shadow_stack); in FuncEntry()
939 DCHECK_LT(thr->shadow_stack_pos, thr->shadow_stack_end); in FuncEntry()
941 if (thr->shadow_stack_pos == thr->shadow_stack_end) in FuncEntry()
[all …]
Dtsan_rtl.h325 uptr *shadow_stack_pos; member
387 uptr *shadow_stack_pos; member
592 uptr size = thr->shadow_stack_pos - thr->shadow_stack; in ObtainCurrentStack()
Dtsan_rtl_thread.cc99 thr->shadow_stack_pos = thr->shadow_stack; in OnStarted()
106 thr->shadow_stack_pos = thr->shadow_stack; in OnStarted()
Dtsan_interceptors.cc470 buf->shadow_stack_pos = thr->shadow_stack_pos; in SetJmp()
496 CHECK_GE(thr->shadow_stack_pos, buf->shadow_stack_pos); in LongJmp()
498 while (thr->shadow_stack_pos > buf->shadow_stack_pos) in LongJmp()