mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
GP-1036 Added new data clear mode CLEAR_ALL_DEFAULT_CONFLICT_DATA for
DataUtilities
This commit is contained in:
parent
2bced1cd43
commit
f6ad8045e9
1 changed files with 7 additions and 0 deletions
|
@ -101,6 +101,13 @@ public final class DataUtilities {
|
|||
if (Undefined.isUndefined(dt)) {
|
||||
return true;
|
||||
}
|
||||
if (dt instanceof TypeDef) {
|
||||
TypeDef td = (TypeDef) dt;
|
||||
if (!td.isAutoNamed()) {
|
||||
return false;
|
||||
}
|
||||
dt = td.getDataType();
|
||||
}
|
||||
if (dt instanceof Pointer) {
|
||||
Pointer p = (Pointer) dt;
|
||||
dt = p.getDataType();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue