| 291 | // Same as above but from an already validated type_info perspective |
| 292 | |
| 293 | bool RTTI::_RTTICompleteObjectLocator::isValid2(ea_t col) |
| 294 | { |
| 295 | // 'signature' should be zero |
| 296 | UINT signature = -1; |
| 297 | if (!getVerify32_t((col + ea_t(offsetof(_RTTICompleteObjectLocator, signature))), signature) || signature != 0) |
| 298 | return false; |
| 299 | |
| 300 | // Verify CHD |
| 301 | ea_t classDescriptor = getEa(col + offsetof(_RTTICompleteObjectLocator, classDescriptor)); |
| 302 | if (classDescriptor && (classDescriptor != BADADDR)) |
| 303 | return RTTI::_RTTIClassHierarchyDescriptor::isValid(classDescriptor, 0); |
| 304 | |
| 305 | return false; |
| 306 | } |
| 307 | |
| 308 | |
| 309 | // --------------------------- Base Class Descriptor --------------------------- |
nothing calls this directly
no test coverage detected