Skip to content

Ghidra is a software reverse engineering (SRE) framework

Merge remote-tracking branch 'origin/GP-6012_ryanmkurtz_jdk25'

Ryan Kurtzde9b1384e25f
diff --cc .github/workflows/build-ghidra.yml
index 57a92feefb,57a92feefb..54bd6dfdec
--- a/.github/workflows/build-ghidra.yml
+++ b/.github/workflows/build-ghidra.yml
@@@ -10,7 -10,7 +10,9 @@@ jobs
runs-on: ${{ matrix.platform }}
steps:
-- - uses: actions/checkout@v6
++
++ - name: Checkout repository
++ uses: actions/checkout@v6
- name: Read Ghidra JDK Version
run: echo "JDK_VER=$(awk -F'=' '$1=="application.java.min" {print $2}' Ghidra/application.properties)" >> $GITHUB_ENV
diff --cc .github/workflows/dependency-submission.yml
index e707b127b0,e707b127b0..db507711d6
--- a/.github/workflows/dependency-submission.yml
+++ b/.github/workflows/dependency-submission.yml
@@@ -15,11 -15,11 +15,14 @@@ jobs
- name: Checkout repository
uses: actions/checkout@v6
++ - name: Read Ghidra JDK Version
++ run: echo "JDK_VER=$(awk -F'=' '$1=="application.java.min" {print $2}' Ghidra/application.properties)" >> $GITHUB_ENV
++
- name: Setup JDK
uses: actions/setup-java@v5
with:
-- distribution: 'temurin'
-- java-version: '21'
++ distribution: 'temurin'
++ java-version: '${{ env.JDK_VER }}'
- name: Fetch Dependencies
run: ./gradlew -I gradle/support/fetchDependencies.gradle -DhideDownloadProgress -DnoEclipse
diff --cc Ghidra/Features/PyGhidra/.launch/PyGhidra GUI.launch
index bc0c1ef12c,bc0c1ef12c..768d68689e
--- a/Ghidra/Features/PyGhidra/.launch/PyGhidra GUI.launch
+++ b/Ghidra/Features/PyGhidra/.launch/PyGhidra GUI.launch
@@@ -9,7 -9,7 +9,7 @@@
</listAttribute>
<mapAttribute key="org.eclipse.debug.core.environmentVariables">
<mapEntry key="GHIDRA_INSTALL_DIR" value="${project_loc:/___root}"/>
-- <mapEntry key="JAVA_HOME_OVERRIDE" value="${ee_home:JavaSE-21}"/>
++ <mapEntry key="JAVA_HOME_OVERRIDE" value="${ee_home:JavaSE-25}"/>
</mapAttribute>
<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
diff --cc Ghidra/Features/PyGhidra/.launch/PyGhidra Interpreter.launch
index 97462b74b2,97462b74b2..6d5a6dd243
--- a/Ghidra/Features/PyGhidra/.launch/PyGhidra Interpreter.launch
+++ b/Ghidra/Features/PyGhidra/.launch/PyGhidra Interpreter.launch
@@@ -9,7 -9,7 +9,7 @@@
</listAttribute>
<mapAttribute key="org.eclipse.debug.core.environmentVariables">
<mapEntry key="GHIDRA_INSTALL_DIR" value="${project_loc:/___root}"/>
-- <mapEntry key="JAVA_HOME_OVERRIDE" value="${ee_home:JavaSE-21}"/>
++ <mapEntry key="JAVA_HOME_OVERRIDE" value="${ee_home:JavaSE-25}"/>
</mapAttribute>
<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
diff --cc Ghidra/Features/PyGhidra/.launch/_PyGhidra GUI Debug.launch
index c9a8500275,c9a8500275..4642670128
--- a/Ghidra/Features/PyGhidra/.launch/_PyGhidra GUI Debug.launch
+++ b/Ghidra/Features/PyGhidra/.launch/_PyGhidra GUI Debug.launch
@@@ -9,7 -9,7 +9,7 @@@
</listAttribute>
<mapAttribute key="org.eclipse.debug.core.environmentVariables">
<mapEntry key="GHIDRA_INSTALL_DIR" value="${project_loc:/___root}"/>
-- <mapEntry key="JAVA_HOME_OVERRIDE" value="${ee_home:JavaSE-21}"/>
++ <mapEntry key="JAVA_HOME_OVERRIDE" value="${ee_home:JavaSE-25}"/>
<mapEntry key="PYGHIDRA_DEBUG" value="1"/>
</mapAttribute>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:Features PyGhidra/src/main/py/src/pyghidra}"/>
diff --cc Ghidra/Features/PyGhidra/.launch/_PyGhidra Interpreter Debug.launch
index eacee98399,eacee98399..89be4b6613
--- a/Ghidra/Features/PyGhidra/.launch/_PyGhidra Interpreter Debug.launch
+++ b/Ghidra/Features/PyGhidra/.launch/_PyGhidra Interpreter Debug.launch
@@@ -9,7 -9,7 +9,7 @@@
</listAttribute>
<mapAttribute key="org.eclipse.debug.core.environmentVariables">
<mapEntry key="GHIDRA_INSTALL_DIR" value="${project_loc:/___root}"/>
-- <mapEntry key="JAVA_HOME_OVERRIDE" value="${ee_home:JavaSE-21}"/>
++ <mapEntry key="JAVA_HOME_OVERRIDE" value="${ee_home:JavaSE-25}"/>
<mapEntry key="PYGHIDRA_DEBUG" value="1"/>
</mapAttribute>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:Features PyGhidra/src/main/py/src/pyghidra}"/>
diff --cc Ghidra/Features/PyGhidra/src/main/py/src/pyghidra/launcher.py
index 9665439b46,9665439b46..c920a355b0
--- a/Ghidra/Features/PyGhidra/src/main/py/src/pyghidra/launcher.py
+++ b/Ghidra/Features/PyGhidra/src/main/py/src/pyghidra/launcher.py
@@@ -262,6 -262,6 +262,8 @@@ class PyGhidraLauncher
if "org.eclipse.jdt.launching.VM_ARGUMENTS" in line:
_, _, value = line.partition("value=")
value = value.removesuffix("/>")
++ if value.startswith('"') and value.endswith('"'):
++ value = value[1:-1]
return html.unescape(value).split()
raise Exception("org.eclipse.jdt.launching.VM_ARGUMENTS not found")