Home | History | Annotate | Download | only in asan

Lines Matching refs:uptr

31 static const uptr kNumberOfSizeClasses = 255;
42 uptr Beg(); // First byte of user memory.
43 uptr End(); // Last byte of user memory.
44 uptr UsedSize(); // Size requested by the user.
45 uptr AllocTid();
46 uptr FreeTid();
50 bool AddrIsInside(uptr addr, uptr access_size, sptr *offset) {
57 bool AddrIsAtLeft(uptr addr, uptr access_size, sptr *offset) {
65 bool AddrIsAtRight(uptr addr, uptr access_size, sptr *offset) {
77 AsanChunkView FindHeapChunkByAddress(uptr address);
87 uptr size() { return size_; }
93 uptr size_;
97 void OnMap(uptr p, uptr size) const;
98 void OnUnmap(uptr p, uptr size) const;
103 const uptr kAllocatorSpace = 0xa0000000000ULL;
104 const uptr kAllocatorSize = 0x20000000000ULL; // 2T.
106 const uptr kAllocatorSpace = 0x600000000000ULL;
107 const uptr kAllocatorSize = 0x40000000000ULL; // 4T.
113 static const uptr kRegionSizeLog = 20;
114 static const uptr kNumRegions = SANITIZER_MMAP_RANGE_SIZE >> kRegionSizeLog;
134 uptr quarantine_cache[16];
142 void *asan_memalign(uptr alignment, uptr size, StackTrace *stack,
146 void *asan_malloc(uptr size, StackTrace *stack);
147 void *asan_calloc(uptr nmemb, uptr size, StackTrace *stack);
148 void *asan_realloc(void *p, uptr size, StackTrace *stack);
149 void *asan_valloc(uptr size, StackTrace *stack);
150 void *asan_pvalloc(uptr size, StackTrace *stack);
152 int asan_posix_memalign(void **memptr, uptr alignment, uptr size,
154 uptr asan_malloc_usable_size(void *ptr, uptr pc, uptr bp);
156 uptr asan_mz_size(const void *ptr);