Merge remote-tracking branch

'origin/GP-4932_ghidra007_fixCodeUnitInsertionIssue' into Ghidra_11.2
(Closes #6848)
This commit is contained in:
Ryan Kurtz 2024-09-16 14:02:06 -04:00
commit 9a04ea643a

View File

@ -4527,7 +4527,7 @@ public class RecoveredClassHelper {
// apply the structure. It has to be one or the other and the correct length
// because of the check at the beginning of the script that checked for either
// array or structure of pointers and got size from them initially
api.clearListing(vftableAddress);
api.clearListing(vftableAddress, vftableAddress.add(vftableStruct.getLength() - 1));
api.createData(vftableAddress, vftableStruct);
}