mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
GP-0 corrected Data pointer stacking test failures
This commit is contained in:
parent
60fc7a35c2
commit
b3c19de3dd
2 changed files with 14 additions and 12 deletions
|
@ -166,6 +166,10 @@ public final class DataUtilities {
|
|||
Reference extRef = null;
|
||||
if (!isParentData(data, addr)) {
|
||||
|
||||
if (!stackPointers && isDataClearingDenied(existingType, clearMode)) {
|
||||
throw new CodeUnitInsertionException("Could not create Data at address " + addr);
|
||||
}
|
||||
|
||||
existingLength = data.getLength();
|
||||
|
||||
if (data.isDefined()) {
|
||||
|
@ -185,10 +189,6 @@ public final class DataUtilities {
|
|||
}
|
||||
}
|
||||
|
||||
if (!stackPointers && isDataClearingDenied(existingType, clearMode)) {
|
||||
throw new CodeUnitInsertionException("Could not create Data at address " + addr);
|
||||
}
|
||||
|
||||
// TODO: This can probably be eliminated
|
||||
// Check for external reference on pointer
|
||||
extRef =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue