Ghidra is a software reverse engineering (SRE) framework
GT-3086 fixes
ghizardf5333aab6fb4
diff --git a/Ghidra/Features/PDB/build.gradle b/Ghidra/Features/PDB/build.gradleindex 6b005aa38b..9326c7d241 100644--- a/Ghidra/Features/PDB/build.gradle+++ b/Ghidra/Features/PDB/build.gradle@@ -1,5 +1,6 @@apply from: "$rootProject.projectDir/gradle/distributableGhidraModule.gradle"apply from: "$rootProject.projectDir/gradle/javaProject.gradle"+apply from: "$rootProject.projectDir/gradle/helpProject.gradle"apply from: "$rootProject.projectDir/gradle/jacocoProject.gradle"apply from: "$rootProject.projectDir/gradle/javaTestProject.gradle"apply from: "$rootProject.projectDir/gradle/nativeProject.gradle"@@ -18,6 +19,7 @@ dependencies {// Demangler Analyzer needs to find MicrosoftDemanglercompile project(":MicrosoftDemangler")+ helpPath project(path: ':Base', configuration: 'helpPath') // this module's help has links to Base help filestestCompile project(path: ':Base', configuration: 'testArtifacts')testCompile project(path: ':SoftwareModeling', configuration: 'testArtifacts')diff --git a/Ghidra/Features/PDB/certification.manifest b/Ghidra/Features/PDB/certification.manifestindex d13c64576a..7a2e94110d 100644--- a/Ghidra/Features/PDB/certification.manifest+++ b/Ghidra/Features/PDB/certification.manifest@@ -3,6 +3,16 @@ Module.manifest||GHIDRA||||END|build.gradle||GHIDRA||||END|src/global/docs/README_PDB.html||GHIDRA||||END|src/main/help/help/TOC_Source.xml||GHIDRA||||END|+src/main/help/help/shared/arrow.gif||GHIDRA||||END|+src/main/help/help/shared/close16.gif||GHIDRA||||END|+src/main/help/help/shared/menu16.gif||GHIDRA||||END|+src/main/help/help/shared/note-red.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0)|END|+src/main/help/help/shared/note.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0)|END|+src/main/help/help/shared/note.yellow.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0)|END|+src/main/help/help/shared/redo.png||GHIDRA||||END|+src/main/help/help/shared/tip.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0)|END|+src/main/help/help/shared/undo.png||GHIDRA||||END|+src/main/help/help/shared/warning.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0)|END|src/main/help/help/topics/Pdb/PDB.htm||GHIDRA||||END|src/main/help/help/topics/Pdb/download_pdb_file.html||GHIDRA||||END|src/main/help/help/topics/Pdb/images/KnownSymbolServerURLsDialog.png||GHIDRA||||END|diff --git a/Ghidra/Features/PDB/src/main/help/help/TOC_Source.xml b/Ghidra/Features/PDB/src/main/help/help/TOC_Source.xmlindex 64f9a84ac5..73d8d8d971 100644--- a/Ghidra/Features/PDB/src/main/help/help/TOC_Source.xml+++ b/Ghidra/Features/PDB/src/main/help/help/TOC_Source.xml@@ -49,15 +49,10 @@<tocroot>- <tocref id="Ghidra Functionality">- <tocdef id="Program Annotation"- text="Program Annotation"- target="help/topics/ProgramManagerPlugin/Program_Annotation.htm">- <tocdef id="PDB" sortgroup="q" text="PDB" target="help/topics/PDB/PDB.htm" >- <tocdef id="README_PDB" sortgroup="a" text="PDB Parser (README_PDB)" target="docs/README_PDB.html" />- <tocdef id="Download PDB" sortgroup="b" text="Download PDB File" target="help/topics/PDB/download_pdb_file.html" />- </tocdef>-- </tocdef>- </tocref>+ <tocref id="Program Annotation">+ <tocdef id="PDB" sortgroup="q" text="PDB" target="help/topics/Pdb/PDB.htm" >+ <tocdef id="README_PDB" sortgroup="a" text="PDB Parser (README_PDB)" target="docs/README_PDB.html" />+ <tocdef id="Download PDB" sortgroup="b" text="Download PDB File" target="help/topics/Pdb/download_pdb_file.html" />+ </tocdef>+ </tocref></tocroot>diff --git a/Ghidra/Features/PDB/src/main/help/help/shared/Frontpage.css b/Ghidra/Features/PDB/src/main/help/help/shared/Frontpage.cssnew file mode 100644index 0000000000..452bf6e6b5--- /dev/null+++ b/Ghidra/Features/PDB/src/main/help/help/shared/Frontpage.css@@ -0,0 +1,58 @@+/* ###+ * IP: GHIDRA+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+/*+ WARNING!+ This file is copied to all help directories. If you change this file, you must copy it+ to each src/main/help/help/shared directory.+++ Java Help Note: JavaHelp does not accept sizes (like in 'margin-top') in anything but+ px (pixel) or with no type marking.++*/++body { margin-bottom: 50px; margin-left: 10px; margin-right: 10px; margin-top: 10px; } /* some padding to improve readability */+li { font-family:times new roman; font-size:14pt; }+h1 { color:#000080; font-family:times new roman; font-size:36pt; font-style:italic; font-weight:bold; text-align:center; }+h2 { margin: 10px; margin-top: 20px; color:#984c4c; font-family:times new roman; font-size:18pt; font-weight:bold; }+h3 { margin-left: 10px; margin-top: 20px; color:#0000ff; font-family:times new roman; font-size:14pt; font-weight:bold; }+h4 { margin-left: 10px; margin-top: 20px; font-family:times new roman; font-size:14pt; font-style:italic; }++/*+ P tag code. Most of the help files nest P tags inside of blockquote tags (the was the+ way it had been done in the beginning). The net effect is that the text is indented. In+ modern HTML we would use CSS to do this. We need to support the Ghidra P tags, nested in+ blockquote tags, as well as naked P tags. The following two lines accomplish this. Note+ that the 'blockquote p' definition will inherit from the first 'p' definition.+*/+p { margin-left: 40px; font-family:times new roman; font-size:14pt; }+blockquote p { margin-left: 10px; }++p.providedbyplugin { color:#7f7f7f; margin-left: 10px; font-size:14pt; margin-top:100px }+p.ProvidedByPlugin { color:#7f7f7f; margin-left: 10px; font-size:14pt; margin-top:100px }+p.relatedtopic { color:#800080; margin-left: 10px; font-size:14pt; }+p.RelatedTopic { color:#800080; margin-left: 10px; font-size:14pt; }++/*+ We wish for a tables to have space between it and the preceding element, so that text+ is not too close to the top of the table. Also, nest the table a bit so that it is clear+ the table relates to the preceding text.+*/+table { margin-left: 20px; margin-top: 10px; width: 80%;}+td { font-family:times new roman; font-size:14pt; vertical-align: top; }+th { font-family:times new roman; font-size:14pt; font-weight:bold; background-color: #EDF3FE; }++code { color: black; font-family: courier new; font-size: 14pt; }diff --git a/Ghidra/Features/PDB/src/main/help/help/shared/arrow.gif b/Ghidra/Features/PDB/src/main/help/help/shared/arrow.gifnew file mode 100644index 0000000000..bcb3db7057Binary files /dev/null and b/Ghidra/Features/PDB/src/main/help/help/shared/arrow.gif differdiff --git a/Ghidra/Features/PDB/src/main/help/help/shared/close16.gif b/Ghidra/Features/PDB/src/main/help/help/shared/close16.gifnew file mode 100644index 0000000000..f523864639Binary files /dev/null and b/Ghidra/Features/PDB/src/main/help/help/shared/close16.gif differdiff --git a/Ghidra/Features/PDB/src/main/help/help/shared/menu16.gif b/Ghidra/Features/PDB/src/main/help/help/shared/menu16.gifnew file mode 100644index 0000000000..4350a523ddBinary files /dev/null and b/Ghidra/Features/PDB/src/main/help/help/shared/menu16.gif differdiff --git a/Ghidra/Features/PDB/src/main/help/help/shared/note-red.png b/Ghidra/Features/PDB/src/main/help/help/shared/note-red.pngnew file mode 100644index 0000000000..b5f1d5cd1cBinary files /dev/null and b/Ghidra/Features/PDB/src/main/help/help/shared/note-red.png differdiff --git a/Ghidra/Features/PDB/src/main/help/help/shared/note.png b/Ghidra/Features/PDB/src/main/help/help/shared/note.pngnew file mode 100644index 0000000000..51e1c8f8c1Binary files /dev/null and b/Ghidra/Features/PDB/src/main/help/help/shared/note.png differdiff --git a/Ghidra/Features/PDB/src/main/help/help/shared/note.yellow.png b/Ghidra/Features/PDB/src/main/help/help/shared/note.yellow.pngnew file mode 100644index 0000000000..f8ab6489f2Binary files /dev/null and b/Ghidra/Features/PDB/src/main/help/help/shared/note.yellow.png differdiff --git a/Ghidra/Features/PDB/src/main/help/help/shared/redo.png b/Ghidra/Features/PDB/src/main/help/help/shared/redo.pngnew file mode 100644index 0000000000..88035efeecBinary files /dev/null and b/Ghidra/Features/PDB/src/main/help/help/shared/redo.png differdiff --git a/Ghidra/Features/PDB/src/main/help/help/shared/tip.png b/Ghidra/Features/PDB/src/main/help/help/shared/tip.pngnew file mode 100644index 0000000000..209f1d28c8Binary files /dev/null and b/Ghidra/Features/PDB/src/main/help/help/shared/tip.png differdiff --git a/Ghidra/Features/PDB/src/main/help/help/shared/undo.png b/Ghidra/Features/PDB/src/main/help/help/shared/undo.pngnew file mode 100644index 0000000000..edd57f5c15Binary files /dev/null and b/Ghidra/Features/PDB/src/main/help/help/shared/undo.png differdiff --git a/Ghidra/Features/PDB/src/main/help/help/shared/warning.png b/Ghidra/Features/PDB/src/main/help/help/shared/warning.pngnew file mode 100644index 0000000000..8e9133789bBinary files /dev/null and b/Ghidra/Features/PDB/src/main/help/help/shared/warning.png differdiff --git a/Ghidra/Features/PDB/src/main/help/help/topics/Pdb/PDB.htm b/Ghidra/Features/PDB/src/main/help/help/topics/Pdb/PDB.htmindex f5709b2342..0d174f2f7c 100644--- a/Ghidra/Features/PDB/src/main/help/help/topics/Pdb/PDB.htm+++ b/Ghidra/Features/PDB/src/main/help/help/topics/Pdb/PDB.htm@@ -17,19 +17,19 @@<P>Ghidra offers the ability to download and apply PDB debug information for Microsoft programs.The <I><A href="download_pdb_file.html">Download PDB File</A></I> feature allows users to downloada PDB file that matches the user's current program, given an accessible Symbol Server.- The <I><A href="../../../help/topics/ImporterPlugin/load_pdb.html">Load PDB File</A></I> feature+ The <I><A href="help/topics/ImporterPlugin/load_pdb.html">Load PDB File</A></I> featureallows users to apply a local PDB file to the current program. The <I>PDB Analyzer</I> alsoautomatically applies PDB symbols (attempting a search for matching PDB files locally) during- <A href="../../../help/topics/AutoAnalysisPlugin/AutoAnalysis.htm">Auto-Analysis</A>.</P>+ <A href="help/topics/AutoAnalysisPlugin/AutoAnalysis.htm">Auto-Analysis</A>.</P><P class="relatedtopic">Related Topics:</P><UL><LI><A href="download_pdb_file.html">Download PDB File</A></LI>- <LI><A href="../../../help/topics/ImporterPlugin/load_pdb.html">Load PDB File</A></LI>+ <LI><A href="help/topics/ImporterPlugin/load_pdb.html">Load PDB File</A></LI>- <LI><A href="../../../help/topics/AutoAnalysisPlugin/AutoAnalysis.htm">Auto Analysis</A></LI>+ <LI><A href="help/topics/AutoAnalysisPlugin/AutoAnalysis.htm">Auto Analysis</A></LI></UL><P> </P>