reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
441 if (GetShadowAddressInformation(addr, &data.shadow)) { 442 data.kind = kAddressKindShadow; 445 if (GetHeapAddressInformation(addr, access_size, &data.heap)) { 446 data.kind = kAddressKindHeap; 453 isStackMemory = GetStackAddressInformation(addr, access_size, &data.stack); 455 isStackMemory = GetStackAddressInformation(addr, access_size, &data.stack); 458 data.kind = kAddressKindStack; 462 if (GetGlobalAddressInformation(addr, access_size, &data.global)) { 463 data.kind = kAddressKindGlobal; 466 data.kind = kAddressKindWild;projects/compiler-rt/lib/asan/asan_descriptions.h
212 switch (data.kind) { 214 return data.addr; 216 return data.shadow.addr; 218 return data.heap.addr; 220 return data.stack.addr; 222 return data.global.addr; 227 switch (data.kind) { 229 Printf("Address %p is a wild pointer.\n", data.addr); 232 return data.shadow.Print(); 234 return data.heap.Print(); 236 return data.stack.Print(); 239 return data.global.Print(bug_descr); 244 void StoreTo(AddressDescriptionData *dst) const { *dst = data; } 247 return data.kind == kAddressKindShadow ? &data.shadow : nullptr; 247 return data.kind == kAddressKindShadow ? &data.shadow : nullptr; 250 return data.kind == kAddressKindHeap ? &data.heap : nullptr; 250 return data.kind == kAddressKindHeap ? &data.heap : nullptr; 253 return data.kind == kAddressKindStack ? &data.stack : nullptr; 253 return data.kind == kAddressKindStack ? &data.stack : nullptr; 256 return data.kind == kAddressKindGlobal ? &data.global : nullptr; 256 return data.kind == kAddressKindGlobal ? &data.global : nullptr;