Skip to content

Update to Ghidra 10.3.3 #49

Update to Ghidra 10.3.3

Update to Ghidra 10.3.3 #49

Workflow file for this run

name: Build and test ShannonLoader
on:
push:
branches: [ master ]
paths:
- 'reversing/ghidra/ShannonLoader/**'
- '!reversing/ghidra/ShannonLoader/*.md'
pull_request:
branches: [ master ]
paths:
- 'reversing/ghidra/ShannonLoader/**'
- '!reversing/ghidra/ShannonLoader/*.md'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: reversing/ghidra/ShannonLoader
env:
GHIDRA_VERSION: 10.3.3
GHIDRA_BUILDDATE: 20230829
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
repository: grant-h/ShannonFirmware
path: reversing/ghidra/ShannonLoader/ShannonFirmware
- name: Installing JDK
uses: actions/setup-java@v1
with:
java-version: 17
- name: Download Ghidra ${{ env.GHIDRA_VERSION }}
run: wget -q "https://github.com/NationalSecurityAgency/ghidra/releases/download/Ghidra_${GHIDRA_VERSION}_build/ghidra_${GHIDRA_VERSION}_PUBLIC_${GHIDRA_BUILDDATE}.zip"
- name: Unzip Ghidra
run: unzip -q "ghidra_${GHIDRA_VERSION}_PUBLIC_${GHIDRA_BUILDDATE}.zip"
- name: Build and pack extension
run: GHIDRA_INSTALL_DIR="$(pwd)/ghidra_${GHIDRA_VERSION}_PUBLIC" ./gradlew
- name: Install extension to Ghidra
run: unzip "./dist/ghidra_${GHIDRA_VERSION}.*ShannonLoader.zip" -d "./ghidra_${GHIDRA_VERSION}_PUBLIC/Ghidra/Extensions"
- name: Test loader on firmware corpus
run: GHIDRA_INSTALL_DIR="$(pwd)/ghidra_${GHIDRA_VERSION}_PUBLIC" ./scripts/ShannonFirmwareProcess.py $(pwd) ShannonProject ./ShannonFirmware/modem_files