From a299648f5cbbf7d928b8f1577527edb11607665d Mon Sep 17 00:00:00 2001 From: ghidra1 Date: Thu, 11 Jan 2024 08:54:39 -0500 Subject: [PATCH 1/2] GP-0 Bug fix in EnumDB --- .../src/main/java/ghidra/program/database/data/EnumDB.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumDB.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumDB.java index 4e27dbe53c..41fdf54686 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumDB.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumDB.java @@ -895,6 +895,8 @@ class EnumDB extends DataTypeDB implements Enum { public int getMinimumPossibleLength() { lock.acquire(); try { + checkIsValid(); + initializeIfNeeded(); if (valueMap.isEmpty()) { return 1; } From b072c4953b97710078286cbead503146ebcee59c Mon Sep 17 00:00:00 2001 From: Ryan Kurtz Date: Fri, 12 Jan 2024 12:25:46 -0500 Subject: [PATCH 2/2] GP-0: Excluding nested eclipse project files from gradle 'ip' task --- gradle/support/ip.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle/support/ip.gradle b/gradle/support/ip.gradle index 010d77592f..e8effae19c 100644 --- a/gradle/support/ip.gradle +++ b/gradle/support/ip.gradle @@ -122,9 +122,9 @@ def Map> getIpForModule(Project p) { exclude "**/build/**"; exclude "certification.manifest" exclude "certification.local.manifest" - exclude ".project" - exclude ".classpath" - exclude ".pydevproject" + exclude "**/.project" + exclude "**/.classpath" + exclude "**/.pydevproject" exclude "Module.manifest" exclude "build.gradle" exclude "buildNatives.gradle"