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.cc458 thr->shadow_stack_pos = newstack + sz; in GrowShadowStack()
468 DCHECK_LT(thr->shadow_stack_pos, thr->shadow_stack_end); in CurrentStackId()
470 if (thr->shadow_stack_pos == thr->shadow_stack_end) in CurrentStackId()
473 thr->shadow_stack_pos[0] = pc; in CurrentStackId()
474 thr->shadow_stack_pos++; in CurrentStackId()
477 StackTrace(thr->shadow_stack, thr->shadow_stack_pos - thr->shadow_stack)); in CurrentStackId()
479 thr->shadow_stack_pos--; in CurrentStackId()
915 DCHECK_GE(thr->shadow_stack_pos, thr->shadow_stack); in FuncEntry()
917 DCHECK_LT(thr->shadow_stack_pos, thr->shadow_stack_end); in FuncEntry()
919 if (thr->shadow_stack_pos == thr->shadow_stack_end) in FuncEntry()
[all …]
Dtsan_rtl.h324 uptr *shadow_stack_pos; member
356 uptr *shadow_stack_pos; member
550 uptr size = thr->shadow_stack_pos - thr->shadow_stack; in ObtainCurrentStack()
Dtsan_rtl_thread.cc97 thr->shadow_stack_pos = thr->shadow_stack; in OnStarted()
104 thr->shadow_stack_pos = thr->shadow_stack; in OnStarted()
Dtsan_interceptors.cc434 buf->shadow_stack_pos = thr->shadow_stack_pos; in SetJmp()
454 CHECK_GE(thr->shadow_stack_pos, buf->shadow_stack_pos); in LongJmp()
456 while (thr->shadow_stack_pos > buf->shadow_stack_pos) in LongJmp()