GP-4748 Updated RttiUtil's find end of vftable to be more accurate.

This commit is contained in:
ghidra007
2024-07-19 21:48:15 +00:00
parent 220d6d9f58
commit f657b11c1d
3 changed files with 150 additions and 47 deletions

View File

@@ -2662,8 +2662,9 @@ public class RTTIWindowsClassRecoverer extends RTTIClassRecoverer {
if (numAddressRanges == 1) {
fixupContiguousDeletingDestructorSymbols(function);
processedFunctions.add(function);
continue;
}
else if (numAddressRanges == 2) {
if (numAddressRanges == 2) {
// else fixup split dd function
Function scalarDeletingDestructor = createSplitDeletingDestructorFunction(body);
if (scalarDeletingDestructor == null) {
@@ -2674,7 +2675,7 @@ public class RTTIWindowsClassRecoverer extends RTTIClassRecoverer {
fixupSplitDeletingDestructorSymbols(function, scalarDeletingDestructor);
processedFunctions.add(function);
}
// else if > 2 do nothing - not sure how to handle or even if they exist
// if > 2 do nothing - not sure how to handle or even if they exist
}
}
}