Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-6126: Ghidra now builds on Windows on ARM (requires Gradle 9.2 or later)

Ryan Kurtz7502e9f41d85
diff --git a/GPL/DemanglerGnu/build.gradle b/GPL/DemanglerGnu/build.gradle
index 4b079cce79..47d527c77a 100644
--- a/GPL/DemanglerGnu/build.gradle
+++ b/GPL/DemanglerGnu/build.gradle
@@ -77,6 +77,7 @@ model {
//
demangler_gnu_v2_41(NativeExecutableSpec) {
targetPlatform "win_x86_64"
+ targetPlatform "win_arm_64"
targetPlatform "linux_x86_64"
targetPlatform "linux_arm_64"
targetPlatform "mac_x86_64"
@@ -100,6 +101,7 @@ model {
//
demangler_gnu_v2_24(NativeExecutableSpec) {
targetPlatform "win_x86_64"
+ targetPlatform "win_arm_64"
targetPlatform "linux_x86_64"
targetPlatform "linux_arm_64"
targetPlatform "mac_x86_64"
diff --git a/GPL/nativePlatforms.gradle b/GPL/nativePlatforms.gradle
index 0a2c02a2d2..3b08da6170 100644
--- a/GPL/nativePlatforms.gradle
+++ b/GPL/nativePlatforms.gradle
@@ -21,6 +21,7 @@
project.ext.PLATFORMS = [
[name: "win_x86_32", os: "windows", arch: "x86"],
[name: "win_x86_64", os: "windows", arch: "x86_64"],
+ [name: "win_arm_64", os: "windows", arch: "arm64"],
[name: "linux_x86_64", os: "linux", arch: "x86_64"],
[name: "linux_arm_64", os: "linux", arch: "arm64"],
[name: "mac_x86_64", os: "osx", arch: "x86_64"],
diff --git a/Ghidra/Features/Decompiler/buildNatives.gradle b/Ghidra/Features/Decompiler/buildNatives.gradle
index 5b7edf8af2..e0dfb2fa3f 100644
--- a/Ghidra/Features/Decompiler/buildNatives.gradle
+++ b/Ghidra/Features/Decompiler/buildNatives.gradle
@@ -38,6 +38,7 @@ model {
// these tell gradle for which platforms to build a decompiler executable.
targetPlatform "win_x86_64"
+ targetPlatform "win_arm_64"
targetPlatform "linux_x86_64"
targetPlatform "linux_arm_64"
targetPlatform "mac_x86_64"
@@ -148,6 +149,7 @@ model {
sleigh(NativeExecutableSpec) {
targetPlatform "win_x86_64"
+ targetPlatform "win_arm_64"
targetPlatform "linux_x86_64"
targetPlatform "linux_arm_64"
targetPlatform "mac_x86_64"
diff --git a/Ghidra/Features/FileFormats/buildNatives.gradle b/Ghidra/Features/FileFormats/buildNatives.gradle
index 37bba0fdff..d6a4cf3c9f 100644
--- a/Ghidra/Features/FileFormats/buildNatives.gradle
+++ b/Ghidra/Features/FileFormats/buildNatives.gradle
@@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* 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
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -29,6 +29,7 @@ model {
baseName "lzfse"
targetPlatform "win_x86_64"
+ targetPlatform "win_arm_64"
targetPlatform "linux_x86_64"
targetPlatform "linux_arm_64"
targetPlatform "mac_x86_64"