Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-1 add missing help for DWARF external debug files plugin

dev747368396bd0eddbf9
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 @@
<tocdef id="Search Results Window" sortgroup="h" text="Query Results Window" target="help/topics/Search/Query_Results_Dialog.htm" />
</tocdef>
+ <tocdef id="DWARF External Debug Files" sortgroup="q" text="DWARF External Debug Files" target="help/topics/DWARFExternalDebugFilesPlugin/DWARFExternalDebugFilesPlugin.html" >
+ </tocdef>
</tocdef> <!-- End Program Annotation -->
<tocdef id="Scripting" text="Scripting" target="help/topics/GhidraScriptMgrPlugin/GhidraScriptMgrPlugin.htm" >
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 @@
+<!DOCTYPE doctype PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
+
+<HTML>
+ <HEAD>
+ <TITLE>DWARF External Debug Files</TITLE>
+ <META http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <LINK rel="stylesheet" type="text/css" href="../../shared/Frontpage.css">
+ </HEAD>
+
+ <BODY lang="EN-US">
+ <H1>DWARF External Debug Files</H1>
+
+ <P>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).</P>
+
+ <P>Use the ExtractELFDebugFilesScript to pull external debug files from pre-packaged install
+ files, typically provided by Linux / BSD distributions, for later consumption by Ghidra.</P>
+
+ <H2>Menu Actions</H2>
+
+ <BLOCKQUOTE>
+ <H3 align="left"><A name="DWARF_External_Debug_Config"></A>DWARF External Debug Config</H3>
+
+ <BLOCKQUOTE>
+ <P align="left">Allows the user to pick a directory where Ghidra will search for DWARF external debug files.</P>
+ <P align="left">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.</P>
+ </BLOCKQUOTE>
+ </BLOCKQUOTE>
+
+
+ <P class="providedbyplugin"><BR>
+ Provided by: <I>DWARF External Debug Files Plugin</I></P>
+
+ <P>&nbsp;</P>
+ <BR>
+ <BR>
+ <BR>
+ </BODY>
+</HTML>