diff --git a/docs/getting-started/installation.md b/docs/getting-started/installation.md index b1d0cbefdc..ea36e445c3 100644 --- a/docs/getting-started/installation.md +++ b/docs/getting-started/installation.md @@ -1237,8 +1237,10 @@ until a release is known to clear it. Each installation must include the native decompiler for the host architecture in `Ghidra/Features/Decompiler/os//` or the corresponding -`build/os//` directory. Linux ARM64 uses `linux_arm_64`; official -release archives may require you to build that native component separately. +`build/os//` directory. Linux ARM64 uses `linux_arm_64`. Official +release archives ship native binaries only for Windows and Linux x64, so on +Linux ARM64 build them with the release's +[native component instructions](https://github.com/NationalSecurityAgency/ghidra/blob/Ghidra_12.2_build/GhidraDocs/GettingStarted.md#building-native-components). REA checks the executable prerequisite by inspecting the file's own executable header, so a native component built for another platform or architecture is reported as incompatible instead of being admitted from its directory name, and diff --git a/src/ghidra/GhidraInstallation.ts b/src/ghidra/GhidraInstallation.ts index 48bd43725d..f4ceadda17 100644 --- a/src/ghidra/GhidraInstallation.ts +++ b/src/ghidra/GhidraInstallation.ts @@ -986,8 +986,8 @@ const nativeDecompilerCheck = ({ /** * Where to get a decompiler that official release archives omit. Ghidra's - * official archives ship no macOS decompiler, and may ship none for Linux - * arm64; the archive's decompiler source builds it. + * official archives ship native binaries only for Windows and Linux x64; the + * archive's decompiler source builds the others. */ const nativeDecompilerBuildHint = ( platform: NodeJS.Platform, @@ -996,7 +996,7 @@ const nativeDecompilerBuildHint = ( platform === "darwin" && (architecture === "x64" || architecture === "arm64") ? ` Official Ghidra release archives include no macOS decompiler; build it from the archive's decompiler source as described in docs/getting-started/installation.md#${architecture === "arm64" ? "macos-arm64-native-decompiler" : "missing-macos-native-decompiler"}.` : platform === "linux" && architecture === "arm64" - ? " Official Ghidra release archives may not include a Linux arm64 decompiler; build Ghidra's native components for this host as described in docs/getting-started/installation.md#ghidra." + ? " Official Ghidra release archives include no Linux arm64 decompiler; build Ghidra's native components for this host as described in docs/getting-started/installation.md#ghidra." : ""; /**