• Home
  • Raw
  • Download

Lines Matching refs:uptr

58 static const uptr kAllocatorSpace = 0;
59 static const uptr kAllocatorSize = SANITIZER_MMAP_RANGE_SIZE;
60 static const uptr kAllocatorRegionSizeLog = 20;
61 static const uptr kAllocatorNumRegions =
320 uptr sp;
321 uptr mangled_sp;
324 uptr in_signal_handler;
325 uptr *shadow_stack_pos;
385 uptr *shadow_stack;
386 uptr *shadow_stack_end;
387 uptr *shadow_stack_pos;
407 const uptr stk_addr;
408 const uptr stk_size;
409 const uptr tls_addr;
410 const uptr tls_size;
442 uptr stk_addr, uptr stk_size,
443 uptr tls_addr, uptr tls_size);
495 uptr addr_min;
496 uptr addr_max;
501 uptr pc_or_addr;
561 void AddMemoryAccess(uptr addr, Shadow s, StackTrace stack,
569 void AddLocation(uptr addr, uptr size);
591 void ObtainCurrentStack(ThreadState *thr, uptr toppc, StackTraceTy *stack) { in ObtainCurrentStack()
592 uptr size = thr->shadow_stack_pos - thr->shadow_stack; in ObtainCurrentStack()
593 uptr start = 0; in ObtainCurrentStack()
618 void MapShadow(uptr addr, uptr size);
619 void MapThreadTrace(uptr addr, uptr size, const char *name);
620 void DontNeedShadowFor(uptr addr, uptr size);
626 void ForkBefore(ThreadState *thr, uptr pc);
627 void ForkParentAfter(ThreadState *thr, uptr pc);
628 void ForkChildAfter(ThreadState *thr, uptr pc);
633 bool IsExpectedReport(uptr addr, uptr size);
648 u32 CurrentStackId(ThreadState *thr, uptr pc);
650 void PrintCurrentStack(ThreadState *thr, uptr pc);
651 void PrintCurrentStackSlow(uptr pc); // uses libunwind
656 void OnUserAlloc(ThreadState *thr, uptr pc, uptr p, uptr sz, bool write);
657 void OnUserFree(ThreadState *thr, uptr pc, uptr p, bool write);
659 void MemoryAccess(ThreadState *thr, uptr pc, uptr addr,
661 void MemoryAccessImpl(ThreadState *thr, uptr addr,
664 void MemoryAccessRange(ThreadState *thr, uptr pc, uptr addr,
665 uptr size, bool is_write);
666 void MemoryAccessRangeStep(ThreadState *thr, uptr pc, uptr addr,
667 uptr size, uptr step, bool is_write);
668 void UnalignedMemoryAccess(ThreadState *thr, uptr pc, uptr addr,
676 void ALWAYS_INLINE MemoryRead(ThreadState *thr, uptr pc, in MemoryRead()
677 uptr addr, int kAccessSizeLog) { in MemoryRead()
681 void ALWAYS_INLINE MemoryWrite(ThreadState *thr, uptr pc, in MemoryWrite()
682 uptr addr, int kAccessSizeLog) { in MemoryWrite()
686 void ALWAYS_INLINE MemoryReadAtomic(ThreadState *thr, uptr pc, in MemoryReadAtomic()
687 uptr addr, int kAccessSizeLog) { in MemoryReadAtomic()
691 void ALWAYS_INLINE MemoryWriteAtomic(ThreadState *thr, uptr pc, in MemoryWriteAtomic()
692 uptr addr, int kAccessSizeLog) { in MemoryWriteAtomic()
696 void MemoryResetRange(ThreadState *thr, uptr pc, uptr addr, uptr size);
697 void MemoryRangeFreed(ThreadState *thr, uptr pc, uptr addr, uptr size);
698 void MemoryRangeImitateWrite(ThreadState *thr, uptr pc, uptr addr, uptr size);
700 void ThreadIgnoreBegin(ThreadState *thr, uptr pc);
701 void ThreadIgnoreEnd(ThreadState *thr, uptr pc);
702 void ThreadIgnoreSyncBegin(ThreadState *thr, uptr pc);
703 void ThreadIgnoreSyncEnd(ThreadState *thr, uptr pc);
705 void FuncEntry(ThreadState *thr, uptr pc);
708 int ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached);
709 void ThreadStart(ThreadState *thr, int tid, uptr os_id);
711 int ThreadTid(ThreadState *thr, uptr pc, uptr uid);
712 void ThreadJoin(ThreadState *thr, uptr pc, int tid);
713 void ThreadDetach(ThreadState *thr, uptr pc, int tid);
724 void MutexCreate(ThreadState *thr, uptr pc, uptr addr,
726 void MutexDestroy(ThreadState *thr, uptr pc, uptr addr);
727 void MutexLock(ThreadState *thr, uptr pc, uptr addr, int rec = 1,
729 int MutexUnlock(ThreadState *thr, uptr pc, uptr addr, bool all = false);
730 void MutexReadLock(ThreadState *thr, uptr pc, uptr addr, bool try_lock = false);
731 void MutexReadUnlock(ThreadState *thr, uptr pc, uptr addr);
732 void MutexReadOrWriteUnlock(ThreadState *thr, uptr pc, uptr addr);
733 void MutexRepair(ThreadState *thr, uptr pc, uptr addr); // call on EOWNERDEAD
734 void MutexInvalidAccess(ThreadState *thr, uptr pc, uptr addr);
736 void Acquire(ThreadState *thr, uptr pc, uptr addr);
743 void AcquireGlobal(ThreadState *thr, uptr pc);
744 void Release(ThreadState *thr, uptr pc, uptr addr);
745 void ReleaseStore(ThreadState *thr, uptr pc, uptr addr);
746 void AfterSleep(ThreadState *thr, uptr pc);
747 void AcquireImpl(ThreadState *thr, uptr pc, SyncClock *c);
748 void ReleaseImpl(ThreadState *thr, uptr pc, SyncClock *c);
749 void ReleaseStoreImpl(ThreadState *thr, uptr pc, SyncClock *c);
750 void AcquireReleaseImpl(ThreadState *thr, uptr pc, SyncClock *c);
774 uptr TraceTopPC(ThreadState *thr);
775 uptr TraceSize();
776 uptr TraceParts();
803 uptr ALWAYS_INLINE HeapEnd() { in HeapEnd()