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;
355 uptr *shadow_stack;
356 uptr *shadow_stack_end;
357 uptr *shadow_stack_pos;
379 const uptr stk_addr;
380 const uptr stk_size;
381 const uptr tls_addr;
382 const uptr tls_size;
409 uptr stk_addr, uptr stk_size,
410 uptr tls_addr, uptr tls_size);
462 uptr addr_min;
463 uptr addr_max;
468 uptr pc_or_addr;
528 void AddMemoryAccess(uptr addr, Shadow s, StackTrace stack,
536 void AddLocation(uptr addr, uptr size);
558 void ObtainCurrentStack(ThreadState *thr, uptr toppc, StackTraceTy *stack) { in ObtainCurrentStack()
559 uptr size = thr->shadow_stack_pos - thr->shadow_stack; in ObtainCurrentStack()
560 uptr start = 0; in ObtainCurrentStack()
585 void MapShadow(uptr addr, uptr size);
586 void MapThreadTrace(uptr addr, uptr size, const char *name);
587 void DontNeedShadowFor(uptr addr, uptr size);
593 void ForkBefore(ThreadState *thr, uptr pc);
594 void ForkParentAfter(ThreadState *thr, uptr pc);
595 void ForkChildAfter(ThreadState *thr, uptr pc);
600 bool IsExpectedReport(uptr addr, uptr size);
615 u32 CurrentStackId(ThreadState *thr, uptr pc);
617 void PrintCurrentStack(ThreadState *thr, uptr pc);
618 void PrintCurrentStackSlow(uptr pc); // uses libunwind
623 void OnUserAlloc(ThreadState *thr, uptr pc, uptr p, uptr sz, bool write);
624 void OnUserFree(ThreadState *thr, uptr pc, uptr p, bool write);
626 void MemoryAccess(ThreadState *thr, uptr pc, uptr addr,
628 void MemoryAccessImpl(ThreadState *thr, uptr addr,
631 void MemoryAccessRange(ThreadState *thr, uptr pc, uptr addr,
632 uptr size, bool is_write);
633 void MemoryAccessRangeStep(ThreadState *thr, uptr pc, uptr addr,
634 uptr size, uptr step, bool is_write);
635 void UnalignedMemoryAccess(ThreadState *thr, uptr pc, uptr addr,
643 void ALWAYS_INLINE MemoryRead(ThreadState *thr, uptr pc, in MemoryRead()
644 uptr addr, int kAccessSizeLog) { in MemoryRead()
648 void ALWAYS_INLINE MemoryWrite(ThreadState *thr, uptr pc, in MemoryWrite()
649 uptr addr, int kAccessSizeLog) { in MemoryWrite()
653 void ALWAYS_INLINE MemoryReadAtomic(ThreadState *thr, uptr pc, in MemoryReadAtomic()
654 uptr addr, int kAccessSizeLog) { in MemoryReadAtomic()
658 void ALWAYS_INLINE MemoryWriteAtomic(ThreadState *thr, uptr pc, in MemoryWriteAtomic()
659 uptr addr, int kAccessSizeLog) { in MemoryWriteAtomic()
663 void MemoryResetRange(ThreadState *thr, uptr pc, uptr addr, uptr size);
664 void MemoryRangeFreed(ThreadState *thr, uptr pc, uptr addr, uptr size);
665 void MemoryRangeImitateWrite(ThreadState *thr, uptr pc, uptr addr, uptr size);
667 void ThreadIgnoreBegin(ThreadState *thr, uptr pc);
668 void ThreadIgnoreEnd(ThreadState *thr, uptr pc);
669 void ThreadIgnoreSyncBegin(ThreadState *thr, uptr pc);
670 void ThreadIgnoreSyncEnd(ThreadState *thr, uptr pc);
672 void FuncEntry(ThreadState *thr, uptr pc);
675 int ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached);
676 void ThreadStart(ThreadState *thr, int tid, uptr os_id);
678 int ThreadTid(ThreadState *thr, uptr pc, uptr uid);
679 void ThreadJoin(ThreadState *thr, uptr pc, int tid);
680 void ThreadDetach(ThreadState *thr, uptr pc, int tid);
686 void MutexCreate(ThreadState *thr, uptr pc, uptr addr,
688 void MutexDestroy(ThreadState *thr, uptr pc, uptr addr);
689 void MutexLock(ThreadState *thr, uptr pc, uptr addr, int rec = 1,
691 int MutexUnlock(ThreadState *thr, uptr pc, uptr addr, bool all = false);
692 void MutexReadLock(ThreadState *thr, uptr pc, uptr addr, bool try_lock = false);
693 void MutexReadUnlock(ThreadState *thr, uptr pc, uptr addr);
694 void MutexReadOrWriteUnlock(ThreadState *thr, uptr pc, uptr addr);
695 void MutexRepair(ThreadState *thr, uptr pc, uptr addr); // call on EOWNERDEAD
697 void Acquire(ThreadState *thr, uptr pc, uptr addr);
704 void AcquireGlobal(ThreadState *thr, uptr pc);
705 void Release(ThreadState *thr, uptr pc, uptr addr);
706 void ReleaseStore(ThreadState *thr, uptr pc, uptr addr);
707 void AfterSleep(ThreadState *thr, uptr pc);
708 void AcquireImpl(ThreadState *thr, uptr pc, SyncClock *c);
709 void ReleaseImpl(ThreadState *thr, uptr pc, SyncClock *c);
710 void ReleaseStoreImpl(ThreadState *thr, uptr pc, SyncClock *c);
711 void AcquireReleaseImpl(ThreadState *thr, uptr pc, SyncClock *c);
735 uptr TraceTopPC(ThreadState *thr);
736 uptr TraceSize();
737 uptr TraceParts();
764 uptr ALWAYS_INLINE HeapEnd() { in HeapEnd()