mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-25 17:00:36 -09:00
GP-5575 - PDB fix regression in using zero-sised base with no vbtable
This commit is contained in:
@@ -1743,7 +1743,9 @@ public class CppCompositeType {
|
||||
for (VirtualLayoutBaseClass base : reorderedVirtualBases) {
|
||||
CppCompositeType baseType = base.getBaseClassType();
|
||||
addPlaceholderVirtualBaseTableEntry(plvbt, vxtManager, base, off);
|
||||
off += baseType.getSelfBaseType().getAlignedLength();
|
||||
if (!baseType.hasZeroBaseSize) {
|
||||
off += baseType.getSelfBaseType().getAlignedLength();
|
||||
}
|
||||
}
|
||||
return plvbt;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user