From 396bd0eddbf9c4c27b2775e7dc64c71e6e9bce5d Mon Sep 17 00:00:00 2001 From: dev747368 <48332326+dev747368@users.noreply.github.com> Date: Thu, 18 Nov 2021 17:56:19 +0000 Subject: [PATCH] GP-1 add missing help for DWARF external debug files plugin --- Ghidra/Features/Base/certification.manifest | 1 + .../Base/src/main/help/help/TOC_Source.xml | 2 + .../DWARFExternalDebugFilesPlugin.html | 43 +++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 Ghidra/Features/Base/src/main/help/help/topics/DWARFExternalDebugFilesPlugin/DWARFExternalDebugFilesPlugin.html diff --git a/Ghidra/Features/Base/certification.manifest b/Ghidra/Features/Base/certification.manifest index 2b20e90f04..3d5c46938e 100644 --- a/Ghidra/Features/Base/certification.manifest +++ b/Ghidra/Features/Base/certification.manifest @@ -181,6 +181,7 @@ src/main/help/help/topics/ConsolePlugin/console.html||GHIDRA||||END| src/main/help/help/topics/ConsolePlugin/images/Console.png||GHIDRA||||END| src/main/help/help/topics/ConsolePlugin/images/erase16.png||GHIDRA||||END| src/main/help/help/topics/ConsolePlugin/images/lock.png||FAMFAMFAM Icons - CC 2.5|||famfamfam silk icon set|END| +src/main/help/help/topics/DWARFExternalDebugFilesPlugin/DWARFExternalDebugFilesPlugin.html||GHIDRA||||END| src/main/help/help/topics/DataPlugin/Data.htm||GHIDRA||||END| src/main/help/help/topics/DataPlugin/images/CreateStructureDialog.png||GHIDRA||||END| src/main/help/help/topics/DataPlugin/images/CreateStructureDialogWithTableSelection.png||GHIDRA||||END| diff --git a/Ghidra/Features/Base/src/main/help/help/TOC_Source.xml b/Ghidra/Features/Base/src/main/help/help/TOC_Source.xml index 4852cfa985..076b46b713 100644 --- a/Ghidra/Features/Base/src/main/help/help/TOC_Source.xml +++ b/Ghidra/Features/Base/src/main/help/help/TOC_Source.xml @@ -333,6 +333,8 @@ + + diff --git a/Ghidra/Features/Base/src/main/help/help/topics/DWARFExternalDebugFilesPlugin/DWARFExternalDebugFilesPlugin.html b/Ghidra/Features/Base/src/main/help/help/topics/DWARFExternalDebugFilesPlugin/DWARFExternalDebugFilesPlugin.html new file mode 100644 index 0000000000..c7ab424498 --- /dev/null +++ b/Ghidra/Features/Base/src/main/help/help/topics/DWARFExternalDebugFilesPlugin/DWARFExternalDebugFilesPlugin.html @@ -0,0 +1,43 @@ + + + + + DWARF External Debug Files + + + + + +

DWARF External Debug Files

+ +

These files contain DWARF debug information that has been stripped from the original binary and + placed into a separate file (typically to save space). These external files can be found using + information embedded in the original binary's ".gnu_debuglink" section (a filename and crc32) and/or + ".note.gnu.build-id" section (a hash value).

+ +

Use the ExtractELFDebugFilesScript to pull external debug files from pre-packaged install + files, typically provided by Linux / BSD distributions, for later consumption by Ghidra.

+ +

Menu Actions

+ +
+

DWARF External Debug Config

+ +
+

Allows the user to pick a directory where Ghidra will search for DWARF external debug files.

+

Ghidra will search for external debug files under the selected directory + as ".build-id/NN/hexhash.debug" if build-id information is available, falling back to trying + the debuglink filename in any subdirectory, and lastly in the original binary's import location.

+
+
+ + +


+ Provided by: DWARF External Debug Files Plugin

+ +

 

+
+
+
+ +