mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
GP-4763 Added check that ClassHierarchyDescriptor symbols are not in Global namespace. If they are skip processing it and the associated class.
This commit is contained in:
parent
a00a4d75da
commit
c2bf8d0464
1 changed files with 9 additions and 4 deletions
|
@ -868,7 +868,12 @@ public class RTTIWindowsClassRecoverer extends RTTIClassRecoverer {
|
|||
|
||||
// Get class name from class vftable is in
|
||||
Namespace classNamespace = classHierarchyDescriptorSymbol.getParentNamespace();
|
||||
|
||||
if (classNamespace.isGlobal()) {
|
||||
Msg.warn(this, "ClassHierarchyDescriptor at " + classHierarchyDescriptorAddress +
|
||||
" is unexpectedly in the Global namespace so processing cannot continue for " +
|
||||
"this class");
|
||||
continue;
|
||||
}
|
||||
// get the data type category associated with the given class namespace
|
||||
Category category = getDataTypeCategory(classNamespace);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue