Ghidra is a software reverse engineering (SRE) framework
GP-5598: Rename InstallationGuide to GettingStarted; put in installation root dir
Ryan Kurtz0ee0537e45aa
diff --git a/DevGuide.md b/DevGuide.mdindex 54a86aa141..ef7fbad7a6 100644--- a/DevGuide.md+++ b/DevGuide.md@@ -410,7 +410,7 @@ issues in Eclipse:[java]: https://dev.java[cpp]: https://isocpp.org-[sleigh]: https://htmlpreview.github.io/?https://github.com/NationalSecurityAgency/ghidra/blob/master/GhidraDocs/languages/index.html+[sleigh]: https://htmlpreview.github.io/?https://github.com/NationalSecurityAgency/ghidra/blob/stable/GhidraDocs/languages/index.html[python]: https://www.python.org[venv]: https://docs.python.org/3/tutorial/venv.html[jython]: https://www.jython.orgdiff --git a/Ghidra/Configurations/Public_Release/src/global/docs/WhatsNew.md b/Ghidra/Configurations/Public_Release/src/global/docs/WhatsNew.mdindex 362db71117..b9ccc0597a 100644--- a/Ghidra/Configurations/Public_Release/src/global/docs/WhatsNew.md+++ b/Ghidra/Configurations/Public_Release/src/global/docs/WhatsNew.md@@ -38,7 +38,7 @@ causing a full logout, check if your xorg-server has been updated to at least th**NOTE:** Each build distribution will include native components (e.g., decompiler) for at least oneplatform (e.g., Windows x86-64). If you have another platform that is not included in the builddistribution, you can build native components for your platform directly from the distribution.-See the *Installation Guide* for additional information. Users running with older shared libraries+See the *Getting Started* document for additional information. Users running with older shared librariesand operating systems (e.g., CentOS 7.x) may also run into compatibility errors when launchingnative executables such as the Decompiler and GNU Demangler which may necessitate a rebuild ofnative components.@@ -67,7 +67,7 @@ up analysis on a given sample and running a Ghidra script locally. It also contato allow the use of CPython 3 from the Ghidra GUI.To launch Ghidra in PyGhidra mode, run `./support/pyghidra` (or `support\pyghidra.bat`). See the-*"PyGhidra Mode"* section of the *Installation Guide* and `Ghidra/Features/PyGhidra/README.html`+*"PyGhidra Mode"* section of the *Getting Started* document and `Ghidra/Features/PyGhidra/README.html`for more information.## Visual Studio Codediff --git a/Ghidra/Features/PyGhidra/src/main/py/README.md b/Ghidra/Features/PyGhidra/src/main/py/README.mdindex 4282ba2707..7455477c31 100644--- a/Ghidra/Features/PyGhidra/src/main/py/README.md+++ b/Ghidra/Features/PyGhidra/src/main/py/README.md@@ -12,7 +12,8 @@ Ghidra provides an out-of-the box integration with the PyGhidra Python library winstallation and usage fairly straightforward. This enables the Ghidra GUI and headless Ghidra torun GhidraScript's written in native CPython 3, as well as interact with the Ghidra GUI through abuilt-in REPL. To launch Ghidra in PyGhidra-mode, see Ghidra's latest-[Installation Guide](https://github.com/NationalSecurityAgency/ghidra/blob/master/GhidraDocs/InstallationGuide.md#pyghidra-mode).+[Getting Started](https://github.com/NationalSecurityAgency/ghidra/blob/stable/GhidraDocs/GettingStarted.md#pyghidra-mode)+document.It is also possible (and encouraged!) to use PyGhidra as a standalone Python library for usagein reverse engineering workflows where Ghidra may be one of many components involved. The followingdiff --git a/Ghidra/RuntimeScripts/Common/server/svrREADME.md b/Ghidra/RuntimeScripts/Common/server/svrREADME.mdindex bc670b7d65..9fae87b2ed 100644--- a/Ghidra/RuntimeScripts/Common/server/svrREADME.md+++ b/Ghidra/RuntimeScripts/Common/server/svrREADME.md@@ -53,20 +53,19 @@ __NOTE__: It is highly recommended that the installation files for Ghidra resideand that the intended Ghidra Server process owner is granted full access to the Ghidra installationdirectory (this is frequently not the case for NFS/SMB mounted home directories).-You may also refer to the _InstallationGuide.html_ file within the _docs/_ subdirectory for general-installation information.+You may also refer to the _GettingStarted.html_ file within the Ghidra installation root directory+for general installation information.([Back to Top][top])## Java Runtime EnvironmentThe installation of a suitable Java Runtime Environment must be completed before installing or-running the Ghidra Server. Please refer to the Ghidra Installation Guide to identify-a suitable version. Since the Ghidra Server is unable to interactively identify a Java installation-at runtime it must rely upon the setting of `JAVA_HOME`, execution search PATH or the use of-standard Java installation locations. It is important to consider the service execution environment-which may differ from the administrator who may be installing the service. For this reason use of-an installed Java release may be preferable over one that is simply unpacked to an arbitrary-location.+running the Ghidra Server. Please refer to the Getting Started document to identify a suitable+version. Since the Ghidra Server is unable to interactively identify a Java installation at runtime+it must rely upon the setting of `JAVA_HOME`, execution search PATH or the use of standard Java+installation locations. It is important to consider the service execution environment which may+differ from the administrator who may be installing the service. For this reason use of an+installed Java release may be preferable over one that is simply unpacked to an arbitrary location.([Back to Top][top])@@ -731,7 +730,7 @@ Please note that the Ghidra Server does not currently support Certificate Revoca[Linux/macOS](#uninstall-service-must-have-admin-privilege)).3. Unzip the new Ghidra distribution to a new installation directory (general unpacking and- installation guidelines may be found in _ghidra_x.x/docs/InstallationGuide.html_).+ installation guidelines may be found in _ghidra_x.x/GettingStarted.html_).4. Copy the old _repositories_ directory to the new Ghidra Server installation directory.diff --git a/Ghidra/RuntimeScripts/Linux/support/launch.sh b/Ghidra/RuntimeScripts/Linux/support/launch.shindex f7a130628d..167835405d 100755--- a/Ghidra/RuntimeScripts/Linux/support/launch.sh+++ b/Ghidra/RuntimeScripts/Linux/support/launch.sh@@ -140,7 +140,7 @@ fiif [ "${JAVA_CMD}" == "" ]; thenechoecho "ERROR: The 'java' command could not be found in your PATH or with JAVA_HOME."- echo "Please refer to the Ghidra Installation Guide's Troubleshooting section."+ echo "Please refer to the Getting Started document's Troubleshooting section."exit 1fi@@ -151,7 +151,7 @@ if [ ! $? -eq 0 ]; thenif [ ! -t 0 ]; thenechoecho "ERROR: Unable to prompt user for JDK path, no TTY detected."- echo "Please refer to the Ghidra Installation Guide's Troubleshooting section."+ echo "Please refer to the Getting Started document's Troubleshooting section."exit 1fi@@ -163,7 +163,7 @@ if [ ! $? -eq 0 ]; thenif [ ! $? -eq 0 ]; thenechoecho "ERROR: Failed to find a supported JDK."- echo "Please refer to the Ghidra Installation Guide's Troubleshooting section."+ echo "Please refer to the Getting Started document's Troubleshooting section."exit 1fifidiff --git a/Ghidra/RuntimeScripts/Windows/support/launch.bat b/Ghidra/RuntimeScripts/Windows/support/launch.batindex 5b31ec4977..47c95d81b6 100644--- a/Ghidra/RuntimeScripts/Windows/support/launch.bat+++ b/Ghidra/RuntimeScripts/Windows/support/launch.bat@@ -127,7 +127,7 @@ echo WARNING: JAVA_HOME environment variable is set to an invalid directory: %JA:javaNotFoundecho.echo ERROR: The 'java' command could not be found in your PATH or with JAVA_HOME.-echo Please refer to the Ghidra Installation Guide's Troubleshooting section.+echo Please refer to the Getting Started document's Troubleshooting section.set ERRORLEVEL=1goto exit1@@ -146,7 +146,7 @@ if "%LS_JAVA_HOME%" == "" (if "!LS_JAVA_HOME!" == "" (echo.echo ERROR: Failed to find a supported JDK.- echo Please refer to the Ghidra Installation Guide's Troubleshooting section.+ echo Please refer to the Getting Started document's Troubleshooting section.set ERRORLEVEL=1goto exit1)diff --git a/GhidraDocs/InstallationGuide.md b/GhidraDocs/GettingStarted.mdsimilarity index 99%rename from GhidraDocs/InstallationGuide.mdrename to GhidraDocs/GettingStarted.mdindex e4ab79506e..d8b59d7df0 100644--- a/GhidraDocs/InstallationGuide.md+++ b/GhidraDocs/GettingStarted.md@@ -1,6 +1,6 @@-# Ghidra Installation Guide-The installation information provided is effective as of Ghidra 11.3 and is subject to change with-future releases.+# Getting Started with Ghidra+The information provided in this document is effective as of Ghidra 11.4 and is subject to change+with future releases.## Table of Contents1. [Platforms Supported](#platforms-supported)diff --git a/GhidraDocs/build.gradle b/GhidraDocs/build.gradleindex 076d90275e..afdba52075 100644--- a/GhidraDocs/build.gradle+++ b/GhidraDocs/build.gradle@@ -52,8 +52,8 @@ rootProject.assembleDistribution {}rootProject.assembleMarkdownToHtml {- from ("${this.projectDir}/InstallationGuide.md") {- into "docs"+ from ("${this.projectDir}/GettingStarted.md") {+ into "."}from ("${this.projectDir}/GhidraClass/BSim") {include "*.md"diff --git a/GhidraDocs/certification.manifest b/GhidraDocs/certification.manifestindex 12ea58c526..501d98b773 100644--- a/GhidraDocs/certification.manifest+++ b/GhidraDocs/certification.manifest@@ -9,6 +9,7 @@##MODULE IP: Public Domain##MODULE IP: Tango Icons - Public DomainCheatSheet.html||GHIDRA||||END|+GettingStarted.md||GHIDRA||||END|GhidraClass/Advanced/improvingDisassemblyAndDecompilation.pdf||GHIDRA||||END|GhidraClass/Advanced/src/Examples/Makefile||GHIDRA||||END|GhidraClass/Advanced/src/Examples/compilerVsDecompiler.s||GHIDRA||||END|@@ -192,7 +193,6 @@ GhidraClass/Intermediate/VersionTracking.html||GHIDRA|||This file contains mostlGhidraClass/Intermediate/VersionTracking_withNotes.html||Public Domain|||Slight modification of code that is available for distribution, without restrictions, (original extremely permissive wtf license allows us to change IP to Public Domain),from https://github.com/paulrouget/dzslides.|END|GhidraCodingStandards.html||GHIDRA||||END|GhidraFilesystemStorage.html||GHIDRA||||END|-InstallationGuide.md||GHIDRA||||END|images/B.gif||GHIDRA||||END|images/D.gif||GHIDRA||||END|images/F.gif||GHIDRA||||END|diff --git a/README.md b/README.mdindex 2ed945893c..863a7bfee5 100644--- a/README.md+++ b/README.md@@ -37,8 +37,8 @@ To install an official pre-built multi-platform Ghidra release:- or launch [PyGhidra][pyghidra]: `./support/pyGhidraRun` (`support\pyGhidraRun.bat` for Windows)For additional information and troubleshooting tips about installing and running a Ghidra release,-please refer to the [Installation Guide][installationguide] which can be found in a Ghidra release-at `docs/InstallationGuide.html`.+please refer to the [Getting Started][gettingstarted] document which can be found at the root of a+Ghidra installation directory.## BuildTo create the latest development build for your platform from this source repository:@@ -128,7 +128,7 @@ source project.[nsa]: https://www.nsa.gov[contrib]: CONTRIBUTING.md[devguide]: DevGuide.md-[installationguide]: GhidraDocs/InstallationGuide.md+[gettingstarted]: GhidraDocs/GettingStarted.md[known-issues]: DevGuide.md#known-issues[career]: https://www.intelligencecareers.gov/nsa[releases]: https://github.com/NationalSecurityAgency/ghidra/releases