mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-08-08 07:40:39 -09:00
GP-4932 fixed code unit insertion issue
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user