mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-10 06:02:09 +00:00
GP-4932 fixed code unit insertion issue
This commit is contained in:
parent
e5aa0e8e5b
commit
6db5e3017e
@ -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);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user