mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
GP-0: Fix default visibility on children of VOID.
This commit is contained in:
parent
5888ac64e1
commit
1ed7768b9a
2 changed files with 33 additions and 1 deletions
|
@ -907,7 +907,9 @@ public interface TargetObjectSchema {
|
|||
return false;
|
||||
}
|
||||
AttributeSchema schema = getAttributeSchema(key);
|
||||
if (schema == AttributeSchema.DEFAULT_ANY || schema == AttributeSchema.DEFAULT_OBJECT) {
|
||||
if (schema == AttributeSchema.DEFAULT_ANY ||
|
||||
schema == AttributeSchema.DEFAULT_OBJECT ||
|
||||
schema == AttributeSchema.DEFAULT_VOID) {
|
||||
// FIXME: Remove this hack once we stop depending on this prefix
|
||||
return key.startsWith(TargetObject.PREFIX_INVISIBLE);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue