mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-21 19:42:14 +00:00
Merge remote-tracking branch 'origin/caheckman_GT-2704' into Ghidra_9.0.2
This commit is contained in:
commit
e23cc6b72b
@ -261,10 +261,7 @@ public class PcodeDataTypeManager {
|
||||
if (type instanceof Array) {
|
||||
return buildType(type, size);
|
||||
}
|
||||
if (type instanceof FunctionDefinition) {
|
||||
return buildType(type, size);
|
||||
}
|
||||
if (type.getLength() <= 0) {
|
||||
if (!(type instanceof FunctionDefinition) && type.getLength() <= 0) {
|
||||
return buildType(type, size);
|
||||
}
|
||||
StringBuilder resBuf = new StringBuilder();
|
||||
@ -541,7 +538,7 @@ public class PcodeDataTypeManager {
|
||||
}
|
||||
resBuf.append("<type");
|
||||
if ((type instanceof Pointer) || (type instanceof Array) ||
|
||||
(type instanceof FunctionDefinition) || (type.getLength() <= 0)) {
|
||||
(!(type instanceof FunctionDefinition) && type.getLength() <= 0)) {
|
||||
SpecXmlUtils.encodeStringAttribute(resBuf, "name", "");
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user