Home
last modified time | relevance | path

Searched refs:shadow_stack (Results 1 – 4 of 4) sorted by relevance

/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl.cc87 , shadow_stack_pos(&shadow_stack[0]) in ThreadState()
277 u32 id = StackDepotPut(thr->shadow_stack, in CurrentStackId()
278 thr->shadow_stack_pos - thr->shadow_stack); in CurrentStackId()
570 DCHECK_GE(thr->shadow_stack_pos, &thr->shadow_stack[0]); in FuncEntry()
572 DCHECK_LT(thr->shadow_stack_pos, &thr->shadow_stack[kShadowStackSize]); in FuncEntry()
575 const int sz = thr->shadow_stack_end - thr->shadow_stack; in FuncEntry()
579 internal_memcpy(newstack, thr->shadow_stack, sz * sizeof(uptr)); in FuncEntry()
580 internal_free(thr->shadow_stack); in FuncEntry()
581 thr->shadow_stack = newstack; in FuncEntry()
598 DCHECK_GT(thr->shadow_stack_pos, &thr->shadow_stack[0]); in FuncExit()
[all …]
Dtsan_rtl_thread.cc102 args->thr->shadow_stack = (uptr*)internal_alloc(MBlockShadowStack, in OnStarted()
104 args->thr->shadow_stack_pos = thr->shadow_stack; in OnStarted()
105 args->thr->shadow_stack_end = thr->shadow_stack + kInitStackSize; in OnStarted()
Dtsan_sync.cc255 n_ = thr->shadow_stack_pos - thr->shadow_stack; in ObtainCurrent()
270 s_[i] = thr->shadow_stack[start + i]; in ObtainCurrent()
Dtsan_rtl.h410 uptr shadow_stack[kShadowStackSize]; member
413 uptr *shadow_stack; member