Ghidra is a software reverse engineering (SRE) framework
GP-0 Corrected ip.gradle bug
ghidra1e1a9465f8c70
diff --git a/gradle/support/ip.gradle b/gradle/support/ip.gradleindex 78e237b229..0bb251a3bf 100644--- a/gradle/support/ip.gradle+++ b/gradle/support/ip.gradle@@ -5,7 +5,7 @@* you may not use this file except in compliance with the License.* You may obtain a copy of the License at*- * http://www.apache.org/licenses/LICENSE-2.0+ * http://www.apache.org/licenses/LICENSE-2.0** Unless required by applicable law or agreed to in writing, software* distributed under the License is distributed on an "AS IS" BASIS,@@ -233,7 +233,7 @@ def getIpForSourceFile(File file, String prefix) {file.withReader { reader ->while(++lineNum < 5 && (line = reader.readLine()) != null) {if (line.startsWith(prefix)) {- ip = line.substring(7).trim();+ ip = line.substring(prefix.length()).trim();break;}}