Skip to content

Commit f83ce42

Browse files
authored
Add support for Ghidra 11.2 (#30)
* Add Ghidra 11.2 Also fix building of latest Ghidra from git.
1 parent 69fea30 commit f83ce42

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ you should see a `HelloWorld.scala` script. Right click it, and
4444
select `Run`. You should see the hello world message print out to the
4545
Console.
4646

47+
# Requirements #
48+
49+
This extension should work with JDK 17 or 21, but the prebuilt Github extensions
50+
will only work with the JDK version required by the Ghidra version they are
51+
built for. If you want to use a different JDK version, you will need to build
52+
the extension yourself.
53+
4754
# Supported Versions #
4855

4956
![Dynamic YAML Badge](https://img.shields.io/badge/dynamic/yaml?url=https%3A%2F%2Fgithub.com%2Fedmcman%2Fghidra-scala-loader%2Fraw%2Fmaster%2Fazure-pipelines.yml&query=%24.jobs%5B0%5D%5B%22strategy%22%5D%5B%22matrix%22%5D%5B%3F(%40.ghidraVersion%20!%3D%20%22master%22)%5D.ghidraVersion&label=Supported%20Ghidra%20versions)

azure-pipelines.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ schedules:
33
displayName: "Weekly build"
44
branches:
55
include:
6-
- ghidra-git
6+
- master
77
always: true # This will run even if there haven't been any code changes
88
jobs:
99
- job: Build_Ghidra_Plugin
@@ -50,8 +50,11 @@ jobs:
5050
ghidra1112:
5151
ghidraUrl: "https://github.com/NationalSecurityAgency/ghidra/releases/download/Ghidra_11.1.2_build/ghidra_11.1.2_PUBLIC_20240709.zip"
5252
ghidraVersion: "11.1.2"
53+
ghidra112:
54+
ghidraUrl: "https://github.com/NationalSecurityAgency/ghidra/releases/download/Ghidra_11.2_build/ghidra_11.2_PUBLIC_20240926.zip"
55+
ghidraVersion: "11.2"
56+
useJava21: true
5357
latest: true
54-
5558
pool:
5659
vmImage: 'Ubuntu-22.04'
5760
steps:
@@ -118,7 +121,7 @@ jobs:
118121
- bash: |
119122
set -ex
120123
cd ghidra
121-
gradle --build-cache --init-script gradle/support/fetchDependencies.gradle init
124+
gradle --build-cache -I gradle/support/fetchDependencies.gradle
122125
gradle --build-cache buildGhidra
123126
mkdir -p $WS/zip
124127
cp build/dist/*.zip $WS/zip/
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
44
networkTimeout=10000
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)