Lines Matching defs:ptr
135 uptr ptr = (uptr)fake_frame;
136 PoisonShadow(ptr, size, 0);
137 return ptr;
145 uptr ptr = (uptr)fake_frame;
146 CHECK(AddrIsInSizeClass(ptr, size_class));
147 CHECK(AddrIsInSizeClass(ptr + size - 1, size_class));
151 void FakeStack::OnFree(uptr ptr, uptr size, uptr real_stack) {
152 FakeFrame *fake_frame = (FakeFrame*)ptr;
156 PoisonShadow(ptr, size, kAsanStackAfterReturnMagic);
171 uptr ptr = t->fake_stack().AllocateStack(size, real_stack);
172 // Printf("__asan_stack_malloc %p %zu %p\n", ptr, size, real_stack);
173 return ptr;
176 void __asan_stack_free(uptr ptr, uptr size, uptr real_stack) {
178 if (ptr != real_stack) {
179 FakeStack::OnFree(ptr, size, real_stack);