mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-24 21:21:56 +00:00
Merge remote-tracking branch 'origin/GP-1-dragonmacher-search-enum-field-fix'
This commit is contained in:
commit
4b14601927
@ -1097,6 +1097,9 @@ public final class ReferenceUtils {
|
||||
Enum enumm = (Enum) dt;
|
||||
List<String> names = getEnumNames(data, enumm);
|
||||
for (String name : names) {
|
||||
if (!enumm.contains(name)) {
|
||||
continue;
|
||||
}
|
||||
long value = enumm.getValue(name);
|
||||
if (matcher.matches(name, (int) value)) {
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user