mirror of
https://github.com/morluto/rea.git
synced 2026-11-21 22:15:50 +00:00
docs(ghidra): link the native build steps for Linux arm64
The Ghidra requirements said official archives may require building the Linux arm64 decompiler but gave no steps, so doctor's new pointer to that section led nowhere. Ghidra's own guide lists Linux ARM64 among the platforms that need user-built natives; link its Building Native Components section and state it plainly in the remediation too. Refs #7018 Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
This commit is contained in:
1 parent
cc8716ce22
commit
dc10161a9e
2 files changed
+7
-5
No files matched your search
@@ -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/<platform>/` or the corresponding
|
||||
`build/os/<platform>/` directory. Linux ARM64 uses `linux_arm_64`; official
|
||||
release archives may require you to build that native component separately.
|
||||
`build/os/<platform>/` 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
|
||||
|
||||
@@ -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."
|
||||
: "";
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user