Skip to content

Commit

Permalink
Add support for Ghidra 11.2
Browse files Browse the repository at this point in the history
  • Loading branch information
chaoticgd committed Sep 28, 2024
1 parent 62a9f53 commit f659760
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 38 deletions.
25 changes: 11 additions & 14 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,29 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ghidra: ["11.1.2"]
ghidra: ["11.2", "11.1.2"]
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: "17"
java-package: jdk
architecture: x64
distribution: 'temurin'
java-version: '21'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
gradle-version: "8.10"
- name: Setup Ghidra
uses: er28-0652/setup-ghidra@b53614dada0a16e3c342277caae905b96d803109
with:
version: ${{ matrix.ghidra }}
- name: Download stdump
run: bash ./os/download.sh
- name: Test
uses: gradle/gradle-build-action@v2
with:
gradle-version: 7.6
arguments: test -PGHIDRA_INSTALL_DIR=${{ env.GHIDRA_INSTALL_DIR }}
run: gradle -PGHIDRA_INSTALL_DIR=${{ env.GHIDRA_INSTALL_DIR }} test
- name: Build Extension
uses: gradle/gradle-build-action@v2
with:
gradle-version: 7.6
arguments: buildExtension -PGHIDRA_INSTALL_DIR=${{ env.GHIDRA_INSTALL_DIR }}
run: gradle -PGHIDRA_INSTALL_DIR=${{ env.GHIDRA_INSTALL_DIR }} buildExtension
- name: Release
uses: svenstaro/[email protected]
with:
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ghidra: ["11.1.2"]
ghidra: ["11.2", "11.1.2"]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: "17"
java-package: jdk
architecture: x64
distribution: 'temurin'
java-version: '21'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
gradle-version: "8.10"
- name: Setup Ghidra
uses: er28-0652/setup-ghidra@b53614dada0a16e3c342277caae905b96d803109
with:
version: ${{ matrix.ghidra }}
- name: Test
uses: gradle/gradle-build-action@v2
with:
gradle-version: 7.6
arguments: test -PGHIDRA_INSTALL_DIR=${{ env.GHIDRA_INSTALL_DIR }}
run: gradle -PGHIDRA_INSTALL_DIR=${{ env.GHIDRA_INSTALL_DIR }} test
23 changes: 9 additions & 14 deletions .github/workflows/unstable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,27 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ghidra: ["11.1.2"]
ghidra: ["11.2", "11.1.2"]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: "17"
java-package: jdk
architecture: x64
distribution: 'temurin'
java-version: '21'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
gradle-version: "8.10"
- name: Setup Ghidra
uses: er28-0652/setup-ghidra@b53614dada0a16e3c342277caae905b96d803109
with:
version: ${{ matrix.ghidra }}
- name: Download stdump
run: bash ./os/download.sh
- name: Test
uses: gradle/gradle-build-action@v2
with:
gradle-version: 7.6
arguments: test -PGHIDRA_INSTALL_DIR=${{ env.GHIDRA_INSTALL_DIR }}
- name: Build Extension
uses: gradle/gradle-build-action@v2
with:
gradle-version: 7.6
arguments: buildExtension -PGHIDRA_INSTALL_DIR=${{ env.GHIDRA_INSTALL_DIR }}
run: gradle -PGHIDRA_INSTALL_DIR=${{ env.GHIDRA_INSTALL_DIR }} buildExtension
- name: Release
uses: svenstaro/[email protected]
with:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v2.1.20

- Added support for Ghidra 11.2.

## v2.1.19

- Fixed a relocation regression introduced in v2.1.17 where Ghidra's built-in MIPS relocation handler would take priority over the one included with the extension.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This extension is based on the original [ghidra-emotionengine](https://github.co
- Recover data types, functions and global variables from ELF files with `.mdebug` sections with the included STABS Analyzer.
- Import PCSX2 save states.
- Fix references to global variables with the MIPS-R5900 Constant Reference Analyzer.
- Support for Ghidra 11.1.2.
- Support for Ghidra 11.2.

## Installation

Expand Down

0 comments on commit f659760

Please sign in to comment.