mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
GP-4932 fixed code unit insertion issue
This commit is contained in:
parent
e5aa0e8e5b
commit
6db5e3017e
1 changed files with 1 additions and 1 deletions
|
@ -4527,7 +4527,7 @@ public class RecoveredClassHelper {
|
||||||
// apply the structure. It has to be one or the other and the correct length
|
// 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
|
// 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
|
// 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);
|
api.createData(vftableAddress, vftableStruct);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue