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.cc472 thr->shadow_stack_pos = newstack + sz; in GrowShadowStack()
482 DCHECK_LT(thr->shadow_stack_pos, thr->shadow_stack_end); in CurrentStackId()
484 if (thr->shadow_stack_pos == thr->shadow_stack_end) in CurrentStackId()
487 thr->shadow_stack_pos[0] = pc; in CurrentStackId()
488 thr->shadow_stack_pos++; in CurrentStackId()
491 StackTrace(thr->shadow_stack, thr->shadow_stack_pos - thr->shadow_stack)); in CurrentStackId()
493 thr->shadow_stack_pos--; in CurrentStackId()
929 DCHECK_GE(thr->shadow_stack_pos, thr->shadow_stack); in FuncEntry()
931 DCHECK_LT(thr->shadow_stack_pos, thr->shadow_stack_end); in FuncEntry()
933 if (thr->shadow_stack_pos == thr->shadow_stack_end) in FuncEntry()
[all …]
Dtsan_rtl.h325 uptr *shadow_stack_pos; member
357 uptr *shadow_stack_pos; member
559 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.cc477 buf->shadow_stack_pos = thr->shadow_stack_pos; in SetJmp()
503 CHECK_GE(thr->shadow_stack_pos, buf->shadow_stack_pos); in LongJmp()
505 while (thr->shadow_stack_pos > buf->shadow_stack_pos) in LongJmp()