mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-5598: Rename InstallationGuide to GettingStarted; put in installation
root dir
This commit is contained in:
parent
39e5485389
commit
0ee0537e45
10 changed files with 28 additions and 28 deletions
|
@ -410,7 +410,7 @@ issues in Eclipse:
|
||||||
|
|
||||||
[java]: https://dev.java
|
[java]: https://dev.java
|
||||||
[cpp]: https://isocpp.org
|
[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
|
[python]: https://www.python.org
|
||||||
[venv]: https://docs.python.org/3/tutorial/venv.html
|
[venv]: https://docs.python.org/3/tutorial/venv.html
|
||||||
[jython]: https://www.jython.org
|
[jython]: https://www.jython.org
|
||||||
|
|
|
@ -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 one
|
**NOTE:** Each build distribution will include native components (e.g., decompiler) for at least one
|
||||||
platform (e.g., Windows x86-64). If you have another platform that is not included in the build
|
platform (e.g., Windows x86-64). If you have another platform that is not included in the build
|
||||||
distribution, you can build native components for your platform directly from the distribution.
|
distribution, 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 libraries
|
||||||
and operating systems (e.g., CentOS 7.x) may also run into compatibility errors when launching
|
and operating systems (e.g., CentOS 7.x) may also run into compatibility errors when launching
|
||||||
native executables such as the Decompiler and GNU Demangler which may necessitate a rebuild of
|
native executables such as the Decompiler and GNU Demangler which may necessitate a rebuild of
|
||||||
native components.
|
native components.
|
||||||
|
@ -67,7 +67,7 @@ up analysis on a given sample and running a Ghidra script locally. It also conta
|
||||||
to allow the use of CPython 3 from the Ghidra GUI.
|
to 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
|
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.
|
for more information.
|
||||||
|
|
||||||
## Visual Studio Code
|
## Visual Studio Code
|
||||||
|
|
|
@ -12,7 +12,8 @@ Ghidra provides an out-of-the box integration with the PyGhidra Python library w
|
||||||
installation and usage fairly straightforward. This enables the Ghidra GUI and headless Ghidra to
|
installation and usage fairly straightforward. This enables the Ghidra GUI and headless Ghidra to
|
||||||
run GhidraScript's written in native CPython 3, as well as interact with the Ghidra GUI through a
|
run GhidraScript's written in native CPython 3, as well as interact with the Ghidra GUI through a
|
||||||
built-in REPL. To launch Ghidra in PyGhidra-mode, see Ghidra's latest
|
built-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 usage
|
It is also possible (and encouraged!) to use PyGhidra as a standalone Python library for usage
|
||||||
in reverse engineering workflows where Ghidra may be one of many components involved. The following
|
in reverse engineering workflows where Ghidra may be one of many components involved. The following
|
||||||
|
|
|
@ -53,20 +53,19 @@ __NOTE__: It is highly recommended that the installation files for Ghidra reside
|
||||||
and that the intended Ghidra Server process owner is granted full access to the Ghidra installation
|
and that the intended Ghidra Server process owner is granted full access to the Ghidra installation
|
||||||
directory (this is frequently not the case for NFS/SMB mounted home directories).
|
directory (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
|
You may also refer to the _GettingStarted.html_ file within the Ghidra installation root directory
|
||||||
installation information.
|
for general installation information.
|
||||||
|
|
||||||
([Back to Top][top])
|
([Back to Top][top])
|
||||||
|
|
||||||
## Java Runtime Environment
|
## Java Runtime Environment
|
||||||
The installation of a suitable Java Runtime Environment must be completed before installing or
|
The 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
|
running the Ghidra Server. Please refer to the Getting Started document to identify a suitable
|
||||||
a suitable version. Since the Ghidra Server is unable to interactively identify a Java installation
|
version. Since the Ghidra Server is unable to interactively identify a Java installation at runtime
|
||||||
at runtime it must rely upon the setting of `JAVA_HOME`, execution search PATH or the use of
|
it must rely upon the setting of `JAVA_HOME`, execution search PATH or the use of standard Java
|
||||||
standard Java installation locations. It is important to consider the service execution environment
|
installation locations. It is important to consider the service execution environment which may
|
||||||
which may differ from the administrator who may be installing the service. For this reason use of
|
differ from the administrator who may be installing the service. For this reason use of an
|
||||||
an installed Java release may be preferable over one that is simply unpacked to an arbitrary
|
installed Java release may be preferable over one that is simply unpacked to an arbitrary location.
|
||||||
location.
|
|
||||||
|
|
||||||
([Back to Top][top])
|
([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)).
|
[Linux/macOS](#uninstall-service-must-have-admin-privilege)).
|
||||||
|
|
||||||
3. Unzip the new Ghidra distribution to a new installation directory (general unpacking and
|
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.
|
4. Copy the old _repositories_ directory to the new Ghidra Server installation directory.
|
||||||
|
|
||||||
|
|
|
@ -140,7 +140,7 @@ fi
|
||||||
if [ "${JAVA_CMD}" == "" ]; then
|
if [ "${JAVA_CMD}" == "" ]; then
|
||||||
echo
|
echo
|
||||||
echo "ERROR: The 'java' command could not be found in your PATH or with JAVA_HOME."
|
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."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -151,7 +151,7 @@ if [ ! $? -eq 0 ]; then
|
||||||
if [ ! -t 0 ]; then
|
if [ ! -t 0 ]; then
|
||||||
echo
|
echo
|
||||||
echo "ERROR: Unable to prompt user for JDK path, no TTY detected."
|
echo "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 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -163,7 +163,7 @@ if [ ! $? -eq 0 ]; then
|
||||||
if [ ! $? -eq 0 ]; then
|
if [ ! $? -eq 0 ]; then
|
||||||
echo
|
echo
|
||||||
echo "ERROR: Failed to find a supported JDK."
|
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."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -127,7 +127,7 @@ echo WARNING: JAVA_HOME environment variable is set to an invalid directory: %JA
|
||||||
:javaNotFound
|
:javaNotFound
|
||||||
echo.
|
echo.
|
||||||
echo ERROR: The 'java' command could not be found in your PATH or with JAVA_HOME.
|
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=1
|
set ERRORLEVEL=1
|
||||||
goto exit1
|
goto exit1
|
||||||
|
|
||||||
|
@ -146,7 +146,7 @@ if "%LS_JAVA_HOME%" == "" (
|
||||||
if "!LS_JAVA_HOME!" == "" (
|
if "!LS_JAVA_HOME!" == "" (
|
||||||
echo.
|
echo.
|
||||||
echo ERROR: Failed to find a supported JDK.
|
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=1
|
set ERRORLEVEL=1
|
||||||
goto exit1
|
goto exit1
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Ghidra Installation Guide
|
# Getting Started with Ghidra
|
||||||
The installation information provided is effective as of Ghidra 11.3 and is subject to change with
|
The information provided in this document is effective as of Ghidra 11.4 and is subject to change
|
||||||
future releases.
|
with future releases.
|
||||||
|
|
||||||
## Table of Contents
|
## Table of Contents
|
||||||
1. [Platforms Supported](#platforms-supported)
|
1. [Platforms Supported](#platforms-supported)
|
|
@ -52,8 +52,8 @@ rootProject.assembleDistribution {
|
||||||
}
|
}
|
||||||
|
|
||||||
rootProject.assembleMarkdownToHtml {
|
rootProject.assembleMarkdownToHtml {
|
||||||
from ("${this.projectDir}/InstallationGuide.md") {
|
from ("${this.projectDir}/GettingStarted.md") {
|
||||||
into "docs"
|
into "."
|
||||||
}
|
}
|
||||||
from ("${this.projectDir}/GhidraClass/BSim") {
|
from ("${this.projectDir}/GhidraClass/BSim") {
|
||||||
include "*.md"
|
include "*.md"
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
##MODULE IP: Public Domain
|
##MODULE IP: Public Domain
|
||||||
##MODULE IP: Tango Icons - Public Domain
|
##MODULE IP: Tango Icons - Public Domain
|
||||||
CheatSheet.html||GHIDRA||||END|
|
CheatSheet.html||GHIDRA||||END|
|
||||||
|
GettingStarted.md||GHIDRA||||END|
|
||||||
GhidraClass/Advanced/improvingDisassemblyAndDecompilation.pdf||GHIDRA||||END|
|
GhidraClass/Advanced/improvingDisassemblyAndDecompilation.pdf||GHIDRA||||END|
|
||||||
GhidraClass/Advanced/src/Examples/Makefile||GHIDRA||||END|
|
GhidraClass/Advanced/src/Examples/Makefile||GHIDRA||||END|
|
||||||
GhidraClass/Advanced/src/Examples/compilerVsDecompiler.s||GHIDRA||||END|
|
GhidraClass/Advanced/src/Examples/compilerVsDecompiler.s||GHIDRA||||END|
|
||||||
|
@ -192,7 +193,6 @@ GhidraClass/Intermediate/VersionTracking.html||GHIDRA|||This file contains mostl
|
||||||
GhidraClass/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|
|
GhidraClass/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|
|
GhidraCodingStandards.html||GHIDRA||||END|
|
||||||
GhidraFilesystemStorage.html||GHIDRA||||END|
|
GhidraFilesystemStorage.html||GHIDRA||||END|
|
||||||
InstallationGuide.md||GHIDRA||||END|
|
|
||||||
images/B.gif||GHIDRA||||END|
|
images/B.gif||GHIDRA||||END|
|
||||||
images/D.gif||GHIDRA||||END|
|
images/D.gif||GHIDRA||||END|
|
||||||
images/F.gif||GHIDRA||||END|
|
images/F.gif||GHIDRA||||END|
|
||||||
|
|
|
@ -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)
|
- or launch [PyGhidra][pyghidra]: `./support/pyGhidraRun` (`support\pyGhidraRun.bat` for Windows)
|
||||||
|
|
||||||
For additional information and troubleshooting tips about installing and running a Ghidra release,
|
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
|
please refer to the [Getting Started][gettingstarted] document which can be found at the root of a
|
||||||
at `docs/InstallationGuide.html`.
|
Ghidra installation directory.
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
To create the latest development build for your platform from this source repository:
|
To create the latest development build for your platform from this source repository:
|
||||||
|
@ -128,7 +128,7 @@ source project.
|
||||||
[nsa]: https://www.nsa.gov
|
[nsa]: https://www.nsa.gov
|
||||||
[contrib]: CONTRIBUTING.md
|
[contrib]: CONTRIBUTING.md
|
||||||
[devguide]: DevGuide.md
|
[devguide]: DevGuide.md
|
||||||
[installationguide]: GhidraDocs/InstallationGuide.md
|
[gettingstarted]: GhidraDocs/GettingStarted.md
|
||||||
[known-issues]: DevGuide.md#known-issues
|
[known-issues]: DevGuide.md#known-issues
|
||||||
[career]: https://www.intelligencecareers.gov/nsa
|
[career]: https://www.intelligencecareers.gov/nsa
|
||||||
[releases]: https://github.com/NationalSecurityAgency/ghidra/releases
|
[releases]: https://github.com/NationalSecurityAgency/ghidra/releases
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue