GP-2679 Gcc class recovery improvements. Created classes for Vtable,

Typeinfo, etc. Reworked vtable, const vtable and vtt discovery. Now
works for static gcc and for mingw/cygwin programs.
This commit is contained in:
ghidra007 2023-02-13 17:35:47 +00:00
parent 269ea1ae7a
commit 1d14222f37
14 changed files with 4937 additions and 2131 deletions

View file

@ -606,7 +606,7 @@ public class RecoveredClass {
DataTypeComponent component =
computedClassStructure.getComponentAt(offset.intValue());
if (!component.getDataType().equals(dataType)) {
if (component != null && !component.getDataType().equals(dataType)) {
computedClassStructure.replaceAtOffset(offset.intValue(), dataType,
dataType.getLength(), component.getFieldName(), component.getComment());
}