@@ -60,7 +60,7 @@ CompleteObjectLocator::CompleteObjectLocator(BinaryView *view, uint64_t address)
6060 offset = reader.Read32 ();
6161 cdOffset = reader.Read32 ();
6262 pTypeDescriptor = static_cast <int32_t >(reader.Read32 ());
63- pClassHeirarchyDescriptor = static_cast <int32_t >(reader.Read32 ());
63+ pClassHierarchyDescriptor = static_cast <int32_t >(reader.Read32 ());
6464 if (signature == COL_SIG_REV1)
6565 {
6666 pSelf = static_cast <int32_t >(reader.Read32 ());
@@ -93,7 +93,7 @@ std::optional<CompleteObjectLocator> ReadCompleteObjectorLocator(BinaryView *vie
9393 if (outsideSection (coLocator.pTypeDescriptor + startAddr))
9494 return std::nullopt ;
9595
96- if (outsideSection (coLocator.pClassHeirarchyDescriptor + startAddr))
96+ if (outsideSection (coLocator.pClassHierarchyDescriptor + startAddr))
9797 return std::nullopt ;
9898 }
9999 else
@@ -102,7 +102,7 @@ std::optional<CompleteObjectLocator> ReadCompleteObjectorLocator(BinaryView *vie
102102 if (outsideSection (coLocator.pTypeDescriptor ))
103103 return std::nullopt ;
104104
105- if (outsideSection (coLocator.pClassHeirarchyDescriptor ))
105+ if (outsideSection (coLocator.pClassHierarchyDescriptor ))
106106 return std::nullopt ;
107107 }
108108
@@ -479,7 +479,7 @@ std::optional<ClassInfo> MicrosoftRTTIProcessor::ProcessRTTI(uint64_t coLocatorA
479479 m_view->DefineDataVariable (typeDescAddr,
480480 Confidence (TypeDescriptorType (m_view, typeDesc.name .length ()), RTTI_CONFIDENCE));
481481
482- auto classHierarchyDescAddr = resolveAddr (coLocator->pClassHeirarchyDescriptor );
482+ auto classHierarchyDescAddr = resolveAddr (coLocator->pClassHierarchyDescriptor );
483483 auto classHierarchyDesc = ClassHierarchyDescriptor (m_view, classHierarchyDescAddr);
484484 auto classHierarchyDescName = fmt::format (" {}::`RTTI Class Hierarchy Descriptor'" , classInfo.className );
485485 m_view->DefineAutoSymbol (new Symbol{DataSymbol, classHierarchyDescName, classHierarchyDescAddr});
0 commit comments