diff --git a/.gitignore b/.gitignore
index 5b0452860c..b690996f06 100644
--- a/.gitignore
+++ b/.gitignore
@@ -89,3 +89,4 @@ gradlew.*
# Ignore logs and core dumps
*.log
core.*
+!core.png
diff --git a/Ghidra/Debug/Debugger/certification.manifest b/Ghidra/Debug/Debugger/certification.manifest
index e8b625b23a..fa575a47f0 100644
--- a/Ghidra/Debug/Debugger/certification.manifest
+++ b/Ghidra/Debug/Debugger/certification.manifest
@@ -8,11 +8,6 @@ Module.manifest||GHIDRA||||END|
data/ExtensionPoint.manifest||GHIDRA||||END|
data/debugger.theme.properties||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/note.png||Oxygen Icons - LGPL 3.0||||END|
-src/main/help/help/shared/note.yellow.png||Oxygen Icons - LGPL 3.0||||END|
-src/main/help/help/shared/tip.png||Oxygen Icons - LGPL 3.0||||END|
src/main/help/help/topics/Debugger/Debugger.html||GHIDRA||||END|
src/main/help/help/topics/Debugger/GettingStarted.html||GHIDRA||||END|
src/main/help/help/topics/Debugger/Troubleshooting.html||GHIDRA||||END|
diff --git a/Ghidra/Debug/Debugger/src/main/help/help/shared/Frontpage.css b/Ghidra/Debug/Debugger/src/main/help/help/shared/Frontpage.css
deleted file mode 100644
index ff855bae04..0000000000
--- a/Ghidra/Debug/Debugger/src/main/help/help/shared/Frontpage.css
+++ /dev/null
@@ -1,67 +0,0 @@
-/* ###
- * 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-like formatting for things such as file system paths and proper names of classes,
- methods, etc. To apply this to a file path, use this syntax:
- ...
-*/
-code { color: black; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; }
-code.path { color: #4682B4; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; }
-
-.menu { background-color: #EDF3FE; }
-
diff --git a/Ghidra/Debug/Debugger/src/main/help/help/shared/arrow.gif b/Ghidra/Debug/Debugger/src/main/help/help/shared/arrow.gif
deleted file mode 100644
index bcb3db7057..0000000000
Binary files a/Ghidra/Debug/Debugger/src/main/help/help/shared/arrow.gif and /dev/null differ
diff --git a/Ghidra/Debug/Debugger/src/main/help/help/shared/note.png b/Ghidra/Debug/Debugger/src/main/help/help/shared/note.png
deleted file mode 100644
index 51e1c8f8c1..0000000000
Binary files a/Ghidra/Debug/Debugger/src/main/help/help/shared/note.png and /dev/null differ
diff --git a/Ghidra/Debug/Debugger/src/main/help/help/shared/note.yellow.png b/Ghidra/Debug/Debugger/src/main/help/help/shared/note.yellow.png
deleted file mode 100644
index f8ab6489f2..0000000000
Binary files a/Ghidra/Debug/Debugger/src/main/help/help/shared/note.yellow.png and /dev/null differ
diff --git a/Ghidra/Debug/Debugger/src/main/help/help/shared/tip.png b/Ghidra/Debug/Debugger/src/main/help/help/shared/tip.png
deleted file mode 100644
index 209f1d28c8..0000000000
Binary files a/Ghidra/Debug/Debugger/src/main/help/help/shared/tip.png and /dev/null differ
diff --git a/Ghidra/Debug/Debugger/src/main/help/help/topics/Debugger/Debugger.html b/Ghidra/Debug/Debugger/src/main/help/help/topics/Debugger/Debugger.html
index fe333d4192..3f1569a122 100644
--- a/Ghidra/Debug/Debugger/src/main/help/help/topics/Debugger/Debugger.html
+++ b/Ghidra/Debug/Debugger/src/main/help/help/topics/Debugger/Debugger.html
@@ -7,7 +7,7 @@
...
-*/
-code { color: black; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; }
-code.path { color: #4682B4; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; }
diff --git a/Ghidra/Extensions/MachineLearning/src/main/help/help/topics/RandomForestFunctionFinderPlugin/RandomForestFunctionFinderPlugin.htm b/Ghidra/Extensions/MachineLearning/src/main/help/help/topics/RandomForestFunctionFinderPlugin/RandomForestFunctionFinderPlugin.htm
index ae449f5f1c..d99f9b8772 100644
--- a/Ghidra/Extensions/MachineLearning/src/main/help/help/topics/RandomForestFunctionFinderPlugin/RandomForestFunctionFinderPlugin.htm
+++ b/Ghidra/Extensions/MachineLearning/src/main/help/help/topics/RandomForestFunctionFinderPlugin/RandomForestFunctionFinderPlugin.htm
@@ -6,7 +6,7 @@
...
-*/
-code { color: black; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; }
-code.path { color: #4682B4; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; }
diff --git a/Ghidra/Extensions/SampleTablePlugin/src/main/help/help/shared/arrow.gif b/Ghidra/Extensions/SampleTablePlugin/src/main/help/help/shared/arrow.gif
deleted file mode 100644
index bcb3db7057..0000000000
Binary files a/Ghidra/Extensions/SampleTablePlugin/src/main/help/help/shared/arrow.gif and /dev/null differ
diff --git a/Ghidra/Extensions/SampleTablePlugin/src/main/help/help/shared/close16.gif b/Ghidra/Extensions/SampleTablePlugin/src/main/help/help/shared/close16.gif
deleted file mode 100644
index f523864639..0000000000
Binary files a/Ghidra/Extensions/SampleTablePlugin/src/main/help/help/shared/close16.gif and /dev/null differ
diff --git a/Ghidra/Extensions/SampleTablePlugin/src/main/help/help/shared/note.png b/Ghidra/Extensions/SampleTablePlugin/src/main/help/help/shared/note.png
deleted file mode 100644
index 51e1c8f8c1..0000000000
Binary files a/Ghidra/Extensions/SampleTablePlugin/src/main/help/help/shared/note.png and /dev/null differ
diff --git a/Ghidra/Extensions/SampleTablePlugin/src/main/help/help/shared/note.yellow.png b/Ghidra/Extensions/SampleTablePlugin/src/main/help/help/shared/note.yellow.png
deleted file mode 100644
index f8ab6489f2..0000000000
Binary files a/Ghidra/Extensions/SampleTablePlugin/src/main/help/help/shared/note.yellow.png and /dev/null differ
diff --git a/Ghidra/Extensions/SampleTablePlugin/src/main/help/help/shared/tip.png b/Ghidra/Extensions/SampleTablePlugin/src/main/help/help/shared/tip.png
deleted file mode 100644
index 209f1d28c8..0000000000
Binary files a/Ghidra/Extensions/SampleTablePlugin/src/main/help/help/shared/tip.png and /dev/null differ
diff --git a/Ghidra/Extensions/SampleTablePlugin/src/main/help/help/topics/SampleHelpTopic/SampleHelpFile.htm b/Ghidra/Extensions/SampleTablePlugin/src/main/help/help/topics/SampleHelpTopic/SampleHelpFile.htm
index 76cfe95a3a..1c36413ab6 100644
--- a/Ghidra/Extensions/SampleTablePlugin/src/main/help/help/topics/SampleHelpTopic/SampleHelpFile.htm
+++ b/Ghidra/Extensions/SampleTablePlugin/src/main/help/help/topics/SampleHelpTopic/SampleHelpFile.htm
@@ -10,7 +10,7 @@
...
-*/
-code { color: black; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; }
-code.path { color: #4682B4; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; }
diff --git a/Ghidra/Extensions/sample/src/main/help/help/shared/arrow.gif b/Ghidra/Extensions/sample/src/main/help/help/shared/arrow.gif
deleted file mode 100644
index bcb3db7057..0000000000
Binary files a/Ghidra/Extensions/sample/src/main/help/help/shared/arrow.gif and /dev/null differ
diff --git a/Ghidra/Extensions/sample/src/main/help/help/shared/close16.gif b/Ghidra/Extensions/sample/src/main/help/help/shared/close16.gif
deleted file mode 100644
index f523864639..0000000000
Binary files a/Ghidra/Extensions/sample/src/main/help/help/shared/close16.gif and /dev/null differ
diff --git a/Ghidra/Extensions/sample/src/main/help/help/shared/note.png b/Ghidra/Extensions/sample/src/main/help/help/shared/note.png
deleted file mode 100644
index 51e1c8f8c1..0000000000
Binary files a/Ghidra/Extensions/sample/src/main/help/help/shared/note.png and /dev/null differ
diff --git a/Ghidra/Extensions/sample/src/main/help/help/shared/note.yellow.png b/Ghidra/Extensions/sample/src/main/help/help/shared/note.yellow.png
deleted file mode 100644
index f8ab6489f2..0000000000
Binary files a/Ghidra/Extensions/sample/src/main/help/help/shared/note.yellow.png and /dev/null differ
diff --git a/Ghidra/Extensions/sample/src/main/help/help/shared/tip.png b/Ghidra/Extensions/sample/src/main/help/help/shared/tip.png
deleted file mode 100644
index 209f1d28c8..0000000000
Binary files a/Ghidra/Extensions/sample/src/main/help/help/shared/tip.png and /dev/null differ
diff --git a/Ghidra/Extensions/sample/src/main/help/help/topics/SampleHelpTopic/SampleHelpFile.htm b/Ghidra/Extensions/sample/src/main/help/help/topics/SampleHelpTopic/SampleHelpFile.htm
index 890fe59cf9..34e139427c 100644
--- a/Ghidra/Extensions/sample/src/main/help/help/topics/SampleHelpTopic/SampleHelpFile.htm
+++ b/Ghidra/Extensions/sample/src/main/help/help/topics/SampleHelpTopic/SampleHelpFile.htm
@@ -10,7 +10,7 @@
This is a note
This is a note
This is a tip
This is a tip
...
-*/
-code { color: black; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; }
-code.path { color: #4682B4; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; }
diff --git a/Ghidra/Features/Base/src/main/help/help/shared/arrow.gif b/Ghidra/Features/Base/src/main/help/help/shared/arrow.gif
deleted file mode 100644
index bcb3db7057..0000000000
Binary files a/Ghidra/Features/Base/src/main/help/help/shared/arrow.gif and /dev/null differ
diff --git a/Ghidra/Features/Base/src/main/help/help/shared/close16.gif b/Ghidra/Features/Base/src/main/help/help/shared/close16.gif
deleted file mode 100644
index f523864639..0000000000
Binary files a/Ghidra/Features/Base/src/main/help/help/shared/close16.gif and /dev/null differ
diff --git a/Ghidra/Features/Base/src/main/help/help/shared/note.png b/Ghidra/Features/Base/src/main/help/help/shared/note.png
deleted file mode 100644
index 51e1c8f8c1..0000000000
Binary files a/Ghidra/Features/Base/src/main/help/help/shared/note.png and /dev/null differ
diff --git a/Ghidra/Features/Base/src/main/help/help/shared/note.yellow.png b/Ghidra/Features/Base/src/main/help/help/shared/note.yellow.png
deleted file mode 100644
index f8ab6489f2..0000000000
Binary files a/Ghidra/Features/Base/src/main/help/help/shared/note.yellow.png and /dev/null differ
diff --git a/Ghidra/Features/Base/src/main/help/help/shared/tip.png b/Ghidra/Features/Base/src/main/help/help/shared/tip.png
deleted file mode 100644
index 209f1d28c8..0000000000
Binary files a/Ghidra/Features/Base/src/main/help/help/shared/tip.png and /dev/null differ
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/About/About_Ghidra.htm b/Ghidra/Features/Base/src/main/help/help/topics/About/About_Ghidra.htm
index d08f5d5350..dcf7677752 100644
--- a/Ghidra/Features/Base/src/main/help/help/topics/About/About_Ghidra.htm
+++ b/Ghidra/Features/Base/src/main/help/help/topics/About/About_Ghidra.htm
@@ -7,7 +7,7 @@
-@@ -69,7 +69,7 @@ assorted variants which may be implemented for each processor.
This option is also available from the +
This option is also available from the Ghidra Project Window
-@@ -77,7 +77,7 @@
This option is also available from the +
This option is also available from the Ghidra Project Window
Figure 1 - About Program
-@@ -120,19 +120,19 @@
Notes: +
-
Notes: When viewing the "About" information on a non-open program, you may get a very abbreviated version of the program's information if the program was created with a version of Ghidra before version 4.2. Once a program has been saved with version 4.2 or later, the full diff --git a/Ghidra/Features/Base/src/main/help/help/topics/Annotations/Annotations.html b/Ghidra/Features/Base/src/main/help/help/topics/Annotations/Annotations.html index acb36fbbd4..ff77f941dd 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/Annotations/Annotations.html +++ b/Ghidra/Features/Base/src/main/help/help/topics/Annotations/Annotations.html @@ -8,7 +8,7 @@
Annotations - + diff --git a/Ghidra/Features/Base/src/main/help/help/topics/AssemblerPlugin/Assembler.htm b/Ghidra/Features/Base/src/main/help/help/topics/AssemblerPlugin/Assembler.htm index 17f0f8e132..782ecf4628 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/AssemblerPlugin/Assembler.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/AssemblerPlugin/Assembler.htm @@ -8,7 +8,7 @@Assembler - + @@ -24,7 +24,7 @@ coloring can be performed from a script, which allows you to color disassembly during automated processing.
Unlike program selections and +
Unlike program selections and highlights, the background colors you set will be saved with the program.
Changing Colors
@@ -47,7 +47,7 @@ the Colors pull-right. This action will clear all colors applied to the entire program. exists. -
Any of these actions can be undone +
Any of these actions can be undone using the undo action.
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/CodeBrowserPlugin/SelectionTable.htm b/Ghidra/Features/Base/src/main/help/help/topics/CodeBrowserPlugin/SelectionTable.htm index 84419a7d68..ca7c5ba4cc 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/CodeBrowserPlugin/SelectionTable.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/CodeBrowserPlugin/SelectionTable.htm @@ -8,7 +8,7 @@Next Color Range - Available from the menu bar at Navigation
Next Color Range This action will + "help/shared/arrow.gif" border="0" alt="->"> Next Color Range This action will navigate to the next color range at an address larger than the current address. Depending upon the range navigation options, either the bottom of the current range, or the top of next range will be chosen.
Previous Color Range - Available from the menu bar at Navigation
-Previous Color Range This action will + "help/shared/arrow.gif" border="0" alt="->">Previous Color Range This action will navigate to the next color range at an address larger than the current address. Depending upon the range navigation options, either the bottom of the previous range, or the top of the previous range will be chosen.
You can change range navigation - behavior by editing the Navigation
You can change range navigation + behavior by editing the Navigation
Range Navigation tool options.
To create a table from the current selection within the Listing, press Select
+ "help/shared/arrow.gif">Create Table From Selection from the tool's menu bar.Create Table From Selection from the tool's menu bar.
Provided by: Code Browser plugin
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/CommentWindowPlugin/comment_window.htm b/Ghidra/Features/Base/src/main/help/help/topics/CommentWindowPlugin/comment_window.htm index 3c853d1933..08004e2a07 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/CommentWindowPlugin/comment_window.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/CommentWindowPlugin/comment_window.htm @@ -7,7 +7,7 @@The Comment Window provides a list of comments defined in the currently open program. To display
the Comment Window, select the WindowComments from the tool menu.
b | -Byte ![]() ![]() ![]() |
+ Byte ![]() ![]() ![]() |
' (single quote) | -Ascii ![]() ![]() |
+ Ascii ![]() ![]() |
f | -Float ![]() |
+ Float ![]() |
To quickly assign a key binding to a favorite,
+
To quickly assign a key binding to a favorite,
use the Key Bindings
Shortcut. Key Bindings allow you to assign "hot keys" to any menu item.
Deleting
data types from the Data Type Manager window is a quick way to clear every
instance of a data type in a program.
Default settings on components within a structure apply to that structure only. For
example, if Struct_1 has a byte component with its format set as Octal, then only other
instances of Struct_1 will be affected. Settings on other occurrences of byte are not
affected.
A typedef has the same set of settings as its underlying
+
A typedef has the same set of settings as its underlying
data type. For example, when you create a typedef on a byte, the default settings on
the typedef will be the same as the original default settings of the byte. Changing the
default settings for either the typedef or its underlying data type doesn't affect the
@@ -838,7 +838,7 @@
The method for finding matching structures is either
+
The method for finding matching structures is either
by an exact match or by a match on structure size. You can change the type of matching
used by clicking the Exact or Size radio buttons under the Matching:
heading.
To use an existing, matching structure, find and select the structure in the Use Exising Structure table and press OK.
-You can create nested structures by following the
+
You can create nested structures by following the
instructions above. The only difference is in Step (1), select contiguous bytes
within an existing structure.
-
The "Field Name" field must be added to the +
@@ -991,13 +991,13 @@
The "Field Name" field must be added to the "Open Data" tab in the Code Browser header in order for the data structure field names to show up in the Code Browser.
- Place the cursor on the first line of the structure
- Press mouse-right over the structure and choose Data
+ "help/shared/arrow.gif"> Edit Data Type...Edit Data Type...
- Edit the field name for the structure member
-@@ -1124,7 +1124,7 @@ key-binding actions. -
You cannot set the field name of undefined +
You cannot set the field name of undefined member
To create a pointer of a specific size apply either
+
To create a pointer of a specific size apply either
pointer8, pointer16, pointer32, or pointer64 to create a pointer sizes of 1, 2, 4, 8,
respectively.
--
Usage Note: If you would like to +
Usage Note: If you would like to type the name of a data type to be chosen and would not like to use the selected value in the drop-down list, then you must first press the
Escape
key to close the drop-down list, if it is open. To state this point differently, pressing diff --git a/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/EnumEditor.htm b/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/EnumEditor.htm index e6490270c0..43b9ae3d4b 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/EnumEditor.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/EnumEditor.htm @@ -2,7 +2,7 @@Enum Editor - +@@ -59,7 +59,7 @@
-
+
While editing, you can use the Tab key to navigate the editing to the next cell, the Shift-Tab key to navigate backwards, the Up key to move editing to the cell above, and the Down to move editing to the cell below the currently edited cell. @@ -67,7 +67,7 @@
-diff --git a/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/StructureEditor.htm b/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/StructureEditor.htm index c95b7b9d58..34124a1903 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/StructureEditor.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/StructureEditor.htm @@ -6,7 +6,7 @@ "HTML Tidy for Java (vers. 2009-12-01), see jtidy.sourceforge.net">
+
Names and values must be unique.
Data Structure Editor - + @@ -60,7 +60,7 @@ structure or array component changing it into its component parts.
-Pull Down Menu: The icon at the top +
Pull Down Menu: The -icon at the top of the editor provides additional editor actions. These are: show the category path of a component's data type, edit a component's data type, edit the fields of a component, apply a cycle group or favorite.
@@ -96,7 +96,7 @@ the changes from the editor back to the program or archive.
-
If editor changes to a structure or union are +
@@ -115,7 +115,7 @@
If editor changes to a structure or union are applied and it is assigned to data in the program, all data items with the structure or union as the data type now have the new data type. In other words, the size or composition of those data items in the program will have changed due to the apply.
Closing the Editor
-@@ -261,7 +261,7 @@Select the Close dockable component icon
in +
Select the Close dockable component icon
in the toolbar to exit from the editor. If you have unsaved changes to your data type, a dialog will ask if you want to save the changes.
The equivalent of having no C/C++ code aligned/alignas +
@@ -298,10 +298,10 @@ of the pack setting. The align setting will not influence interior component placement as does the pack setting.
The equivalent of having no C/C++ code aligned/alignas attribute on the structure or union is to choose default. The equivalent for the C code aligned attribute without a value is to choose machine alignment. The equivalent of aligned(4) or alignas(4) is to specify an explicit alignment value of 4.
-
The placement of bitfields may be influenced +
-
The placement of bitfields may be influenced based upon the specified pack value based upon the compiler specification.
The equivalent of having no C #pragma +
The equivalent of having no C #pragma pack attribute on the structure or union is to choose default. The equivalent for a C code attribute of #pragma pack() without a value is to specify a pack value of 1. The equivalent of # pragma pack(4) is to specify a pack value @@ -375,12 +375,12 @@
While packing of bitfields within packed
+
While packing of bitfields within packed
structures is controlled by the compiler specification (e.g., data organization), bit-packing
order is currently fixed based upon endianess. Little-endian packs starting with bit-0 (lsb)
while big-endian packs starting with bit-7 (msb).
The use of bitfield components is not
+
The use of bitfield components is not
currently reflected in decompiler results or assembly markup.
The use of flexible array components is not
+
The use of flexible array components is not
currently reflected in decompiler results or listing reference markup. Its primary purpose
if to reflect the C/C++ source definition of a structure with correct alignment and structure sizing.
Clearing a component will also erase its Field
+
Clearing a component will also erase its Field
Name and Comment.
--
In a structure, an array can be created from a +
@@ -657,7 +657,7 @@ menu action (right mouse-click) Add Bitfield may be selected to launch the Bitfield Editor for a new bitfield. -
In a structure, an array can be created from a selection of multiple components. The data type of the first component in the selection will be used for the data type in the array.
A direct text entry of a bitfield +
@@ -700,7 +700,7 @@ except on undefined components.
A direct text entry of a bitfield datatype may be specified within the table datatype column (e.g., char:1), although it will always be placed at a default offset.
To rearrange the order of the component
+
To rearrange the order of the component
fields position the cursor over the header for the table column. Left mouse click and drag the
column left or right to its new position.
Certain restrictions may apply when specifying
+
Certain restrictions may apply when specifying
or modifying a component's datatype which could cause a modification to fail. Some common restrictions include
but are not limited to:
-@@ -931,7 +931,7 @@
A single row of the component table must be +
A single row of the component table must be selected to cycle a data type.
-@@ -946,7 +946,7 @@
Cycle groups can also be applied +
Cycle groups can also be applied from the component table's popup menu under Cycle.
-@@ -1072,7 +1072,7 @@ -
When the current component data +
@@ -978,7 +978,7 @@ currently work on a Mac. On a Mac try using the Alt key to insert rather than the Ctrl key. The "+" should then appear at the drop site. -
When the current component data type is not in the cycle group of the desired data type, pressing the cycle group key of the desired data type will change the component to the first data type in the desired cycle group. The data type can then be cycled to any other data type in the group.
When a data type is dropped on a pointer +
-
When a data type is dropped on a pointer component, the component becomes a pointer of that data type instead of simply being replaced by that data type. For example, dropping a Byte on a Pointer results in a Byte*, which is a pointer to a Byte. Drag and Drop is discussed further in -
When a favorite data type is applied to a pointer +
-
When a favorite data type is applied to a pointer component, the component becomes a pointer of that data type instead of simply being replaced by that data type.
If you right mouse click on a component +
@@ -1036,7 +1036,7 @@ click the OK button.
If you right mouse click on a component where there is no selection, the selection becomes a single component selection containing that component and the popup menu will appear.
For information about drag and drop with +
For information about drag and drop with pointers, see Drag and Drop Basics.
Favorites
@@ -1044,7 +1044,7 @@Right mouse click on the empty row at the end of the table and pull right to see the Favorites. Select the favorite from the popup and it is added as the last component.
-
For information about Pointers as a Favorite, +
For information about Pointers as a Favorite, see Favorites Basics.
For information about drag and drop with
+
For information about drag and drop with
pointers, see Drag and Drop Basics.
For information about drag and drop with
+
For information about drag and drop with
pointers, see Drag and Drop Basics.
@@ -1212,7 +1212,7 @@ whether the numbers are displayed in hexadecimal or decimal. Changing this only affects the current editor where it is changed. -Single Component Selected
-
If you right mouse click on a +
@@ -1144,7 +1144,7 @@ doesn't matter. The selection becomes as many of the data type as will fit and left over bytes become undefined components for a non-packed structure. -
If you right mouse click on a component where there is no selection, the selection becomes a single component selection containing that component and the popup menu will appear.
For information about Pointers as a Favorite, +
For information about Pointers as a Favorite, see Favorites Basics.
The Union Editor does not display offsets since
+
The Union Editor does not display offsets since
they are always zero.
To switch between decimal and hexadecimal display of numeric values in the current @@ -1241,7 +1241,7 @@ settings:
A component zoom feature is provided which can
+
A component zoom feature is provided which can
allow the user to increase the visual bit size allowing for component labels to be shown
as size permits. While with the mouse cursor is over a component, use mouse wheel while the
Shift key is depressed.
Comment - (optional) specifies the structure component comment to be assigned to the bitfield. This entry utilizes a simple text entry field.
- The bitfield offset and size may be fully
+
The bitfield offset and size may be fully
specified by using the mouse. Clicking and dragging over the visual bit-range where the bitfield
should reside will adjust these settings.
Within the Bitfield Editor the bit
+
Within the Bitfield Editor the bit
size may not exceed the size of the Base Datatype based upon the structure's
associated compiler convention (i.e.,
data organization). Since archives use default
@@ -1393,7 +1393,7 @@
components, structure component sizing may change when moving between a datatype archive and
a target program.
It is important to note that the retained bitfield
+
It is important to note that the retained bitfield
storage specification (byte offset, component byte size, bit offset) will utilize the smallest possible
values while preserving bitfield positioning within the structure. The allocation unit offset and size
conveyed by the editor are for editor use only.
To refresh sync indicators for datatypes associated with a particular source archive,
right-click on the node that contains the datatypes and select
- Refresh Sync Indicators For
+ Refresh Sync Indicators For
<Source Archive Name>.
-
+
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/DataTypeManagerPlugin/data_type_manager_description.htm b/Ghidra/Features/Base/src/main/help/help/topics/DataTypeManagerPlugin/data_type_manager_description.htm index 291f25f32e..c571ebe828 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/DataTypeManagerPlugin/data_type_manager_description.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/DataTypeManagerPlugin/data_type_manager_description.htm @@ -7,7 +7,7 @@
Ghidra currently accepts two special strings in the Edit Data Type Archive Paths dialog:
Data Type Manager - + @@ -109,7 +109,7 @@ path.-@@ -145,7 +145,7 @@
In the unlikely event that new data type class files +
In the unlikely event that new data type class files or jar files are added while Ghidra is running, there is a refresh action which will find and add the new data types to the "built-in" archive.
Besides being stored in archives, data types are also stored inside programs.
-
Any data type used in a program must be stored in +
Any data type used in a program must be stored in that program even if it originally came from an archive.
Because of this, the "same" data types can live in more than one archive or program and @@ -226,7 +226,7 @@ from the actual archive and the change time on a data type, Ghidra can determine if data types are out-of-sync with their corresponding data type in a program or other archive.
-
+
The data type tree will indicate data types that have a source archive association by displaying the name of the source archive in parenthesis after the data type name.
@@ -359,7 +359,7 @@Opening a File Data Type Archive
-From the local menu
, select Open +
From the local menu
, select Open File Archive.... A file chooser will appear. Use the file chooser to find and select the data type archive to open. A new node will appear in the tree for the newly opened archive. Also, the directory containing the newly opened archive will be added to the @@ -369,7 +369,7 @@
Opening a Project Data Type Archive
-From the local menu
, select Open +
From the local menu
, select Open Project Archive.... A Ghidra project data type archive chooser will appear. This chooser will show all the project archives in the current project. Use the chooser to find and select the project data type archive to open. A new node will appear in the tree for @@ -380,7 +380,7 @@
Creating a New File Data Type Archive
-From the local menu
, select New +
From the local menu
, select New File Archive.... A file chooser will appear. Use the file chooser to select a directory and enter a name for the new archive. If an archive already exists with that name, a dialog will appear asking if the existing archive should be over-written. A new @@ -392,14 +392,14 @@ Archive
-@@ -619,7 +619,7 @@From the local menu
, select New +
From the local menu
, select New Project Archive.... A Ghidra project data type archive chooser will appear. Use the chooser to select a folder and enter a name for the new archive. A new node will appear in the tree for the newly created archive.
-@@ -589,7 +589,7 @@
You can also create a new Project Data Type +
You can also create a new Project Data Type Archive by dragging a File Data Type Archive (.gdt) file onto the Ghidra Project Window. This will create a new Project Data Type Archive populated with the same data types as the dragged File Data Type @@ -501,12 +501,12 @@
To update the datatypes, right-click on the node that needs updating and select Update Datatypes From
<Source Archive + "help/shared/arrow.gif" alt=""> <Source Archive Name>. The Update Data Types dialog will be shown allowing you to select the datatypes to update.
-@@ -571,7 +571,7 @@
Ghidra uses time stamps and flags to +
Ghidra uses time stamps and flags to determine if an archive is out-of-sync. This can result in Ghidra indicating the archive needs updating when actually it does not. For example, if a data type is changed and then changed back, it will cause Ghidra to think the data type was changed. @@ -527,18 +527,18 @@
To commit the datatypes, right-click on the node that contains the changed datatypes and select Commit Datatypes To
-<Source Archive + "help/shared/arrow.gif" alt=""> <Source Archive Name>. The Commit Data Types dialog will be shown allowing you to select the datatypes to commit.
Ghidra uses time stamps and flags to determine +
-
Ghidra uses time stamps and flags to determine if an archive is out-of-sync. This can result in Ghidra indicating the archive needs committing when actually it does not. For example, if a data type is changed and then changed back, it will cause Ghidra to think the data type was changed. In this case, invoking the commit action will cause Ghidra to search for commits, but when it finds none, a message dialog will appear indicating that no changes were detected.
+
@@ -555,7 +555,7 @@
The source archive must be editable in order to commit File archives must be open for editing and project archives that are under version control must be checked-out.
To revert the datatypes, right-click on the node that contains the changed datatypes and select Revert Datatypes To
<Source Archive + "help/shared/arrow.gif" alt=""> <Source Archive Name>. The Revert Data Types dialog will be shown allowing you to select the datatypes to revert.
To disassociate datatypes, right-click on the node that contains the datatypes and select Disassociate Datatypes From
<Source + src="help/shared/arrow.gif" alt=""> <Source Archive Name>. The Revert Data Types dialog will be shown allowing you to select the datatypes to revert.
To refresh sync indicators for datatypes associated with a particular source archive, right-click on the node that contains the datatypes and select Refresh Sync Indicators For
<Source Archive + "help/shared/arrow.gif" alt=""> <Source Archive Name>. <
@@ -716,7 +716,7 @@ types and so on, until finally they are built on the primitive types (the built-in data types.) -Right-click on the category where the new category is to be created. Select the - New
Category action and a new + New
Category action and a new category named "New Category" will be created.
Built-in types have several restrictions. They +
Built-in types have several restrictions. They always live in the root category of an archive and they can't be renamed.
Applying Data Types to a Program
@@ -756,7 +756,7 @@ -
Applying a data type from an archive will +
@@ -774,10 +774,10 @@
Applying a data type from an archive will automatically add that data type to the program's archive. Also, the archive will become associated with the program and automatically be opened whenever the program is opened.
Structures, unions, enums, and function definitions can be created by right-clicking on the category where the new type should be located, and then choosing either the - New
Structure, New
Union, New
Enum or New
Function Definition action respectively. Each of + New
Structure, New
Union, New
Enum or New
Function Definition action respectively. Each of these actions will bring up an appropriate editor (structure editor for structures and unions, the
Creating a Typedef
Creating a new typedef is even easier. Right-click on the data type to be - typedef'ed and select the New
-Typedef on + typedef'ed and select the New
Typedef on XYZ action. A new typedef will be created on the XYZ data type in the same category as the original data type.
Alternatively, you can click New
+
Alternatively, you can click New
Typedef..., which will show a dialog that allows you to choose a typedef name and the data type from which the typedef will be created.* This action can also be executed from any folder instead of directly on another data type. @@ -812,11 +812,11 @@
Creating a Pointer
-To create a pointer, you can click New
-To create a pointer, you can click New
Pointer to XYZ. A new pointer will be created to the XYZ data type in the same category as the original data type.*
*If you create a typedef or +
@@ -1058,11 +1058,11 @@
*If you create a typedef or pointer to a data type in the Built-in Data Type Manager, the newly created type will be placed in program's data type manager at the root category.
-
The favorites are identified by +
-
The favorites are identified by name and must be unique, so you cannot have data type "fred" in one "categoryA" marked as a favorite and "fred" in "categoryB" also marked as a favorite.
Any data type from any archive +
Any data type from any archive type (Program, BuildInTypes, or archive) can be marked as a favorite and used as such, however, only those marked in the BuiltInTypes category will be saved as part of your tool's state when you close the Project or exit Ghidra. Your list of @@ -1102,12 +1102,12 @@ the absolute address that the pointer refers to.
All Typedef Settings must be established on
+
All Typedef Settings must be established on
a Typedef before such a type is applied to Data or referenced by other types. This is highly recommended
since the side-affects of using such a modified typedef will not be updated to reflect subsequent changes.
Full support for the above Pointer-Typedef
+
Full support for the above Pointer-Typedef
Settings within analysis and decompilation will evolve over time. We also hope to improve
naming concerns for such typedefs and to replace the use of custom BuiltIn data types which would
be better modeled as a Pointer.
The Data Type Manager window shows the data types and their categories using a
tree structure. To bring up the window, click on the icon in the tool bar, or select the Window
Data Types... menu option in the
+ src="help/shared/arrow.gif" alt="" border="0"> Data Types... menu option in the
tool.
Opening a program also causes file data
+
Opening a program also causes file data
type archives that have been associated with that program to be opened. As of Ghidra
version 4.3, whenever a data type is applied from an archive to a program, that
archive will become associated with the program.
You can find data types with names that match a string. A separate window is
displayed to show the results. Multiple search results are shown as tabs in the results
window. To find data types, select the Find Data Types by Name... action from the
- local menu . The following dialog is
+ local menu
. The following dialog is
displayed.
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/DataWindowPlugin/data_window.htm b/Ghidra/Features/Base/src/main/help/help/topics/DataWindowPlugin/data_window.htm index 7a6a210932..b7c8b27066 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/DataWindowPlugin/data_window.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/DataWindowPlugin/data_window.htm @@ -7,7 +7,7 @@-
Not only will the selected data types be +
Not only will the selected data types be exported, but so too will be any dependencies for the selected types. For example, if you select a structure to be exported, all of the types within that structure will be exported as well. diff --git a/Ghidra/Features/Base/src/main/help/help/topics/DataTypePreviewPlugin/DataTypePreviewPlugin.html b/Ghidra/Features/Base/src/main/help/help/topics/DataTypePreviewPlugin/DataTypePreviewPlugin.html index c6045e84de..093ac97804 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/DataTypePreviewPlugin/DataTypePreviewPlugin.html +++ b/Ghidra/Features/Base/src/main/help/help/topics/DataTypePreviewPlugin/DataTypePreviewPlugin.html @@ -8,7 +8,7 @@
Data Preview - + @@ -39,7 +39,7 @@ and dropped into the Data Type Preview table. If you add a structure or union, then a row will be added for member of the structure or union. -
The data type preview does +
The data type preview does not support dynamic data types. However, keep in mind that not all variable-length data types are dynamic. Specifically, you can use data types that implement Dynamic as long as they do not also extend from @@ -52,7 +52,7 @@
Select the row(s) to delete and click on the
-to remove data types from the table.
If you remove a structure +
If you remove a structure member, then entire structure will be removed from the preview table
The Data Window provides a list of data defined in the currently open program. To display
the Data Window, select the WindowDefined Data from the tool menu.
If you add a label where there is a function
+
If you add a label where there is a function
with a default label name, the label you add will become the function's new name.
-
This field is disabled, if there is a +
This field is disabled, if there is a function with a default name at this address. The namespace will stay set to the parent namespace of the function and the label name you enter will become the new function name.
@@ -267,7 +267,7 @@
-@@ -286,7 +286,7 @@
Adding a label to an address where there is a +
Adding a label to an address where there is a function with a default name results in the function name becoming the new label name.
If the label appearing in an operand corresponds
+
If the label appearing in an operand corresponds
to an external location the Edit Label action will be replaced by Edit External Location.
@@ -334,7 +334,7 @@
option.
-
Ghidra gives no confirmation
+
Ghidra gives no confirmation
on Remove Label. A status message is displayed if you try to remove a default function
label.
Any use of a class-namespace requires that it first be
+
Any use of a class-namespace requires that it first be
created prior to associating a label or other namespace with that
class-namespace. This is most easily accomplished via the
Symbol Tree
A column for "Address" shows up in the
+
A column for "Address" shows up in the
table if you are viewing the history of changes on labels at all addresses.
You can sort the label history by any of the
+
You can sort the label history by any of the
columns and in ascending or descending order. By default, the history is sorted by ascending
modification date (i.e., oldest date first). You can also reorder the columns by dragging the
header to another column position.
+
If your program has been added to version control in a shared
project, you must first have an
+
Once the operation completes successfully the only way to
revert to the previous language (aside from attempting another Set
Language) is to undo your checkout if it is versioned. Otherwise,
you must rely on a backup copy which you hopefully made prior to the
operation.
+
Set Language will fail if any old address
space can not be mapped to the same size or larger address spaces
within the new language. This allows migration to larger
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/LocationReferencesPlugin/Location_References.html b/Ghidra/Features/Base/src/main/help/help/topics/LocationReferencesPlugin/Location_References.html
index ac6b9e7006..1f884bb209 100644
--- a/Ghidra/Features/Base/src/main/help/help/topics/LocationReferencesPlugin/Location_References.html
+++ b/Ghidra/Features/Base/src/main/help/help/topics/LocationReferencesPlugin/Location_References.html
@@ -7,7 +7,7 @@
-@@ -73,11 +73,11 @@
You can also show +
You can also show references to data types from the Data Type Manager. In this case, all locations where the selected data type is applied will be highlighted.
-
@@ -167,7 +167,7 @@ the decompiled function will be shown. -+
To instead make a Program Selection Highlight, use the select button mentioned above. Then, click from the menu bar Select -
+
Program Highlight -
+
Entire Selection
You can make a selection in the Code Browser from the entries in the table:
@@ -201,7 +201,7 @@
-
When searching for references to a field of +
When searching for references to a field of a composite data type via the popup menu in the Data Type Manager, you can search by name or by offset within the parent data type. This is useful when the field you seek does not have a name. @@ -210,14 +210,14 @@
-
@@ -231,7 +231,7 @@+
By default, finding uses of data types will search not only for applied data types, but also will perform dynamic discovery of data types using the
Data Type Reference Finder
service. This causes the search to be slower, but also reports many more type uses. To disable the dynamic searching, use the - Search+ Search
Dynamic Data Type Discovery tool option.
@@ -250,7 +250,7 @@
- Right-mouse anywhere on the code unit*
-- Select References
Show References to +
- Select References
Show References to Address from the popup menu.
@@ -260,7 +260,7 @@-
This action will show only direct +
This action will show only direct references to the current code unit. No other special reference finding will take place.
-
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/MemoryMapPlugin/Memory_Map.htm b/Ghidra/Features/Base/src/main/help/help/topics/MemoryMapPlugin/Memory_Map.htm index 4b68fc957e..76f53a365f 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/MemoryMapPlugin/Memory_Map.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/MemoryMapPlugin/Memory_Map.htm @@ -9,7 +9,7 @@see see Docking Windows - Renaming Windows
Memory Map - + @@ -21,7 +21,7 @@ structure of the current program. The component provides actions for adding, renaming, moving, splitting, extending, joining, and deleting memory blocks. -
When working with a versioned program within a +
@@ -56,7 +56,7 @@ mapping ratio (e.g., 2:4).
When working with a versioned program within a shared project an exclusive checkout of the program project file is required to perform any modifications to the memory map.
File Bytes are currently only created
+
File Bytes are currently only created
by importers. At this point in time there is no capability provided by the Memory Map provider to create a
new File Bytes instance.
To view the Memory Map, select Window
+
To view the Memory Map, select Window
Memory Map from the main tool menu, or click on the
icon in the tool bar. Note that the current Image Base Address is
specified within the title bar.
@@ -250,7 +250,7 @@
You can use the "Add To Program"
+
You can use the "Add To Program"
using "Binary Import" to create new FileBytes that you can use here.
New End Address - Enter the NEW ending address for the block. The NEW starting address will be computed.
- You cannot move a block under the
+
You cannot move a block under the
following conditions:
Block Length - Length of new split block
-Overlay type blocks cannot
+
Overlay type blocks cannot
be split.
Block Length - Displays the length of the block. A new value can be entered here which will cause a corresponding change in the start address.
-Overlay type
+
Overlay type
blocks cannot be expanded.
Block Length - Displays the length of the block. A new value can be entered here which will cause a corresponding change in the end address.
-Overlay type
+
Overlay type
blocks cannot be expanded.
Caution should be used because a VERY
+
Caution should be used because a VERY
large memory block can be created if the memory blocks being merged are far apart in the
address space. Ghidra will display a warning if a really large block is about to
be created. Disregarding the warning may cause Ghidra to fail with an "out of memory"
error.
Only adjacent Default blocks of the same
+
Only adjacent Default blocks of the same
initialization state can be merged.
Overlay type blocks cannot be merged.
Overlay type blocks cannot be merged.
For large blocks that may contain many
+
For large blocks that may contain many
symbols, references, instructions, etc., the delete operation may take a while to complete.
You can cancel the delete operation at any time.
Enter an address into the text area of the dialog. The value entered will be assumed to be in hexadecimal. That is, "0x1000" and "1000" are the same value.
-When the program has multiple address
+
When the program has multiple address
spaces and the destination address is ambiguous (based on the current location), a query
results dialog will be displayed.
Even if the case sensitive option is off,
+
Even if the case sensitive option is off,
if a label has an exact match, no other labels will be found.
Turning off this option can result in
+
Turning off this option can result in
significantly faster results in larger programs.
Ghidra does not support storing source
+
Ghidra does not support storing source
file bytes for all file formats. Searching for a file offset in these programs will always
yield no results.
When the program has multiple file byte
+
When the program has multiple file byte
sources and the destination address is ambiguous, a query results dialog will be displayed.
-
When searching for Instructions, Data or +
When searching for Instructions, Data or Undefined items, Ghidra will skip all contiguous items of the same type. For example, if the cursor is on an address with an Instruction, and you go to the next Instruction, then all Instructions immediately following the current one will be skipped until a non-Instruction is @@ -645,7 +645,7 @@ href="help/topics/Search/Search_Program_Text.htm">Program Text, etc)
The
+
The
button is only enabled after performing a
@@ -107,7 +107,7 @@-
The behavior of the previous action will +
The behavior of the previous action will vary slightly depending upon what component is focused. It is possible for a non-Listing view to be showing a function that is not the current function in the Listing. In this case, if the Listing has focus, then the previously visited function @@ -676,7 +676,7 @@
@@ -68,7 +68,7 @@To clear the navigation history stack, select Navigation
+ "help/shared/arrow.gif" border="0"> Clear HistoryClear History
After clearing the history, the
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/OverviewPlugin/Overview.htm b/Ghidra/Features/Base/src/main/help/help/topics/OverviewPlugin/Overview.htm index d0c3f3e306..fe99903c45 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/OverviewPlugin/Overview.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/OverviewPlugin/Overview.htm @@ -7,7 +7,7 @@and
buttons are disabled
Overview - + @@ -37,7 +37,7 @@Right-clicking on the margin bar will bring up a popup-menu which will at least include an option for displaying a legend for that particular overview. -
Overview margin bars can be turned on or off using the control button +
Overview margin bars can be turned on or off using the control button
on the Listing's toolbar.
Uninitialized - None of the above. The address falls in an uninitialized memory block (no byte values) -
Note that the overview panel only provides an +
Note that the overview panel only provides an approximation of the contents of a program. Although the level of detail can be increased by selected a more restricted view, there may still be imprecise summaries. For instance, if a region of memory contains mostly defined data, but the particular address that is rendered in the overview @@ -83,7 +83,7 @@
The legend indicates the colors that correspond to each type of program element shown in the overview display. The colors are specified as options and can be changed from the default values. To change the colors, click on the color, or edit the options through the Edit -
Options... dialog. You can choose the color from a +
Options... dialog. You can choose the color from a color chooser dialog.
To view the options, select Edit Options... on
+
To view the options, select Edit Options... on
the tool, then choose the Overview node in the options tree. To change a color, double
click on the color bar in the Overview Options panel. Choose the color from the
color chooser dialog.
If the listing
+
If the listing
window is open and multiple programs are open, the program names are displayed on tabs across
the top of the listing window. Programs can be closed by selecting the appropriate tab
and pressing the corresponding "x" button.
@@ -116,7 +116,7 @@ have a previously active program.-
- From the Tool menu, select File
Close +
- From the Tool menu, select File
Close All
- For each program that was changed, the Save Program? dialog appears.
@@ -75,7 +75,7 @@.-
- From the Tool menu, select File
Close +
- From the Tool menu, select File
Close Others
- For each of the other programs that was changed, the Save Program? dialog appears.
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/ProgramManagerPlugin/Navigating_Program_Files.htm b/Ghidra/Features/Base/src/main/help/help/topics/ProgramManagerPlugin/Navigating_Program_Files.htm index 96861554c4..5d6b0943f4 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/ProgramManagerPlugin/Navigating_Program_Files.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/ProgramManagerPlugin/Navigating_Program_Files.htm @@ -7,7 +7,7 @@Navigating Program Files - + @@ -103,7 +103,7 @@Go To Program Popup Window
To execute this action, from the Tool menu, select Navigation
+ "help/shared/arrow.gif" border="0">Go To Program...Go To Program....
To execute this action, from the Tool menu, select NavigationGo To Last Active Program.
-
+
The
icon in the Tool
Chest indicates the CodeBrowser tool.
Select Edit Program
+
Select Edit Program
Options....
-
- From the Ghidra Tool's menu, select File
+Save.
- From the Ghidra Tool's menu, select File
Save.
@@ -47,7 +47,7 @@-
@@ -77,7 +77,7 @@- From the Ghidra Tool's menu, select File
+Save As....
- From the Ghidra Tool's menu, select File
Save As....
- The Save As... dialog appears.
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/ProgramTreePlugin/Program_Organizations.htm b/Ghidra/Features/Base/src/main/help/help/topics/ProgramTreePlugin/Program_Organizations.htm index e3154fb931..6c58fc9c70 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/ProgramTreePlugin/Program_Organizations.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/ProgramTreePlugin/Program_Organizations.htm @@ -7,7 +7,7 @@-
- From the Ghidra Tool's menu, select File
+Save All.
- From the Ghidra Tool's menu, select File
Save All.
Program Organizations - + @@ -55,8 +55,8 @@To organize a folder or fragment by modularization and block model, right mouse click on a folder or fragment in the Program Tree and choose Modularize By
Subroutine
Modularize By
Subroutine
<block model name>.
Provided by: ModularizeAlgorithmPlugin
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/ProgramTreePlugin/program_tree.htm b/Ghidra/Features/Base/src/main/help/help/topics/ProgramTreePlugin/program_tree.htm index 067409b412..c8294e3f7c 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/ProgramTreePlugin/program_tree.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/ProgramTreePlugin/program_tree.htm @@ -8,7 +8,7 @@Program Tree - + @@ -84,7 +84,7 @@-@@ -1011,7 +1011,7 @@
After you are done editing the name, the icon for the +
@@ -101,7 +101,7 @@
After you are done editing the name, the icon for the fragment indicates that it is empty (
). You can drag code units from the Code Browser and drop them onto the empty node. The icon changes to indicate that the fragment is not empty.
-@@ -220,7 +220,7 @@
The default name of the fragment is the name of the +
The default name of the fragment is the name of the first address in the set of code units that you dragged. This operation actually moves the code units to this fragment. If the first code unit in the set that you are dragging has a label, then the name of the fragment defaults to this label @@ -149,7 +149,7 @@
- The cell editor for the tree is displayed. Enter a new name.
-
Duplicate folder or fragment names are not allowed, +
@@ -197,7 +197,7 @@
Duplicate folder or fragment names are not allowed, regardless of where they are in the hierarchy. If you enter a name that already exists, an error message is displayed; the name reverts back to its original name. Hit the <Esc> key to cancel editing at any time.
The code units are moved from the source fragment to the destination Fragment.
-
Drag and drop the selection on a folder to create a new fragment.
- Select a folder in the Program Tree.
- Right mouse click and choose the Sort
+ "help/shared/arrow.gif">by Address option.by Address option.
@@ -234,7 +234,7 @@-- Select a folder in the Program Tree.
- Right mouse click and choose the Sort
+ "help/shared/arrow.gif">by Name option.by Name option.
@@ -288,7 +288,7 @@ -@@ -405,7 +405,7 @@
This option is available for a multiple selection of +
This option is available for a multiple selection of fragments and/or folders.
Provided By: ProgramTreeSelectionPlugin
@@ -358,7 +358,7 @@ option. -
The Go To in View option is always enabled +
The Go To in View option is always enabled regardless of whether the folder or fragment is in the view or not.
-@@ -120,7 +120,7 @@ tool. The list of existing views will show the new name.
The program tree can be configured, via tool +
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/ProgramTreePlugin/view_manager.htm b/Ghidra/Features/Base/src/main/help/help/topics/ProgramTreePlugin/view_manager.htm index 62d6e24979..84bb329c27 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/ProgramTreePlugin/view_manager.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/ProgramTreePlugin/view_manager.htm @@ -7,7 +7,7 @@
The program tree can be configured, via tool options, such that a double-click performs a simple navigation, or the Replace View action. The default behavior for a double-click is to perform the Replace View action.
Program Tree View Management - + @@ -97,7 +97,7 @@Re-open the program tree by selecting it from the list of views described above.
-
You cannot close the +
You cannot close the last program tree..
If you move focus out +
If you move focus out of the edit window, the edit window is removed, and no change is made to the name.
Click the
button to @@ -138,7 +138,7 @@
- Choose the "Delete" option.
-
You cannot delete the +
You cannot delete the last program tree. You must first create a new default tree, then delete your other tree.
Click the
button to diff --git a/Ghidra/Features/Base/src/main/help/help/topics/Project/Ghidra_Projects.htm b/Ghidra/Features/Base/src/main/help/help/topics/Project/Ghidra_Projects.htm index 6e6457a753..6cbf48fd7e 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/Project/Ghidra_Projects.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/Project/Ghidra_Projects.htm @@ -3,7 +3,7 @@
Ghidra Projects - +Ghidra Projects
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/PropertyManagerPlugin/Property_Viewer.htm b/Ghidra/Features/Base/src/main/help/help/topics/PropertyManagerPlugin/Property_Viewer.htm index 4bc2f4afe1..e659c1399e 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/PropertyManagerPlugin/Property_Viewer.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/PropertyManagerPlugin/Property_Viewer.htm @@ -10,7 +10,7 @@Property Viewer - + @@ -44,7 +44,7 @@
To display the Property Viewer window, select Window
+ "help/shared/arrow.gif">Manage Properties... from the tool menu.Manage Properties... from the tool menu.
In this example, a plugin has placed several source related properties on code units. Select the row for "Source File" to see all the locations in the Code Browser where a "Source File" diff --git a/Ghidra/Features/Base/src/main/help/help/topics/ReferencesPlugin/CreateOffsetReferencesTable.htm b/Ghidra/Features/Base/src/main/help/help/topics/ReferencesPlugin/CreateOffsetReferencesTable.htm index 8dd887d992..0b57f92378 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/ReferencesPlugin/CreateOffsetReferencesTable.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/ReferencesPlugin/CreateOffsetReferencesTable.htm @@ -10,7 +10,7 @@
Create Offset References Table - + @@ -39,11 +39,11 @@ the selection should not contain instructions.- - Right mouse click and choose the References
@@ -85,7 +85,7 @@+ Right mouse click and choose the References
Create Offset Reference option.
-
If the selection contains +
If the selection contains instructions, then a warning message is displayed in the tool status area.
-
If the value of the data type being used +
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/ReferencesPlugin/References.htm b/Ghidra/Features/Base/src/main/help/help/topics/ReferencesPlugin/References.htm index 2e2d32e75a..5601edf0ab 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/ReferencesPlugin/References.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/ReferencesPlugin/References.htm @@ -6,7 +6,7 @@ "HTML Tidy for Java (vers. 2009-12-01), see jtidy.sourceforge.net">
If the value of the data type being used as the offset does not result in a valid address for the reference, then a message is displayed in the status area of the tool. The data type will have been created, but not the reference.
References - + diff --git a/Ghidra/Features/Base/src/main/help/help/topics/ReferencesPlugin/References_from.htm b/Ghidra/Features/Base/src/main/help/help/topics/ReferencesPlugin/References_from.htm index f834bb6945..2d722752dd 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/ReferencesPlugin/References_from.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/ReferencesPlugin/References_from.htm @@ -6,7 +6,7 @@ c "HTML Tidy for Java (vers. 2009-12-01), see jtidy.sourceforge.net">Forward References - + @@ -61,14 +61,14 @@ c within the program when you double click on an operand field within the Listing.
-
When a reference is placed on an operand, it +
-
When a reference is placed on an operand, it will only change the rendering of that operand within the program listing if the reference is marked as 'primary'.
If a reference is placed on an instruction +
-
If a reference is placed on an instruction mnemonic within the Listing, the instruction mnemonic will be underlined.
If a non-primary reference exists for an operand +
@@ -92,10 +92,10 @@ c
If a non-primary reference exists for an operand (i.e., not reflected in the instruction markup), the corresponding instruction operand within the Listing will be underlined.
- Register Reference
-
Ghidra does not permit mixing "types of +
-
Ghidra does not permit mixing "types of references" for a given mnemonic or operand.
With the exception of Memory References, only a +
@@ -170,11 +170,11 @@ c in use.
With the exception of Memory References, only a single reference may be placed on a given mnemonic/operand.
-
Stack References should be placed on all stack +
-
Stack References should be placed on all stack parameter/variable data access operands.
Stack References may only be specified for +
@@ -189,11 +189,11 @@ c used.
Stack References may only be specified for source code units contained within a function.
-
Register References should be placed only on +
-
Register References should be placed only on register variable data assignment operands.
Register References may only be specified for +
Register References may only be specified for source code units contained within a function.
Reference Destination Symbols
@@ -811,7 +811,7 @@ c mnemonic/operand current references) -
Default key-bindings for actions are +
@@ -820,7 +820,7 @@ c
Default key-bindings for actions are indicated with {}'s.
While there is a separate action for creating a default reference on an operand (see Creating a Default Reference below), an arbitrary reference may be also be added directly to a mnemonic or operand by using the popup menu action - References
@@ -829,7 +829,7 @@ cAdd Reference from... . + References
Add Reference from... . This will cause the Add Reference Dialog to be displayed, allowing the user to specify any of the permitted reference types.
While the current cursor location is on the operand of an instruction or data code unit within the CodeBrowser Listing, the popup menu item References
-Create Default Reference* may be selected to create + "help/shared/arrow.gif" alt=""> Create Default Reference* may be selected to create the default primary reference for an operand. This action will be disabled if the current location does not correspond to an operand field or a default reference can not be determined.
@@ -850,7 +850,7 @@ c is deleted, any explicit bindings to that variable will be cleared.
*The popup menu item name Create Default +
@@ -859,13 +859,13 @@ c
*The popup menu item name Create Default Reference may differ based upon the type of reference which will get created: Create Memory Reference, Create Stack Reference, Create Register Reference.
While the current cursor location is on the mnemonic/operand of an instruction or data code unit within the CodeBrowser Listing, the popup menu item References
-Delete References* may be selected to delete all + "help/shared/arrow.gif" alt=""> Delete References* may be selected to delete all references on the current mnemonic/operand. This action will be disabled if the current location does not correspond to a mnemonic/operand field or references do not exist on the current mnemonic/operand.
*The popup menu item name Delete References may +
@@ -877,7 +877,7 @@ c
*The popup menu item name Delete References may differ based upon the existing reference(s): Delete Memory References, Delete Stack Reference, Delete Register Reference, Delete External Reference.
All references "from" a data or instruction code unit can be edited and/or viewed by clicking on the code unit (or a specific operand) within the Listing and activating the Add/Edit... action via the popup menu item References
-Add/Edit... {'R'}. Each time this action is + "help/shared/arrow.gif" alt=""> Add/Edit... {'R'}. Each time this action is invoked a new instance of the References Editor panel will be displayed. Once the panel is displayed, the
toggle button may be pushed-in to have the source location follow the current location within the "#dragNDrop">Adding Memory References from a Selection).
+
@@ -957,11 +957,11 @@ c -
The table entries that match the selected source element will be gray in color.
*With the exception of External references, +
-
*With the exception of External references, both the Ref-Type and Primary? choices may be changed directly within this table.
References and symbol names corresponding to +
-
References and symbol names corresponding to memory references outside of the program's defined memory blocks will be displayed in red (e.g., DAT_00000000). These red references frequently correspond to well-known memory locations, although they could point out a bad @@ -1039,24 +1039,24 @@ c clicking on it, as well as the Type of Reference. The available choices for Type of Reference may be constrained based upon the choosen operand.
In general, only flow references should be set +
-
In general, only flow references should be set on an instruction mnemonic, unless of course the instruction has no operands. References from data code units (e.g., addr/pointer) should always specify the scalar operand as the source, not the mnemonic (i.e., data-type).
Stack and register references may only be +
-
Stack and register references may only be specified for source code units contained within a function. Register references may only be set on operands containing a single register and in general should correspond to a WRITE Ref-Type.
With the exception of memory references, only a +
-
With the exception of memory references, only a single reference may be set for a given operand or mnemonic.
An External reference may not be set on a mnemonic.
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/ReferencesPlugin/external_program_names.htm b/Ghidra/Features/Base/src/main/help/help/topics/ReferencesPlugin/external_program_names.htm index 901705e633..fc5647cfe3 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/ReferencesPlugin/external_program_names.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/ReferencesPlugin/external_program_names.htm @@ -7,7 +7,7 @@
External Program Names - + @@ -108,7 +108,7 @@Adding a New External Program Name
-
-- Select Window
External Programs +
- Select Window
External Programs from the main Code Browser menu.
- Press the Add
@@ -118,7 +118,7 @@button.
- <> -
If the table is sorted by Name, then +
-
If the table is sorted by Name, then the name you enter will be placed at the correct position in the table to maintain the sort order. The sort icon
or
indicates the order and what column is @@ -133,7 +133,7 @@
- Select Window
External Programs from the main Code Browser + "help/shared/arrow.gif" border="0"> External Programs from the main Code Browser menu.
- Click on the external program name that is be associated with a Ghidra program @@ -152,7 +152,7 @@
- Select Window
External Programs from the main Code Browser + "help/shared/arrow.gif" border="0"> External Programs from the main Code Browser menu.
- Click on the external program name that has an association to be cleared.
@@ -164,7 +164,7 @@
- Select Window
External Programs from the main Code Browser + "help/shared/arrow.gif" border="0"> External Programs from the main Code Browser menu.
- Click on the external program name to be removed.
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/RegisterPlugin/Registers.htm b/Ghidra/Features/Base/src/main/help/help/topics/RegisterPlugin/Registers.htm index cd1c6cc5d5..365d8cbc20 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/RegisterPlugin/Registers.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/RegisterPlugin/Registers.htm @@ -7,7 +7,7 @@Register Values Plugin - + @@ -150,7 +150,7 @@ changed using the adjacent drop-down menu.
If the browser cursor is on a register when +
If the browser cursor is on a register when this dialog is invoked, then the register combo will be set to that register.
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/RelocationTablePlugin/relocation_table.htm b/Ghidra/Features/Base/src/main/help/help/topics/RelocationTablePlugin/relocation_table.htm index 379fe0f876..8a3d82af85 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/RelocationTablePlugin/relocation_table.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/RelocationTablePlugin/relocation_table.htm @@ -8,7 +8,7 @@Relocation Table - + diff --git a/Ghidra/Features/Base/src/main/help/help/topics/Repository/Merge_Program_Files.htm b/Ghidra/Features/Base/src/main/help/help/topics/Repository/Merge_Program_Files.htm index 872aaf2e93..ffb09d9b2d 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/Repository/Merge_Program_Files.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/Repository/Merge_Program_Files.htm @@ -9,7 +9,7 @@Merge Program Files - + @@ -82,7 +82,7 @@
+
@@ -848,19 +848,19 @@
If a new version of a file has been added since the user checked out the file, a merge is required at check in. This is the only time a merge is required.
-renamed Foo
My_Foo
- moved /MISC/Category1
+renamed Foo
+ "help/shared/arrow.gif"> charMy_Foo
+ moved /MISC/Category1
changed undefinedchar
In the latest version:
-moved /MISC
+
moved /MISC
/Category1/Category2/Category3
changed undefinedbyte
+ "help/shared/arrow.gif"> byte
The conflict arises because in both versions the file was moved and also because @@ -892,7 +892,7 @@
Select a radio button to resolve the conflict.
-
In the Merge Tool window above, the title +
In the Merge Tool window above, the title indicates the project, program and new version number that will result from the merge. Version 5 of "helloProgram" in the "SampleProject" will be created by the merge. The source archive is indicated for each data tpe in the conflict window. The "Foo" data type @@ -909,12 +909,12 @@
The image below shows the scenario where you:
-moved /MISC
+/Category1/MISC
moved /MISC
/Category1/MISC
In the latest version:
-moved /MISC
moved /MISC
/Category1/Cateogry2/Category3/MISC
-@@ -2044,7 +2044,7 @@ longer be prompted to resolve conflicts for that property type.
The scrolled listings allow you to +
@@ -1176,7 +1176,7 @@ in the other version.
The scrolled listings allow you to see the code units in the different program versions, which may help determine the correct register value to choose. The layout of the Merge Program Context window is very similar to the Merge Listing window.
-
If an instruction change conflicts with a +
If an instruction change conflicts with a reference change, the references can be viewed by right clicking on an instruction in one of the four listings (Result, Latest, Checked Out, Original) and choosing the View Instruction Details... action. This will pop up a dialog indicating any @@ -1918,14 +1918,14 @@
-changed 01
+
changed 01
PEAR
In the latest version:
-changed 01
+
changed 01
ORANGE
-
Selecting the Use the selected option for +
Selecting the Use the selected option for resolving all ... checkbox for the Space property would not affect the resolving of conflicts for any other named property. However, the user can select the checkbox for each different named property with conflicts.
@@ -2149,7 +2149,7 @@ -
The first operand of an +
@@ -2319,7 +2319,7 @@
The first operand of an instruction is numbered as operand 0.
- your version removes a non-Note bookmark of a specific category and the latest version changes the description for that bookmark type and category or vice versa.
@@ -2361,7 +2361,7 @@ the value in the Original version that you checked out -
-You cannot directly change the description +
You cannot directly change the description on a non-Note bookmark through regular bookmark editing in Ghidra, but a plugin could change it programmatically.
Notice that the above bookmarks +
@@ -2439,7 +2439,7 @@
Notice that the above bookmarks conflict even though they are not in the same category. This is because only one Note bookmark is allowed at an address regardless of its category.
-
If you choose to keep both comments by +
If you choose to keep both comments by placing checkmarks in both boxes, your comment is appended to the latest comment with a new line separating them. If one of the comments is contained within the other comment, then the longer comment is kept instead of combining them with a new line @@ -2524,7 +2524,7 @@
Select the radio button for the desired result and then select the Apply button to proceed with the merge.
-
When you remove an external program name that is +
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/ResourceActionsPlugin/ResourceActions.html b/Ghidra/Features/Base/src/main/help/help/topics/ResourceActionsPlugin/ResourceActions.html index f4f71b3c9a..256dca0092 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/ResourceActionsPlugin/ResourceActions.html +++ b/Ghidra/Features/Base/src/main/help/help/topics/ResourceActionsPlugin/ResourceActions.html @@ -4,7 +4,7 @@ - +
When you remove an external program name that is in conflict, it will get added back later as a result of choosing a reference that refers to that external program name.
Saving an Image diff --git a/Ghidra/Features/Base/src/main/help/help/topics/ScalarSearchPlugin/The_Scalar_Table.htm b/Ghidra/Features/Base/src/main/help/help/topics/ScalarSearchPlugin/The_Scalar_Table.htm index fba6d72e6f..f97fc03004 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/ScalarSearchPlugin/The_Scalar_Table.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/ScalarSearchPlugin/The_Scalar_Table.htm @@ -7,7 +7,7 @@Search for Scalars - + @@ -21,7 +21,7 @@@@ -183,7 +183,7 @@-
- From the Tool, select Search
For +
- From the Tool, select Search
For Scalars...
- Select "Scalars in Range:" or "Specific Scalar:".
@@ -33,7 +33,7 @@-@@ -90,7 +90,7 @@ program. Any new code units containing scalars added to the program will automatically appear in the table. -
Once a value is entered in a +
Once a value is entered in a text field, Ctrl+M toggles the value display between the decimal and hex representation of the value in that field.
To bring up the Scalar Table, choose Window
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/Search/Query_Results_Dialog.htm b/Ghidra/Features/Base/src/main/help/help/topics/Search/Query_Results_Dialog.htm index 5eee8cdbbb..6d2872436c 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/Search/Query_Results_Dialog.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/Search/Query_Results_Dialog.htm @@ -4,7 +4,7 @@To bring up the Scalar Table, choose Window
Scalar Table from the tool's menu. This table can be docked in the tool if desired.
Search Results Window - + diff --git a/Ghidra/Features/Base/src/main/help/help/topics/Search/Regular_Expressions.htm b/Ghidra/Features/Base/src/main/help/help/topics/Search/Regular_Expressions.htm index 5b7cf0b420..34cbbacdbf 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/Search/Regular_Expressions.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/Search/Regular_Expressions.htm @@ -7,7 +7,7 @@Regular Expressions - + diff --git a/Ghidra/Features/Base/src/main/help/help/topics/Search/Search_Instruction_Patterns.htm b/Ghidra/Features/Base/src/main/help/help/topics/Search/Search_Instruction_Patterns.htm index 15ff858771..f3529298f9 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/Search/Search_Instruction_Patterns.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/Search/Search_Instruction_Patterns.htm @@ -7,7 +7,7 @@Search Instruction Patterns - + @@ -37,7 +37,7 @@ the selection range will have an entry in the table, even non-instructions. Users may click on an item in the table to mask it from the final search string. -
Color-coding is used to indicate the code +
Color-coding is used to indicate the code unit type. Instructions are displayed in blue, data items are tan.
-
![]()
It should be noted that the search will look +
It should be noted that the search will look for exact byte pattern matches, not simply the mnemonic and/or operand text. eg: If you load a program and select a RET instruction, you can't expect to use that same search pattern to find a RET instruction in a different program. Unless they represent the same @@ -198,7 +198,7 @@
- Select a range of instructions in the code listing.
-- From the Tool, select Search
For +
- From the Tool, select Search
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/Search/Search_Memory.htm b/Ghidra/Features/Base/src/main/help/help/topics/Search/Search_Memory.htm index 862728f466..5e53b35fc7 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/Search/Search_Memory.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/Search/Search_Memory.htm @@ -7,7 +7,7 @@For Instruction Patterns.
The dialog will launch and be populated with the instruction set.Search Memory - + @@ -23,7 +23,7 @@-
- From the Tool, select Search
+
- From the Tool, select Search
Memory
- Enter a Hex String in the Value field
@@ -138,7 +138,7 @@
+
As a convenience, if a user enters a single wildcard value within the search text, then
the search string will be interpreted as if 2 consecutive wildcard characters were
entered, meaning to match any byte value.
@@ -329,7 +329,7 @@
-@@ -353,7 +353,7 @@
For very large Programs that may take a +
-
For very large Programs that may take a while to search, you can cancel the search at any time. For these situations, a progress bar is displayed, along with a Cancel button. Click on the Cancel button to stop the search.
Dismissing the search dialog +
Dismissing the search dialog automatically cancels the search operation.
-You can specify that the bytes found in the search be highlighted in the Code Browser by selecting the Highlight Search Results checkbox on the Search Options panel. To view - the Search Options, select Edit
+ the Search Options, select Edit
Tool Options... from the tool menu, then select the Search node in the Options tree in the Options dialog. You can also change the highlight color. Click on the color bar next to Highlight Color to bring up a color chooser. Choose the new color, click on @@ -361,7 +361,7 @@ on the Options dialog.
-
Highlights are displayed for the last +
Highlights are displayed for the last search that you did. For example, if you bring up the Search Program Text dialog and search for text, that string now becomes the new highlight string. Similarly, if you invoke cursor text @@ -451,7 +451,7 @@
The previous operations can only work on a
+
The previous operations can only work on a
single selected region. If multiple regions are selected, the following error dialog
will be shown and the operation will be cancelled.
To bring up the Search Program Text dialog, as shown below, select SearchProgram Text... from the
+ src="help/shared/arrow.gif" border="0">Program Text... from the
tool menu.
By default, the Program Database Search Type type is selected.
-
If you select the +
If you select the All Fields button, the Listing Display Search Type button automatically becomes selected, as the Search All Fields does not apply to the Program Database. The Selected Fields option applies to either the Program Database or the Listing Display @@ -123,7 +123,7 @@
To search for text strings incrementally,
-
- Select the Search
@@ -133,11 +133,11 @@ character.Select the Search
Program Text from the Code Browser tool menu.
-
This field does +
- -
This field does not support regular expressions.
If you need to +
- @@ -146,7 +146,7 @@ strings that you previously entered.
If you need to search for one of the wildcard characters, then escape the character with a backslash. For example, to search for any occurrence of an asterisk, you would enter \* as the search string.
Search operations do not
+
Search operations do not
"wrap" once the you have reached the maximum address in memory or within a selection. Select
the Backward direction check box to search backwards from your current location.
For very large Programs
+
For very large Programs
that may take a while to search, you can cancel your search at any time. For these
situations, an indicator for "search in progress" is displayed with a Cancel button. Click on the Cancel button to stop
the search
Dismissing the search
+
Dismissing the search
dialog automatically cancels the search operation. For search all,
partial results are ignored if the search dialog was dismissed while the search was still in
progress, therefore, the "View Results" question dialog will not be displayed.
-@@ -301,7 +301,7 @@
When performing a "Search All" on large Programs, +
When performing a "Search All" on large Programs, the results table will appear before the search is completed. At the bottom of this window, there will be a cancel button that you can use to stop the search.
You can specify that the string found in the search be highlighted by selecting the Highlight Search Results checkbox on the Search Options panel. To view the Search - Options, select Edit
Tool Options... from the tool menu, then select the Search node in the Options + Options, select Edit
Tool Options... from the tool menu, then select the Search node in the Options tree in the Options dialog. You can also change the highlight color. Click on the color bar next to Highlight Color to bring up a color chooser. Choose the new color, click on the OK button. The option for Highlight Color for Current Match indicates @@ -313,7 +313,7 @@
@@ -85,9 +85,9 @@ can be installed that will allow the user to translate strings.The highlight options also apply to searching memory.
-
Other notes of interest +
Other notes of interest on highlighting:
@@ -392,7 +392,7 @@-The Query Results display will show the search results in this default search order.
-
If your
If your Listing fields are organized in a different order from the search order (e.g., Plate Comment is after the End of Line Comment), then as you search incrementally, your cursor potentially would move back and diff --git a/Ghidra/Features/Base/src/main/help/help/topics/Search/Search_for_AddressTables.htm b/Ghidra/Features/Base/src/main/help/help/topics/Search/Search_for_AddressTables.htm index d46f8f3bf8..f56a1213b7 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/Search/Search_for_AddressTables.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/Search/Search_for_AddressTables.htm @@ -6,7 +6,7 @@ "HTML Tidy for Java (vers. 2009-12-01), see jtidy.sourceforge.net">
Search for Address Tables - + @@ -36,7 +36,7 @@To search for address tables,
-
@@ -62,7 +62,7 @@- Select the Search
+For Address Tables... option
- Select the Search
For Address Tables... option
- Select the Search button; the results of the search are displayed in the table.
For very large Programs +
@@ -123,7 +123,7 @@
For very large Programs that may take a while to search, you can cancel the search at any time by hitting the cancel (
) button. A progress bar is displayed as needed.
-diff --git a/Ghidra/Features/Base/src/main/help/help/topics/Search/Searching.htm b/Ghidra/Features/Base/src/main/help/help/topics/Search/Searching.htm index d87fa69b23..09bc57e039 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/Search/Searching.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/Search/Searching.htm @@ -7,7 +7,7 @@
A warning dialog is +
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/Search/Search_for_DirectReferences.htm b/Ghidra/Features/Base/src/main/help/help/topics/Search/Search_for_DirectReferences.htm index e137c0cd34..64a7d7454d 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/Search/Search_for_DirectReferences.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/Search/Search_for_DirectReferences.htm @@ -7,7 +7,7 @@
A warning dialog is displayed if address tables could not be created due to a collision with existing data at either the start of end of possible address tables. If the auto label option is selected, you can determine from the label column those address tables that were not created.
Search for Direct References - + @@ -64,7 +64,7 @@Click on the address in the Code Browser. -Select Search for Direct +
Select Search for Direct References...
If the search will take a while, an "in progress" dialog pops up so that you can see the @@ -83,7 +83,7 @@ has no references to it. - -
To search for all possible +
@@ -97,11 +97,11 @@ -
To search for all possible references within the current program's memory space, press Ctrl+A to select the entire program before performing the search
If you use this search multiple times on +
-
If you use this search multiple times on different addresses without closing the window, one window will show all the results. Each result for an address is displayed when you click on the tab at the bottom of the window.
This plugin works with 16-bit, 16-bit +
@@ -111,7 +111,7 @@
This plugin works with 16-bit, 16-bit segmented, and 32-bit programs.
If your search results came from searching on a selection, you can restore the program's selection that was used for the search. To do this, click the
menu button in the Search Results button bar and select + "images/menu16.gif" alt=""> menu button in the Search Results button bar and select Restore Search Results. This will set the program selection back to what it was when you initially performed the search.
@@ -122,7 +122,7 @@Once you have search results you can filter them based on the address alignment of the - From Location. To do this, click the
menu + From Location. To do this, click the
menu button in the Search Results button bar, pull right on Alignment, and select the desired alignment (1, 2, 4, or 8). This will limit the displayed results to those where the From Location is an address that matches the selected byte diff --git a/Ghidra/Features/Base/src/main/help/help/topics/Search/Search_for_Strings.htm b/Ghidra/Features/Base/src/main/help/help/topics/Search/Search_for_Strings.htm index d0ef535896..35c8fc4a8e 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/Search/Search_for_Strings.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/Search/Search_for_Strings.htm @@ -7,7 +7,7 @@
Search for Strings - + @@ -22,7 +22,7 @@To search for strings, select Search
For Strings... This will bring up the String Search Dialog + "help/shared/arrow.gif"> For Strings... This will bring up the String Search Dialog where you can configure the search criteria before initiating the search.
@@ -191,7 +191,7 @@ Otherwise, no string will be created if a conflict exists.
The "Make Strings" panel can be +
The "Make Strings" panel can be hidden/shown using the
/
toggle button at the end of the text filter.
Searching - + diff --git a/Ghidra/Features/Base/src/main/help/help/topics/SelectBlockPlugin/Select_Block_Help.html b/Ghidra/Features/Base/src/main/help/help/topics/SelectBlockPlugin/Select_Block_Help.html index 8c99b2dc6e..ecf9289d9c 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/SelectBlockPlugin/Select_Block_Help.html +++ b/Ghidra/Features/Base/src/main/help/help/topics/SelectBlockPlugin/Select_Block_Help.html @@ -4,7 +4,7 @@Select Bytes - + diff --git a/Ghidra/Features/Base/src/main/help/help/topics/Selection/Selecting.htm b/Ghidra/Features/Base/src/main/help/help/topics/Selection/Selecting.htm index 28596c0c13..f5c755d6bd 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/Selection/Selecting.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/Selection/Selecting.htm @@ -7,7 +7,7 @@Selecting - + @@ -26,7 +26,7 @@To create a selection using one of the predefined methods via the menu item Select
SelectionType. + "help/shared/arrow.gif">SelectionType.
The SelectionTypes and their descriptions are as follows:
@@ -248,9 +248,9 @@ transient, change it to a highlight. -+ "help/shared/arrow.gif">Restore Selection.
At any time you can restore the previous selection for the current program by pressing the Select
Restore Selection.
Selection by Flow Tool Options
@@ -260,7 +260,7 @@@@ -371,7 +371,7 @@
- From the tool's menu select Edit
+ "help/shared/arrow.gif">Tool Options...Tool Options...
- Click on the Selection by Flow tree node
From the menu-bar of the Code Browser, select Navigation
+ "help/shared/arrow.gif"> Next Selected RangeNext Selected Range
OR
@@ -383,7 +383,7 @@-@@ -212,11 +212,11 @@
When the Code Browser is on or after the +
@@ -394,7 +394,7 @@
When the Code Browser is on or after the last address range in the selection, the "Next Selected Range" menu-bar and tool-bar options will be disabled.
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/SetHighlightPlugin/Highlighting.htm b/Ghidra/Features/Base/src/main/help/help/topics/SetHighlightPlugin/Highlighting.htm index 38e9b4db30..2e1357235f 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/SetHighlightPlugin/Highlighting.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/SetHighlightPlugin/Highlighting.htm @@ -6,7 +6,7 @@ "HTML Tidy for Java (vers. 2009-12-01), see jtidy.sourceforge.net">From the menu-bar of the Code Browser, select Navigation
+ "help/shared/arrow.gif">Previous Selected RangePrevious Selected Range
-OR
@@ -404,7 +404,7 @@ () button
When the Code Browser is on or before the first +
When the Code Browser is on or before the first address range in the selection, the "Previous Selected Range" menu-bar and tool-bar options will be disabled.
Highlighting - + @@ -15,8 +15,8 @@A highlight is a more permanent variation of a selection. As you may recall, a selection can be cleared simply by clicking in the Code Browser. In order to clear a highlight, you must - explicitly select the Select
+ explicitly select the SelectHighlight
option.
Highlight
option.
You would commonly use a highlight when you do not want to lose a selection. For example, you just used Search Memory to search for @@ -36,15 +36,15 @@
Create a selection in the Code Browser - From the menu-bar of the Code Browser, select Select @@ -54,15 +54,15 @@Highlight
Select
Highlight
Selection
From the right mouse popup menu of the Code Browser, select Highlight -OR
Entire +
Entire Selection
@@ -71,15 +71,15 @@
- - From the menu-bar of the Code Browser, select Select
Highlight
Select
Highlight
Clear
From the right mouse popup menu of the Code Browser, select Highlight -OR
Clear
+Clear
@@ -89,15 +89,15 @@
- - From the menu-bar of the Code Browser, select Select
Highlight
Select
Highlight
Add Selection
From the right mouse popup menu of the Code Browser, select Highlight -OR
Add +
Add Selection
@@ -109,14 +109,14 @@
- - From the menu-bar of the Code Browser, select Select
Highlight
Select
Highlight
Subtract Selection
From the right mouse popup menu of the Code Browser, select Highlight -OR
Subtract +
Subtract Selection
Create a highlight in the Code Browser - From the menu-bar of the Code Browser, select Select @@ -145,8 +145,8 @@Select
From Highlight
From the right mouse popup menu of the Code Browser, select Select -OR
Entire +
Entire Highlight
@@ -352,7 +352,7 @@From the menu-bar of the Code Browser, select either Navigation
+ "help/shared/arrow.gif" border="0"> Previous Highlighted Range or NavigationPrevious Highlighted Range or Navigation
Next Highlighted Range.
Next Highlighted Range.
@@ -582,7 +582,7 @@ settings:OR
@@ -164,7 +164,7 @@@@ -494,7 +494,7 @@-@@ -407,7 +407,7 @@ the drop is occurring.
When the Code Browser is on or before the +
When the Code Browser is on or before the first address range in the highlight, the "Previous Highlight Range" menu-bar and tool-bar options will be disabled. Similarly, when the Code Browser is on or after the last address range in the highlight, the "Next Highlight Range" menu and toolbar options will be diff --git a/Ghidra/Features/Base/src/main/help/help/topics/ShowInstructionInfoPlugin/ShowInstructionInfo.htm b/Ghidra/Features/Base/src/main/help/help/topics/ShowInstructionInfoPlugin/ShowInstructionInfo.htm index 9e12ee18d9..df002a6ff5 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/ShowInstructionInfoPlugin/ShowInstructionInfo.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/ShowInstructionInfoPlugin/ShowInstructionInfo.htm @@ -7,7 +7,7 @@
Show Instruction Info - + @@ -49,7 +49,7 @@right-mouse-click, select Processor Manual --
Not all Ghidra language +
Not all Ghidra language modules support this functionality.
Implementation Note:
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/Snapshots/Snapshots.html b/Ghidra/Features/Base/src/main/help/help/topics/Snapshots/Snapshots.html index 55a8da90b1..377072cd56 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/Snapshots/Snapshots.html +++ b/Ghidra/Features/Base/src/main/help/help/topics/Snapshots/Snapshots.html @@ -5,7 +5,7 @@Snapshot Views - + diff --git a/Ghidra/Features/Base/src/main/help/help/topics/StackEditor/StackEditor.html b/Ghidra/Features/Base/src/main/help/help/topics/StackEditor/StackEditor.html index fd307d996c..039df8e949 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/StackEditor/StackEditor.html +++ b/Ghidra/Features/Base/src/main/help/help/topics/StackEditor/StackEditor.html @@ -6,7 +6,7 @@ "HTML Tidy for Java (vers. 2009-12-01), see jtidy.sourceforge.net">Stack Frame Editor - + @@ -35,7 +35,7 @@ to an array.
-Pull Down Menu: The icon at the top of +
Pull Down Menu: The icon at the top of the editor provides additional editor actions. These are: show the category path of a component's data type, edit a component's data type, edit the fields of a component, and apply a cycle group or favorite.
@@ -72,7 +72,7 @@Closing the Editor
-Select the Close dockable component icon
in the +
Select the Close dockable component icon
@@ -313,7 +313,7 @@in the toolbar to exit from the editor. If you have unsaved changes to your stack frame, a dialog will ask if you want to save the changes.
For example, Float*[5] is an array with five elements where each element is a pointer to a Float.
-
Pointers to arrays are not allowed. In other +
Pointers to arrays are not allowed. In other words it is not legal for the * to be to the right of the array dimensions.
If the data type can be various sizes, like a Pointer or CString, then the user is @@ -363,7 +363,7 @@ with the Byte cycle group. This group is Byte, Word, DWord, and QWord.
-@@ -393,7 +393,7 @@ cycling the data type to a larger sized data type. Likewise, cycling to a smaller data type will add Undefined bytes after the component being cycled.
A single row of the component table must be +
A single row of the component table must be selected to cycle a data type.
Cycle groups can also be applied from +
Cycle groups can also be applied from the component table's popup menu under Cycle.
-@@ -485,7 +485,7 @@ of Changing a Component's Size)
When a data type is dropped on a pointer +
-
When a data type is dropped on a pointer component, the component becomes a pointer of that data type instead of simply being replaced by that data type. For example, dropping a Byte on a Pointer results in a Byte*, which is a pointer to a Byte. Drag and Drop is discussed further in Creating a @@ -424,11 +424,11 @@ Therefore, individual favorites are only enabled when they can be applied (i.e. they fit at the selection and the selection is a single table row).
When a favorite data type is applied to a pointer +
-
When a favorite data type is applied to a pointer component, the component becomes a pointer of that data type instead of simply being replaced by that data type.
If you right mouse click on a component +
@@ -454,7 +454,7 @@ offset on the stack.
If you right mouse click on a component where there is no selection, the selection becomes a single component selection containing that component and the popup menu will appear.
-
For information about drag and drop with +
For information about drag and drop with pointers, see Drag and Drop Basics.
Favorites
@@ -462,7 +462,7 @@Right mouse click on the empty row at the end of the table and pull right to see the Favorites. Select the favorite from the popup and it is added as the last component.
-
For information about Pointers as a Favorite, see +
For information about Pointers as a Favorite, see Favorites Basics.
-
For information about drag and drop with +
For information about drag and drop with pointers, see Drag and Drop Basics.
Single Component Selected
-
If you right mouse click on a +
@@ -503,7 +503,7 @@ component will be enabled. (see Affect of Changing a Component's Size) -
If you right mouse click on a component where there is no selection, the selection becomes a single component selection containing that component and the popup menu will appear.
For information about Pointers as a Favorite, +
For information about Pointers as a Favorite, see Favorites Basics.
-
@@ -315,7 +315,7 @@ tool is launched and has the Program opened. -- From the tool's menu select Edit
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/SymbolTablePlugin/symbol_references.htm b/Ghidra/Features/Base/src/main/help/help/topics/SymbolTablePlugin/symbol_references.htm index 480ff69ede..c868ef03cd 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/SymbolTablePlugin/symbol_references.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/SymbolTablePlugin/symbol_references.htm @@ -6,7 +6,7 @@ "HTML Tidy for Java (vers. 2009-12-01), see jtidy.sourceforge.net">From the tool's menu select Edit
Tool Options... which displays the Tool Options Dialog.
Symbol References - + @@ -23,7 +23,7 @@@@ -274,7 +274,7 @@ click and select the Cut option; select a destination symbol, right mouse click and select the Paste option. -
- From the menu-bar of a tool, select Window
Symbol + "font-weight: bold;">Window
Symbol References…
- From the tool-bar of a tool, click on the
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/SymbolTablePlugin/symbol_table.htm b/Ghidra/Features/Base/src/main/help/help/topics/SymbolTablePlugin/symbol_table.htm index 806246184f..c730126b88 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/SymbolTablePlugin/symbol_table.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/SymbolTablePlugin/symbol_table.htm @@ -6,7 +6,7 @@ "HTML Tidy for Java (vers. 2009-12-01), see jtidy.sourceforge.net">
Symbol Table - + @@ -20,7 +20,7 @@Displaying the Symbol Table component
-
- From the menu-bar of a tool, select Window
Symbol +
- From the menu-bar of a tool, select Window
Symbol Table
- From the tool-bar of a tool, click on the
@@ -79,18 +79,18 @@button
option. Enter the new name in the cell editor in the tree.-
You can sort the table on any column by clicking on +
You can sort the table on any column by clicking on the column header. The column can be sorted in ascending or descending order.
--
+
Sorting a column in the symbol table when the program has a large number of symbols can be slow. If you do not need sorting, then you can control-click the sorted column to remove the sort.
The colors for bad +
The colors for bad references, entry points, dead code, offcut code, function names, local symbols,
-
+
Filtering the symbol table when the program has a large number of symbols can be slow. When only filtering on the symbol name, via the checkbox above, the overall filtering is considerably faster. @@ -150,7 +150,7 @@
-+
Notes on deleting a symbol:
Notes on deleting a symbol:
- You can only delete a default symbol when it has zero (0) references.
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/SymbolTreePlugin/SymbolTree.htm b/Ghidra/Features/Base/src/main/help/help/topics/SymbolTreePlugin/SymbolTree.htm index bd10023bc7..479c4d1115 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/SymbolTreePlugin/SymbolTree.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/SymbolTreePlugin/SymbolTree.htm @@ -9,7 +9,7 @@Symbol Tree - + @@ -21,7 +21,7 @@To display the Symbol Tree, select the icon
+ "help/shared/arrow.gif">on the tool bar, OR select the option Window
![]()
Symbol Tree.
Symbol Tree.
@@ -92,7 +92,7 @@ speeding up the bulk operation as it will no longer have to keep updating the nodes in the tree.
-
The Symbol Tree does not show +
The Symbol Tree does not show dynamic symbols, i.e., those symbols that are created due to references. Use the Symbol Table display to view dynamic symbols; turn off the Rename
-
Category names and group nodes are not editable; +
Category names and group nodes are not editable; they exist only for organizational purposes.
+
Other points of interest on moving symbols:
Other points of interest on moving symbols:
- Parameters and stack variables within a function cannot be moved.
@@ -351,7 +351,7 @@To include namespace names in the display of labels and names within the Code Browser, - select Edit
Tool Options... from the + select Edit
Tool Options... from the tool menu. This will display the Options dialog. Within the Options tree, navigate to the folder node Listing Fields. The Display Namespace option in the right-hand panel should be checked to diff --git a/Ghidra/Features/Base/src/main/help/help/topics/Tables/GhidraTableHeaders.html b/Ghidra/Features/Base/src/main/help/help/topics/Tables/GhidraTableHeaders.html index 4a11d1824c..8d4ae5f55f 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/Tables/GhidraTableHeaders.html +++ b/Ghidra/Features/Base/src/main/help/help/topics/Tables/GhidraTableHeaders.html @@ -4,7 +4,7 @@
Ghidra Table Headers - + @@ -26,7 +26,7 @@-
In addition to table header actions, many +
In addition to table header actions, many tables support a common set of actions when right-clicking in the body of the table, such as: @@ -49,7 +49,7 @@
-
+
@@ -80,7 +80,7 @@ With multiple sorted columns, you may change the direction of any individual sort column by left-clicking that column.
If you click a table column header and no sorting takes place, then that particular table does not support sorting on columns.
-
+
To remove a sort column from a multiple column sort, Ctrl-left-click that column. This will even work when only one column is sorted, thus effectively disabling sorting for the table. Disabling sorting can greatly increase the @@ -91,7 +91,7 @@
-@@ -132,7 +132,7 @@
+
It is possible to cancel some tables while they are loading or sorting their data. If this happens, you can trigger a reload of the data by sorting on one of the columns. @@ -180,7 +180,7 @@
-
This action uses the current +
This action uses the current table selection when deciding what to export. If no row is selected, then no data is exported. To select all rows, use the Select All action or press Ctrl-A on the keyboard. diff --git a/Ghidra/Features/Base/src/main/help/help/topics/Tool/Configure_Tool.htm b/Ghidra/Features/Base/src/main/help/help/topics/Tool/Configure_Tool.htm index 884249c031..0365f3887c 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/Tool/Configure_Tool.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/Tool/Configure_Tool.htm @@ -7,7 +7,7 @@
Configure Tool - + @@ -16,7 +16,7 @@The Configure Tool dialog allows you to add/remove plugin packages or individual Plugins from a tool. To display the Configure Tool dialog, select File
@@ -38,7 +38,7 @@Configure....This dialog is also displayed when you Configure....This dialog is also displayed when you create a new tool.
--
+
The Ghidra Project Window's Configure @@ -68,7 +68,7 @@
The Experimental package can't be +
The Experimental package can't be added as a package. Experimental plugins must be added individually.
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/Tool/Ghidra_Tool_Administration.htm b/Ghidra/Features/Base/src/main/help/help/topics/Tool/Ghidra_Tool_Administration.htm index a9a17c2524..30e9c90598 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/Tool/Ghidra_Tool_Administration.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/Tool/Ghidra_Tool_Administration.htm @@ -7,7 +7,7 @@
Ghidra Tool Administration - + @@ -30,7 +30,7 @@ already loaded. This tool may be re-imported into your tool chest at any time. If the tools exist in your tool chest, then a one-up number is assigned to the name to make them unique. (You will see the name in the tool tip, and in the ToolsRun menu.) + "4">Tools
Run menu.) Any tool that you create and add to your Tool Chest is always available to your active Project. However, you should save the tool if you plan to use it for other Ghidra projects. @@ -80,7 +80,7 @@
- From the Ghidra Project Window, select the Tools
+ src="help/shared/arrow.gif"> Create Tool... option.Create Tool... option.
- A new "empty" tool is displayed; the Configure dialog is displayed.
@@ -121,7 +121,7 @@
- From the tool, select File
+ "help/shared/arrow.gif"> Save ToolSave Tool
- From the tool, select File
+ "help/shared/arrow.gif"> Save Tool As...Save Tool As...
- Enter a new tool name (the current tool name is shown in the Tool Name field by default).
@@ -166,7 +166,7 @@-
- Select File
Select File
Export Tool; a file chooser is displayed.
- Select a folder and name for the exported file.
@@ -191,7 +191,7 @@The Status area on the Ghidra Project Window indicates whether the export was successful.
-
If the tool contains Plugins that are not part of +
-
If the tool contains Plugins that are not part of Ghidra (i.e., you wrote new Plugins), you will have to distribute a jar file containing the class files for the Plugins along with the XML file. The recipient can then just place the jar file in one of the
This action is only available from within a running tool via - File
- Export
+ File
+ Export
Export Default Tool... @@ -234,7 +234,7 @@
area on the Ghidra Project Window.
- From the Ghidra Project Window, select Tools
+ "help/shared/arrow.gif"> Import Tool to Tool Chest...Import Tool to Tool Chest...
- Select a file with a ".tool" or ".obj" extension.
@@ -246,7 +246,7 @@ "help/topics/FrontEndPlugin/Ghidra_Front_end.htm#StatusWindow">Status
If the tool that you are importing contains Plugins +
If the tool that you are importing contains Plugins that are not part of Ghidra, you must have the jar file containing the class files for the Plugins. Place the jar file in one of the locations where Ghidra @@ -266,7 +266,7 @@
- From the Ghidra Project - Window, select Tools
+ Window, select Tools
Import Default....
- A dialog is displayed that allows you to selectively import default @@ -301,8 +301,8 @@ OR
- From the Ghidra Project - Window, select Tools
- Run Tool
, select Tools
+ Run Tool
<tool name>
If you bring up more than one instance of the same +
If you bring up more than one instance of the same tool, the window title shows a one-up number appended to the tool name, e.g., CodeBrowser(2).
To change the associated tool for any file type, select - Tools
@@ -401,7 +401,7 @@ default setting. -Set Tool Associations... menu. This will + Tools
Set Tool Associations... menu. This will open the Set Tool Associations Dialog
Ghidra uses tool names to store tool +
Ghidra uses tool names to store tool associations. This can lead to odd behavior if you rename a custom tool to be the name of a default tool. If your tools exhibit odd behavior, such as being unable to open a file that is considered to be a default type, then you can always delete your @@ -418,7 +418,7 @@ "help/topics/FrontEndPlugin/Ghidra_Front_end.htm">Ghidra Project Window),
-
- Select the File
Close Tool option, +
- Select the File
Close Tool option, OR
- Right mouse click on the icon for the running tool and choose the Close @@ -458,12 +458,12 @@
-@@ -492,8 +492,8 @@
This dialog is displayed when the last +
-
This dialog is displayed when the last tool is closed that has this Program opened. So if you have two tools running with the same Program opened and you close one tool, the dialog will not be displayed until you close the second tool.
You cannot close a tool while a background +
You cannot close a tool while a background process is running, e.g., Disassembly or Clear. You must first stop the operation, then close the tool.
- From the Ghidra Project Window, Select the Tools
Delete Tool
<tool name> + "help/shared/arrow.gif"> Delete Tool
<tool name> OR,
- Right mouse click on the icon in the Tool Chest and select the A dialog to confirm your delete request is displayed; choose the Delete button to remove the tool from your Tool Chest. -
You can always get your default tools back into +
You can always get your default tools back into your Tool Chest by selecting the Import Default Tools to Tool Chestoption. However, deleting your own custom tool from your diff --git a/Ghidra/Features/Base/src/main/help/help/topics/Tool/ShowLog.htm b/Ghidra/Features/Base/src/main/help/help/topics/Tool/ShowLog.htm index 95190facf5..9f8cba3f1d 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/Tool/ShowLog.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/Tool/ShowLog.htm @@ -7,7 +7,7 @@
Show Log - + diff --git a/Ghidra/Features/Base/src/main/help/help/topics/Tool/Tip_Of_The_Day.htm b/Ghidra/Features/Base/src/main/help/help/topics/Tool/Tip_Of_The_Day.htm index 01b0ffe5ff..b7592c0a0f 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/Tool/Tip_Of_The_Day.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/Tool/Tip_Of_The_Day.htm @@ -7,7 +7,7 @@Tip of the Day - + @@ -17,7 +17,7 @@ The Tip of the Day action brings up a dialog that displays various tips for using Ghidra.-
+
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/Tool/ToolOptions_Dialog.htm b/Ghidra/Features/Base/src/main/help/help/topics/Tool/ToolOptions_Dialog.htm index 4719feaa67..e65a69aed7 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/Tool/ToolOptions_Dialog.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/Tool/ToolOptions_Dialog.htm @@ -7,7 +7,7 @@Tool Options Dialog - + @@ -23,7 +23,7 @@from the tool menu.-
The Tool Options dialog has a filter text field +
@@ -31,7 +31,7 @@
The Tool Options dialog has a filter text field that can be used to quickly find options relating to a keyword. Any options names or descriptions that contain the keyword text will be displayed.
To display the Options dialog, select Edit
+ "help/shared/arrow.gif">Tool Options...Tool Options... from the tool menu.
Restoring Default Settings
@@ -61,7 +61,7 @@ using the keyboard. Below we describe the Key Bindings options editor.--
Not all key bindings are changeable +
Not all key bindings are changeable via the tool options. For example, the following keys cannot be changed:
- @@ -79,7 +79,7 @@
-@@ -117,7 +117,7 @@
You can also change key bindings +
You can also change key bindings from within Ghidra by pressing F4 while the mouse is over any toolbar icon or menu item. Click here for more info.
- Select Edit
Tool Options... from the main + "help/shared/arrow.gif"> Tool Options... from the main menu.
- Select the Key Bindings node in the options tree.
@@ -139,7 +139,7 @@
When a key is mapped to multiple +
@@ -155,7 +155,7 @@
When a key is mapped to multiple actions, and more than one of these actions is valid in the current context (i.e., the action is enabled), then a dialog is displayed for you to choose what action you want to perform.
- Select Edit
Tool Options... from the main + "help/shared/arrow.gif"> Tool Options... from the main menu.
- Select the Key Bindings node in the options tree.
@@ -178,7 +178,7 @@-
- Select Edit
Tool Options... from the main + "help/shared/arrow.gif"> Tool Options... from the main menu.
- Select the Key Bindings node in the options tree.
@@ -194,14 +194,14 @@- Press OK to import the key bindings.
Importing key bindings will override +
-
Importing key bindings will override your current key bindings settings. It is suggested that you export your key bindings before you import so that you may revert to your previous settings if necessary.
After importing you must save your +
After importing you must save your tool (File
Save Tool) if you want you changes + "help/shared/arrow.gif"> Save Tool) if you want you changes to persist between tool invocations.
@@ -230,7 +230,7 @@ on the toolbar. -File
+ alt="" border="0" src="help/shared/arrow.gif"> CloseClose
Data
Cycle
Cycle: Float, + alt="" border="0" src="help/shared/arrow.gif"> Cycle
Cycle: Float, Double
This menu item or icon will be +
@@ -259,7 +259,7 @@
This menu item or icon will be associated with the Key Binding. When the Key Binding key is used, this menu item or action associated with the icon will be applied.
- Select Edit
Options... from the Tool + "help/shared/arrow.gif"> Options... from the Tool menu.
- Select the Key Bindings node in the options tree.
@@ -368,7 +368,7 @@To change Tool Options,
-
- From the tool, select Edit
+
- From the tool, select Edit
Tool Options...
- Select the Tool node in the options tree.
@@ -437,7 +437,7 @@ less visually straining.-
As a prototype +
As a prototype feature, this feature has many known issues, including:
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/Tool/Undo_Redo.htm b/Ghidra/Features/Base/src/main/help/help/topics/Tool/Undo_Redo.htm index f00a5b7777..58bf49d20e 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/Tool/Undo_Redo.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/Tool/Undo_Redo.htm @@ -7,7 +7,7 @@
Undo/Redo - + @@ -23,15 +23,15 @@-
- To undo an edit operation, select Edit
Undo from the main menu or press the
+ "help/shared/arrow.gif">Undo from the main menu or press the
button on the tool bar.
- To redo an edit operation, select Edit
Redo from the main menu or press the
+ "help/shared/arrow.gif">Redo from the main menu or press the
button on the tool bar.
Hovering the mouse over the
+
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/TranslateStringsPlugin/TranslateStringsPlugin.htm b/Ghidra/Features/Base/src/main/help/help/topics/TranslateStringsPlugin/TranslateStringsPlugin.htm index 35bd22a438..ff66b501f9 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/TranslateStringsPlugin/TranslateStringsPlugin.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/TranslateStringsPlugin/TranslateStringsPlugin.htm @@ -7,7 +7,7 @@
Hovering the mouse over the
button will display the name of the edit operation that would be "undone". Similarly, hovering the mouse over the
button will display the name of the edit operation that would be "redone".
Translate Strings - + @@ -19,7 +19,7 @@This plugin doesn't perform any natural language translation by itself. The user must install string translation services that do the actual translation. Extensions to Ghidra are installed via the File -
Install Extensions... +
Install Extensions... menu.
When a string has been translated, the translated value will be shown in place of @@ -29,11 +29,11 @@
Translate Menu
-@@ -43,12 +43,12 @@The Data
+
The Data
Translate menu will appear in the popup menu of the Listing window when a string or string-like datatype is selected, and in the Defined Strings table (found under Window -
Defined Strings). +
Defined Strings).
Allows the user to specify a translated string value manually, by typing a value in a pop-up dialog.
Select an existing string instance in the Listing window and right click - and select Data
- Translate
+ and select Data
+ Translate
Manual to enter a manual translation.
In the Defined Strings table select a row or a range of rows and right click and select Translate -
+Manual.
Manual.
Clear translated values
@@ -57,12 +57,12 @@The selected string instances will default back to their true value.
Select an existing string instance in the Listing window and right click and select Data -
Translate -
Clear translated values +
Translate +
Clear translated values to clear the translated value.
In the Defined Strings table select a row or a range of rows and right click and select Translate -
+Clear translated values.
Clear translated values.
Toggle show translated values
@@ -70,12 +70,12 @@Toggles the display of the translated string with the original value.
Select an existing string instance in the Listing window and right click and select Data -
Translate -
Toggle show translated values +
Translate +
Toggle show translated values to toggle the display of the translated value of each of the strings.
In the Defined Strings table select a row or a range of rows and right click and select Translate -
+Toggle show translated values.
Toggle show translated values.
Once installed, the translation service plugins, like all plugins, can be - found in the File
+ found in the File
Configure... window and must be enabled before they will - appear in the Data
+ appear in the Data
Translate menu.
Each string translation services will operate in a different way, please consult diff --git a/Ghidra/Features/Base/src/main/help/help/topics/Trees/GhidraTreeFilter.html b/Ghidra/Features/Base/src/main/help/help/topics/Trees/GhidraTreeFilter.html index 8a69d02136..d5d0114271 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/Trees/GhidraTreeFilter.html +++ b/Ghidra/Features/Base/src/main/help/help/topics/Trees/GhidraTreeFilter.html @@ -7,7 +7,7 @@
Ghidra Tree Filters - + @@ -35,7 +35,7 @@ exited Ghidra.-
Some trees use more than the node's name for +
@@ -100,7 +100,7 @@
Some trees use more than the node's name for filter purposes. So, it may appear that the filter is matching more than it should, when actually it is also using some other related text for the match, such as a node description.
-Multiple words in the text field +
Multiple words in the text field are treated as separate patterns and ALL patterns must match for the node or row to be accepted. For example, if the text field contained "foo bar", then the table will match if at least one column contains a "foo" and at least one column @@ -181,7 +181,7 @@ evaluated. If the text is split, the Filter Strategy and associated options -- case sensitivity, globbing, and inversion -- are applied to each term. -
When 'Regular Expression' is selected as the +
@@ -229,7 +229,7 @@ overall acceptance by the filter.
When 'Regular Expression' is selected as the filter strategy, these options are disabled. Regular expressions are flexible enough to match multiple terms and may contain many of the characters otherwise used for convenient text splitting.
-
Using delimiters that otherwise have a +
@@ -277,7 +277,7 @@
Using delimiters that otherwise have a logical definition -- '
+
', or '|
', for example -- have no semantic value in this application; they are simply tokens for input string processing.-@@ -336,14 +336,14 @@
+
Some columns in tables are not filterable via the filter text field below the table. For example, many numeric columns are ignored by the text filter because they can be slow to calculate and they are better filtered by using a range filter, as is available diff --git a/Ghidra/Features/Base/src/main/help/help/topics/ValidateProgram/ValidateProgram.html b/Ghidra/Features/Base/src/main/help/help/topics/ValidateProgram/ValidateProgram.html index 877e6d052f..18a27e904f 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/ValidateProgram/ValidateProgram.html +++ b/Ghidra/Features/Base/src/main/help/help/topics/ValidateProgram/ValidateProgram.html @@ -6,7 +6,7 @@ "HTML Tidy for Java (vers. 2009-12-01), see jtidy.sourceforge.net">
Validate Program - + @@ -27,7 +27,7 @@You can launch the Validate Program window by using the Analysis
+ "help/shared/arrow.gif" alt="->"> Validate {Current Program} menu item.Validate {Current Program} menu item.
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/VersionControl/project_repository.htm b/Ghidra/Features/Base/src/main/help/help/topics/VersionControl/project_repository.htm index 4458e8aad3..d3e5d0c5dd 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/VersionControl/project_repository.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/VersionControl/project_repository.htm @@ -10,7 +10,7 @@@@ -185,7 +185,7 @@ either click on the check in iconProject Repository - + @@ -55,7 +55,7 @@ checked out "disappear" from the Ghidra Project Window, as they are unavailable. Private files remain intact and are not affected by the server connection. -
You are authenticated only once per +
@@ -133,7 +133,7 @@ has not been added to version control (note the plain icon and no version information). It is considered to be a "private" file. Private files are never visible to other users. -
You are authenticated only once per Ghidra session; so if you open other project repositories managed by the same Ghidra Server, you will be prompted only once for a password, as required.
A normal checkout is indicated by a +
-
A normal checkout is indicated by a checkmark with a green background
, while an exclusive checkout is is indicated by checkmark with a blue background
. A checkmark with a red background
![]()
The exclusive lock is implied for a +
The exclusive lock is implied for a non-shared project repository.
on the tool bar, or right mouse click and select the Check In... option. -
@@ -240,7 +240,7 @@
The
The
icon is also available from the tool where you have the file opened.
If the checkbox on the dialog is selected, then a private file is created with a ".keep" extension on the filename. The checkbox is selected by default.
-
If you have the file +
@@ -276,11 +276,11 @@ option is only enabled when the latest version number on the server is greater than the version that you checked out. -
If you have the file open in the Code Browser when you attempt to undo the check out, you will get an error dialog indicating that the file is in use. You must close the file first, then undo check out.
-
The
The
icon is also available from the tool where you have the file opened.
The update action is not applicable +
The update action is not applicable in a non-shared project repository.
To view any version in the history, select the version, right mouse click and choose the - Open With
-<tool> where + Open With
<tool> where <tool> denotes a menu item for each tool in your tool chest. The version is read only and is opened in the selected tool. The filename shown in the title of the tool indicates the version number, e.g., "SharedProgram.exe@10 [Read Only]" indicates you are viewing version 10 of SharedProgram.exe. You can make changes to the file, but you must save it to a new name.
Other ways to open a specific +
Other ways to open a specific version in a tool are:
@@ -354,7 +354,7 @@ "help/topics/Tool/Ghidra_Tool_Administration.htm#Set_Tool_Associations">default tool specified, double click on the version that you want to open. -
-- Choose the File
Choose the File
Open... option; the Open Program dialog is displayed; from this dialog you can select a version to diff --git a/Ghidra/Features/Base/src/main/help/help/topics/ViewStringsPlugin/ViewStringsPlugin.htm b/Ghidra/Features/Base/src/main/help/help/topics/ViewStringsPlugin/ViewStringsPlugin.htm index 6cdd458b57..cf10906e2a 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/ViewStringsPlugin/ViewStringsPlugin.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/ViewStringsPlugin/ViewStringsPlugin.htm @@ -7,7 +7,7 @@
View Defined Strings - + @@ -36,7 +36,7 @@ String Settings for formatting settings) or the translated value of the string. Double click in this column to change the string's representation into a value of your choice. This is the - same as using the Translate+ same as using the Translate
Manual menu item.
- Data Type - mnemonic or data type for the string type.
- Is Ascii - boolean flag that indicates the string has non-ASCII characters.
@@ -72,7 +72,7 @@- Select the
button on the tool bar.
The refresh icon on the toolbar will +
The refresh icon on the toolbar will appear grayed-out by default. If potential changes to string data are detected, the icon will become green in color. The toolbar button can be pressed in either state for a full table reload. diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/listingpanel/ListingCodeComparisonOptions.java b/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/listingpanel/ListingCodeComparisonOptions.java index b86f766876..ad0aa22cad 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/listingpanel/ListingCodeComparisonOptions.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/listingpanel/ListingCodeComparisonOptions.java @@ -104,19 +104,23 @@ public class ListingCodeComparisonOptions { HelpLocation help = new HelpLocation(HELP_TOPIC, "Options"); options.setOptionsHelpLocation(help); - options.registerOption(BYTE_DIFFS_COLOR_KEY, DEFAULT_BYTE_DIFFS_COLOR, help, - DEFAULT_BYTE_DIFFS_BACKGROUND_COLOR_DESCRIPTION); + options.registerThemeColorBinding(BYTE_DIFFS_COLOR_KEY, "color.bg.listing.comparison.bytes", + help, DEFAULT_BYTE_DIFFS_BACKGROUND_COLOR_DESCRIPTION); - options.registerOption(MNEMONIC_DIFFS_COLOR_KEY, DEFAULT_MNEMONIC_DIFFS_COLOR, help, - DEFAULT_MNEMONIC_DIFFS_BACKGROUND_COLOR_DESCRIPTION); + options.registerThemeColorBinding(MNEMONIC_DIFFS_COLOR_KEY, + "color.bg.listing.comparison.mnemonic", + help, DEFAULT_MNEMONIC_DIFFS_BACKGROUND_COLOR_DESCRIPTION); - options.registerOption(OPERAND_DIFFS_COLOR_KEY, DEFAULT_OPERAND_DIFFS_COLOR, help, + options.registerThemeColorBinding(OPERAND_DIFFS_COLOR_KEY, + "color.bg.listing.comparison.operand", help, DEFAULT_OPERAND_DIFFS_BACKGROUND_COLOR_DESCRIPTION); - options.registerOption(DIFF_CODE_UNITS_COLOR_KEY, DEFAULT_DIFF_CODE_UNITS_COLOR, help, + options.registerThemeColorBinding(DIFF_CODE_UNITS_COLOR_KEY, + "color.bg.listing.comparison.code.units.diff", help, DEFAULT_DIFF_CODE_UNITS_BACKGROUND_COLOR_DESCRIPTION); - options.registerOption(UNMATCHED_CODE_UNITS_COLOR_KEY, DEFAULT_UNMATCHED_CODE_UNITS_COLOR, + options.registerThemeColorBinding(UNMATCHED_CODE_UNITS_COLOR_KEY, + "color.bg.listing.comparison.code.units.unmatched", help, DEFAULT_UNMATCHED_CODE_UNITS_BACKGROUND_COLOR_DESCRIPTION); } diff --git a/Ghidra/Features/BytePatterns/certification.manifest b/Ghidra/Features/BytePatterns/certification.manifest index 5d7f4c0f6d..99ac789f9e 100644 --- a/Ghidra/Features/BytePatterns/certification.manifest +++ b/Ghidra/Features/BytePatterns/certification.manifest @@ -6,16 +6,6 @@ data/test/FileBitPatternInfoReaderTestFile1.xml||GHIDRA||||END| data/test/FileBitPatternInfoReaderTestFile2.xml||GHIDRA||||END| ghidra_scripts/DumpFunctionPatternInfoScript.properties||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/FunctionBitPatternsExplorerPlugin/FunctionBitPatternsExplorerPlugin.htm||GHIDRA||||END| src/main/help/help/topics/FunctionBitPatternsExplorerPlugin/images/DataGatheringParams.png||GHIDRA||||END| src/main/help/help/topics/FunctionBitPatternsExplorerPlugin/images/TabbedView.png||GHIDRA||||END| diff --git a/Ghidra/Features/BytePatterns/src/main/help/help/shared/Frontpage.css b/Ghidra/Features/BytePatterns/src/main/help/help/shared/Frontpage.css deleted file mode 100644 index 557c37ca39..0000000000 --- a/Ghidra/Features/BytePatterns/src/main/help/help/shared/Frontpage.css +++ /dev/null @@ -1,64 +0,0 @@ -/* ### - * 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-like formatting for things such as file system paths and proper names of classes, - methods, etc. To apply this to a file path, use this syntax: -
...
-*/ -code { color: black; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } -code.path { color: #4682B4; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } diff --git a/Ghidra/Features/BytePatterns/src/main/help/help/shared/arrow.gif b/Ghidra/Features/BytePatterns/src/main/help/help/shared/arrow.gif deleted file mode 100644 index bcb3db7057..0000000000 Binary files a/Ghidra/Features/BytePatterns/src/main/help/help/shared/arrow.gif and /dev/null differ diff --git a/Ghidra/Features/BytePatterns/src/main/help/help/shared/close16.gif b/Ghidra/Features/BytePatterns/src/main/help/help/shared/close16.gif deleted file mode 100644 index f523864639..0000000000 Binary files a/Ghidra/Features/BytePatterns/src/main/help/help/shared/close16.gif and /dev/null differ diff --git a/Ghidra/Features/BytePatterns/src/main/help/help/shared/note.png b/Ghidra/Features/BytePatterns/src/main/help/help/shared/note.png deleted file mode 100644 index 51e1c8f8c1..0000000000 Binary files a/Ghidra/Features/BytePatterns/src/main/help/help/shared/note.png and /dev/null differ diff --git a/Ghidra/Features/BytePatterns/src/main/help/help/shared/note.yellow.png b/Ghidra/Features/BytePatterns/src/main/help/help/shared/note.yellow.png deleted file mode 100644 index f8ab6489f2..0000000000 Binary files a/Ghidra/Features/BytePatterns/src/main/help/help/shared/note.yellow.png and /dev/null differ diff --git a/Ghidra/Features/BytePatterns/src/main/help/help/shared/tip.png b/Ghidra/Features/BytePatterns/src/main/help/help/shared/tip.png deleted file mode 100644 index 209f1d28c8..0000000000 Binary files a/Ghidra/Features/BytePatterns/src/main/help/help/shared/tip.png and /dev/null differ diff --git a/Ghidra/Features/BytePatterns/src/main/help/help/topics/FunctionBitPatternsExplorerPlugin/FunctionBitPatternsExplorerPlugin.htm b/Ghidra/Features/BytePatterns/src/main/help/help/topics/FunctionBitPatternsExplorerPlugin/FunctionBitPatternsExplorerPlugin.htm index 776b5f8328..4611186cd2 100644 --- a/Ghidra/Features/BytePatterns/src/main/help/help/topics/FunctionBitPatternsExplorerPlugin/FunctionBitPatternsExplorerPlugin.htm +++ b/Ghidra/Features/BytePatterns/src/main/help/help/topics/FunctionBitPatternsExplorerPlugin/FunctionBitPatternsExplorerPlugin.htm @@ -10,7 +10,7 @@Function Bit Patterns Explorer Plugin - + @@ -110,7 +110,7 @@-+
Recommended Parameters:
Reasonable starting values for the parameters controlling the number of instructions to be gathered are 3, 4, and 5. When setting the number of bytes to gather, it's reasonable to choose a value that can hold most of the corresponding instruction sequences. For diff --git a/Ghidra/Features/ByteViewer/certification.manifest b/Ghidra/Features/ByteViewer/certification.manifest index 636a55f1ae..108fc10ebf 100644 --- a/Ghidra/Features/ByteViewer/certification.manifest +++ b/Ghidra/Features/ByteViewer/certification.manifest @@ -5,11 +5,6 @@ Module.manifest||GHIDRA||||END| data/ExtensionPoint.manifest||GHIDRA||reviewed||END| data/byteviewer.theme.properties||GHIDRA||||END| src/main/help/help/TOC_Source.xml||GHIDRA||reviewed||END| -src/main/help/help/shared/arrow.gif||GHIDRA||reviewed||END| -src/main/help/help/shared/close16.gif||GHIDRA||reviewed||END| -src/main/help/help/shared/note.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0). Renamed from flag-green.png.|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). Renamed from flag-yellow.png.|END| -src/main/help/help/shared/tip.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0). Renamed from help-hint.png.|END| src/main/help/help/topics/ByteViewerPlugin/ByteViewerOptions.htm||GHIDRA||||END| src/main/help/help/topics/ByteViewerPlugin/The_Byte_Viewer.htm||GHIDRA||||END| src/main/help/help/topics/ByteViewerPlugin/images/ByteViewer.png||GHIDRA||||END| diff --git a/Ghidra/Features/ByteViewer/src/main/help/help/shared/Frontpage.css b/Ghidra/Features/ByteViewer/src/main/help/help/shared/Frontpage.css deleted file mode 100644 index 557c37ca39..0000000000 --- a/Ghidra/Features/ByteViewer/src/main/help/help/shared/Frontpage.css +++ /dev/null @@ -1,64 +0,0 @@ -/* ### - * 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-like formatting for things such as file system paths and proper names of classes, - methods, etc. To apply this to a file path, use this syntax: -
Recommended Parameters:
...
-*/ -code { color: black; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } -code.path { color: #4682B4; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } diff --git a/Ghidra/Features/ByteViewer/src/main/help/help/shared/arrow.gif b/Ghidra/Features/ByteViewer/src/main/help/help/shared/arrow.gif deleted file mode 100644 index bcb3db7057..0000000000 Binary files a/Ghidra/Features/ByteViewer/src/main/help/help/shared/arrow.gif and /dev/null differ diff --git a/Ghidra/Features/ByteViewer/src/main/help/help/shared/close16.gif b/Ghidra/Features/ByteViewer/src/main/help/help/shared/close16.gif deleted file mode 100644 index f523864639..0000000000 Binary files a/Ghidra/Features/ByteViewer/src/main/help/help/shared/close16.gif and /dev/null differ diff --git a/Ghidra/Features/ByteViewer/src/main/help/help/shared/note.png b/Ghidra/Features/ByteViewer/src/main/help/help/shared/note.png deleted file mode 100644 index 51e1c8f8c1..0000000000 Binary files a/Ghidra/Features/ByteViewer/src/main/help/help/shared/note.png and /dev/null differ diff --git a/Ghidra/Features/ByteViewer/src/main/help/help/shared/note.yellow.png b/Ghidra/Features/ByteViewer/src/main/help/help/shared/note.yellow.png deleted file mode 100644 index f8ab6489f2..0000000000 Binary files a/Ghidra/Features/ByteViewer/src/main/help/help/shared/note.yellow.png and /dev/null differ diff --git a/Ghidra/Features/ByteViewer/src/main/help/help/shared/tip.png b/Ghidra/Features/ByteViewer/src/main/help/help/shared/tip.png deleted file mode 100644 index 209f1d28c8..0000000000 Binary files a/Ghidra/Features/ByteViewer/src/main/help/help/shared/tip.png and /dev/null differ diff --git a/Ghidra/Features/ByteViewer/src/main/help/help/topics/ByteViewerPlugin/ByteViewerOptions.htm b/Ghidra/Features/ByteViewer/src/main/help/help/topics/ByteViewerPlugin/ByteViewerOptions.htm index f37444ca9a..94913e4636 100644 --- a/Ghidra/Features/ByteViewer/src/main/help/help/topics/ByteViewerPlugin/ByteViewerOptions.htm +++ b/Ghidra/Features/ByteViewer/src/main/help/help/topics/ByteViewerPlugin/ByteViewerOptions.htm @@ -3,7 +3,7 @@Configuration Options for the Byte Viewer - + @@ -13,7 +13,7 @@ tool has configurable items for colors and font. The Byte Viewer options determines the colors, font, and header configuration. To view the options, select - EditTool Options + Edit
Tool Options and then select the Byte Viewer node in the Options tree.
Colors and Font @@ -74,7 +74,7 @@
- From the Byte Viewer menu select Edit
+ src="help/shared/arrow.gif" width="18" height="14"> Tool Options.
- Select the Byte Viewer node; the panel of options appears to the right of the tree.
@@ -92,7 +92,7 @@
- From the Byte Viewer menu select Edit
+ src="help/shared/arrow.gif" width="18" height="14"> Options.Options.
- Select the Byte Viewer node; the panel of options appears to the right of the tree.
- Click on the Font button.
diff --git a/Ghidra/Features/ByteViewer/src/main/help/help/topics/ByteViewerPlugin/The_Byte_Viewer.htm b/Ghidra/Features/ByteViewer/src/main/help/help/topics/ByteViewerPlugin/The_Byte_Viewer.htm index 7967dec696..84a7a19bbf 100644 --- a/Ghidra/Features/ByteViewer/src/main/help/help/topics/ByteViewerPlugin/The_Byte_Viewer.htm +++ b/Ghidra/Features/ByteViewer/src/main/help/help/topics/ByteViewerPlugin/The_Byte_Viewer.htm @@ -3,7 +3,7 @@The Byte Viewer - + @@ -20,7 +20,7 @@To show the Byte Viewer, select the icon,
+ src="help/shared/arrow.gif" border="0" >Bytes: ... menu., on the Code Browser toolbar, OR, choose the Window
Bytes: ... menu.
The following paragraphs describe the Byte Viewer.
Data Formats
@@ -186,7 +186,7 @@ Edit toolbar buttonso that it no longer appears pushed-in. -
If +
-
If you have two Byte Viewers running, you can connect the two tools for the "Byte Block Edit" event so that when you make @@ -233,7 +233,7 @@ The offset is affected by both the alignment address and the bytes per line. The offset is displayed as a label below the scroll pane containing the views.
Sometimes +
Sometimes you might see a byte pattern such that you want all the bytes to line up in the first column of the display. Consider the cursor position in the image below. If you want to see the fourth column of @@ -254,7 +254,7 @@
The bytes per line indicates how many bytes are displayed in one line in a view. The default value is 16.
-
+
All formats shown must be able to support the new value. For example, since the HexInteger and Integer formats show bytes in groups of four, the bytes per line must be a multiple of four. diff --git a/Ghidra/Features/Decompiler/certification.manifest b/Ghidra/Features/Decompiler/certification.manifest index 5a59a8eaea..da903893ec 100644 --- a/Ghidra/Features/Decompiler/certification.manifest +++ b/Ghidra/Features/Decompiler/certification.manifest @@ -71,16 +71,6 @@ src/main/doc/sleigh_common.xsl||GHIDRA||||END| src/main/doc/sleigh_html.xsl||GHIDRA||||END| src/main/doc/sleigh_pdf.xsl||GHIDRA||||END| src/main/help/help/TOC_Source.xml||GHIDRA||||END| -src/main/help/help/shared/arrow.gif||GHIDRA||reviewed||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||||END| -src/main/help/help/shared/note.png||Oxygen Icons - LGPL 3.0||||END| -src/main/help/help/shared/note.yellow.png||Oxygen Icons - LGPL 3.0||||END| -src/main/help/help/shared/redo.png||GHIDRA||||END| -src/main/help/help/shared/tip.png||Oxygen Icons - LGPL 3.0||||END| -src/main/help/help/shared/undo.png||GHIDRA||||END| -src/main/help/help/shared/warning.png||Oxygen Icons - LGPL 3.0||||END| src/main/help/help/topics/DecompilePlugin/DecompilerAnnotations.html||GHIDRA||||END| src/main/help/help/topics/DecompilePlugin/DecompilerConcepts.html||GHIDRA||||END| src/main/help/help/topics/DecompilePlugin/DecompilerIntro.html||GHIDRA||||END| @@ -91,11 +81,4 @@ src/main/help/help/topics/DecompilePlugin/images/Defuse.png||GHIDRA||||END| src/main/help/help/topics/DecompilePlugin/images/EditFunctionSignature.png||GHIDRA||||END| src/main/help/help/topics/DecompilePlugin/images/ForwardSlice.png||GHIDRA||||END| src/main/help/help/topics/DecompilePlugin/images/Undefined.png||GHIDRA||||END| -src/main/help/help/topics/DecompilePlugin/images/camera-photo.png||Tango Icons - Public Domain|||Tango|END| -src/main/help/help/topics/DecompilePlugin/images/decompileFunction.gif||GHIDRA||reviewed||END| -src/main/help/help/topics/DecompilePlugin/images/document-properties.png||Tango Icons - Public Domain|||tango|END| -src/main/help/help/topics/DecompilePlugin/images/openFolder.png||Modified Nuvola Icons - LGPL 2.1||||END| -src/main/help/help/topics/DecompilePlugin/images/page_edit.png||FAMFAMFAM Icons - CC 2.5||||END| -src/main/help/help/topics/DecompilePlugin/images/page_white_copy.png||FAMFAMFAM Icons - CC 2.5||||END| -src/main/help/help/topics/DecompilePlugin/images/reload3.png||Crystal Clear Icons - LGPL 2.1||||END| src/main/resources/images/decompileFunction.gif||GHIDRA||reviewed||END| diff --git a/Ghidra/Features/Decompiler/src/main/help/help/shared/Frontpage.css b/Ghidra/Features/Decompiler/src/main/help/help/shared/Frontpage.css deleted file mode 100644 index 557c37ca39..0000000000 --- a/Ghidra/Features/Decompiler/src/main/help/help/shared/Frontpage.css +++ /dev/null @@ -1,64 +0,0 @@ -/* ### - * 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-like formatting for things such as file system paths and proper names of classes, - methods, etc. To apply this to a file path, use this syntax: -
...
-*/ -code { color: black; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } -code.path { color: #4682B4; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } diff --git a/Ghidra/Features/Decompiler/src/main/help/help/shared/arrow.gif b/Ghidra/Features/Decompiler/src/main/help/help/shared/arrow.gif deleted file mode 100644 index bcb3db7057..0000000000 Binary files a/Ghidra/Features/Decompiler/src/main/help/help/shared/arrow.gif and /dev/null differ diff --git a/Ghidra/Features/Decompiler/src/main/help/help/shared/close16.gif b/Ghidra/Features/Decompiler/src/main/help/help/shared/close16.gif deleted file mode 100644 index f523864639..0000000000 Binary files a/Ghidra/Features/Decompiler/src/main/help/help/shared/close16.gif and /dev/null differ diff --git a/Ghidra/Features/Decompiler/src/main/help/help/shared/note.png b/Ghidra/Features/Decompiler/src/main/help/help/shared/note.png deleted file mode 100644 index 51e1c8f8c1..0000000000 Binary files a/Ghidra/Features/Decompiler/src/main/help/help/shared/note.png and /dev/null differ diff --git a/Ghidra/Features/Decompiler/src/main/help/help/shared/note.yellow.png b/Ghidra/Features/Decompiler/src/main/help/help/shared/note.yellow.png deleted file mode 100644 index f8ab6489f2..0000000000 Binary files a/Ghidra/Features/Decompiler/src/main/help/help/shared/note.yellow.png and /dev/null differ diff --git a/Ghidra/Features/Decompiler/src/main/help/help/shared/tip.png b/Ghidra/Features/Decompiler/src/main/help/help/shared/tip.png deleted file mode 100644 index 209f1d28c8..0000000000 Binary files a/Ghidra/Features/Decompiler/src/main/help/help/shared/tip.png and /dev/null differ diff --git a/Ghidra/Features/Decompiler/src/main/help/help/topics/DecompilePlugin/DecompilerAnnotations.html b/Ghidra/Features/Decompiler/src/main/help/help/topics/DecompilePlugin/DecompilerAnnotations.html index ab1eb92658..1211eb4cb9 100644 --- a/Ghidra/Features/Decompiler/src/main/help/help/topics/DecompilePlugin/DecompilerAnnotations.html +++ b/Ghidra/Features/Decompiler/src/main/help/help/topics/DecompilePlugin/DecompilerAnnotations.html @@ -2,8 +2,8 @@Program Annotations Affecting the Decompiler - - + + @@ -89,7 +89,7 @@
- + @@ -260,7 +260,7 @@
- + @@ -889,7 +889,7 @@
- + @@ -943,7 +943,7 @@
- + @@ -1267,7 +1267,7 @@
- + @@ -1499,7 +1499,7 @@
- + diff --git a/Ghidra/Features/Decompiler/src/main/help/help/topics/DecompilePlugin/DecompilerConcepts.html b/Ghidra/Features/Decompiler/src/main/help/help/topics/DecompilePlugin/DecompilerConcepts.html index d1dae701b8..3887f5a74f 100644 --- a/Ghidra/Features/Decompiler/src/main/help/help/topics/DecompilePlugin/DecompilerConcepts.html +++ b/Ghidra/Features/Decompiler/src/main/help/help/topics/DecompilePlugin/DecompilerConcepts.html @@ -2,8 +2,8 @@ Decompiler Concepts - - + + @@ -182,7 +182,7 @@-Table . P-code Operations
+Table�.�P-code Operations
@@ -1312,7 +1312,7 @@
- + diff --git a/Ghidra/Features/Decompiler/src/main/help/help/topics/DecompilePlugin/DecompilerIntro.html b/Ghidra/Features/Decompiler/src/main/help/help/topics/DecompilePlugin/DecompilerIntro.html index d3ce6937f5..21c950fdbd 100644 --- a/Ghidra/Features/Decompiler/src/main/help/help/topics/DecompilePlugin/DecompilerIntro.html +++ b/Ghidra/Features/Decompiler/src/main/help/help/topics/DecompilePlugin/DecompilerIntro.html @@ -2,8 +2,8 @@ Decompiler - - + + @@ -64,7 +64,7 @@- Press the
- icon + �icon in the tool bar, or
- @@ -85,7 +85,7 @@
- + diff --git a/Ghidra/Features/Decompiler/src/main/help/help/topics/DecompilePlugin/DecompilerOptions.html b/Ghidra/Features/Decompiler/src/main/help/help/topics/DecompilePlugin/DecompilerOptions.html index c8fb1f1e28..4a93dfe117 100644 --- a/Ghidra/Features/Decompiler/src/main/help/help/topics/DecompilePlugin/DecompilerOptions.html +++ b/Ghidra/Features/Decompiler/src/main/help/help/topics/DecompilePlugin/DecompilerOptions.html @@ -2,8 +2,8 @@ Decompiler Options - - + + @@ -40,12 +40,12 @@- Analysis - lists Analysis Options that affect the Decompiler's transformation process. + �Analysis - lists Analysis Options that affect the Decompiler's transformation process.
- diff --git a/Ghidra/Features/Decompiler/src/main/help/help/topics/DecompilePlugin/DecompilerWindow.html b/Ghidra/Features/Decompiler/src/main/help/help/topics/DecompilePlugin/DecompilerWindow.html index 40eec57c0f..280d78476b 100644 --- a/Ghidra/Features/Decompiler/src/main/help/help/topics/DecompilePlugin/DecompilerWindow.html +++ b/Ghidra/Features/Decompiler/src/main/help/help/topics/DecompilePlugin/DecompilerWindow.html @@ -2,8 +2,8 @@
- Display - lists Display Options that affect the final presentation of Decompiler output. + �Display - lists Display Options that affect the final presentation of Decompiler output.
Decompiler Window - - + + @@ -18,7 +18,7 @@ function in the Code Browser, then select the- icon from the tool bar, or the + �icon from the tool bar, or the Decompile option from the Window menu in the tool. @@ -91,7 +91,7 @@ Initially pressing
- or selecting + �or selecting Decompile from the Window menu in the tool brings up the main window. The main window always displays the function at the current address within the Code Browser and follows as the user navigates @@ -131,7 +131,7 @@
- + @@ -153,7 +153,7 @@ Pressing the - icon + �icon in any Decompiler window's toolbar causes a Snapshot window to be created, which shows decompilation of the same function. Unlike the main window however, the Snapshot window @@ -240,7 +240,7 @@
- - button + �- button
Exports the decompiled result of the current function to a file. A file chooser @@ -265,7 +265,7 @@
- - button + �- button
Creates a new Snapshot window. The Snapshot window @@ -282,7 +282,7 @@
- - button + �- button
Triggers a re-decompilation of the current function displayed in the window. @@ -290,7 +290,7 @@
- + @@ -310,7 +310,7 @@
- - button + �- button
Copies the currently selected text in the Decompiler window to the clipboard. @@ -569,7 +569,7 @@
- + diff --git a/Ghidra/Features/FileFormats/certification.manifest b/Ghidra/Features/FileFormats/certification.manifest index ea2d4e851b..ecc99fcb57 100644 --- a/Ghidra/Features/FileFormats/certification.manifest +++ b/Ghidra/Features/FileFormats/certification.manifest @@ -14,7 +14,6 @@ data/android/eclipse-classpath||GHIDRA||reviewed||END| data/android/eclipse-project||GHIDRA||reviewed||END| data/crypto/README.txt||GHIDRA||||END| data/languages/apport.opinion||GHIDRA||||END| -data/languages/dumpfile.opinion||GHIDRA||||END| data/languages/minidump.opinion||GHIDRA||||END| data/languages/pagedump.opinion||GHIDRA||||END| src/main/help/help/TOC_Source.xml||GHIDRA||||END| diff --git a/Ghidra/Features/FileFormats/src/main/help/help/shared/Frontpage.css b/Ghidra/Features/FileFormats/src/main/help/help/shared/Frontpage.css deleted file mode 100644 index 557c37ca39..0000000000 --- a/Ghidra/Features/FileFormats/src/main/help/help/shared/Frontpage.css +++ /dev/null @@ -1,64 +0,0 @@ -/* ### - * 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-like formatting for things such as file system paths and proper names of classes, - methods, etc. To apply this to a file path, use this syntax: - ...
-*/ -code { color: black; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } -code.path { color: #4682B4; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } diff --git a/Ghidra/Features/FileFormats/src/main/help/help/topics/FileFormatsPlugin/FileFormats.html b/Ghidra/Features/FileFormats/src/main/help/help/topics/FileFormatsPlugin/FileFormats.html index 7eaa0e664d..cb581dd1c2 100644 --- a/Ghidra/Features/FileFormats/src/main/help/help/topics/FileFormatsPlugin/FileFormats.html +++ b/Ghidra/Features/FileFormats/src/main/help/help/topics/FileFormatsPlugin/FileFormats.html @@ -4,7 +4,7 @@ - +File Formats diff --git a/Ghidra/Features/FunctionGraph/certification.manifest b/Ghidra/Features/FunctionGraph/certification.manifest index 05bca5ea1c..ebddfd6db5 100644 --- a/Ghidra/Features/FunctionGraph/certification.manifest +++ b/Ghidra/Features/FunctionGraph/certification.manifest @@ -7,16 +7,6 @@ Module.manifest||GHIDRA||||END| data/ExtensionPoint.manifest||GHIDRA||||END| data/functiongraph.theme.properties||GHIDRA||||END| src/main/help/help/TOC_Source.xml||GHIDRA||||END| -src/main/help/help/shared/arrow.gif||GHIDRA||reviewed||END| -src/main/help/help/shared/close16.gif||GHIDRA||reviewed||END| -src/main/help/help/shared/menu16.gif||GHIDRA||reviewed||END| -src/main/help/help/shared/note-red.png||Oxygen Icons - LGPL 3.0|||renamed from flag-red.png|END| -src/main/help/help/shared/note.png||Oxygen Icons - LGPL 3.0|||renamed from flag-green.png|END| -src/main/help/help/shared/note.yellow.png||Oxygen Icons - LGPL 3.0|||renamed from flag-yellow.png|END| -src/main/help/help/shared/redo.png||GHIDRA||reviewed||END| -src/main/help/help/shared/tip.png||Oxygen Icons - LGPL 3.0|||renamed oxygen file ktip.png|END| -src/main/help/help/shared/undo.png||GHIDRA||reviewed||END| -src/main/help/help/shared/warning.png||Oxygen Icons - LGPL 3.0||||END| src/main/help/help/topics/FunctionGraphPlugin/Function_Graph.html||GHIDRA|||contains screenshots of various icons with IP and listing windows|END| src/main/help/help/topics/FunctionGraphPlugin/Function_Graph_Layouts.html||GHIDRA||||END| src/main/help/help/topics/FunctionGraphPlugin/images/FunctionGraphWindow.png||GHIDRA||||END| @@ -42,20 +32,7 @@ src/main/help/help/topics/FunctionGraphPlugin/images/FunctionGraph_Vertex_Action src/main/help/help/topics/FunctionGraphPlugin/images/FunctionGraph_Vertex_Action_XRefs.png||GHIDRA|||screenshot of silk|END| src/main/help/help/topics/FunctionGraphPlugin/images/FunctionGraph_Vertex_Drop_Shadow.png||GHIDRA||||END| src/main/help/help/topics/FunctionGraphPlugin/images/FunctionGraph_Vertex_Header.png||GHIDRA||reviewed||END| -src/main/help/help/topics/FunctionGraphPlugin/images/camera-photo.png||Tango Icons - Public Domain|||tango|END| -src/main/help/help/topics/FunctionGraphPlugin/images/edit-redo.png||Tango Icons - Public Domain|||tango|END| -src/main/help/help/topics/FunctionGraphPlugin/images/field.header.png||GHIDRA||reviewed|Custom icon|END| -src/main/help/help/topics/FunctionGraphPlugin/images/fullscreen_view.png||FAMFAMFAM Icons - CC 2.5|||famfamfam silk icon set|END| -src/main/help/help/topics/FunctionGraphPlugin/images/get-hot-new-stuff.png||Oxygen Icons - LGPL 3.0|||oxygen|END| -src/main/help/help/topics/FunctionGraphPlugin/images/house.png||FAMFAMFAM Icons - CC 2.5|||famfamfam silk icon set|END| -src/main/help/help/topics/FunctionGraphPlugin/images/network-wireless.png||Oxygen Icons - LGPL 3.0|||Oxygen|END| -src/main/help/help/topics/FunctionGraphPlugin/images/page_paste.png||FAMFAMFAM Icons - CC 2.5|||famfam|END| -src/main/help/help/topics/FunctionGraphPlugin/images/page_white_copy.png||FAMFAMFAM Icons - CC 2.5|||famfamfam silk icon set|END| -src/main/help/help/topics/FunctionGraphPlugin/images/shape_handles.png||FAMFAMFAM Icons - CC 2.5|||famfam|END| -src/main/help/help/topics/FunctionGraphPlugin/images/shape_square_add.png||FAMFAMFAM Icons - CC 2.5|||famfam|END| -src/main/help/help/topics/FunctionGraphPlugin/images/shape_ungroup.png||FAMFAMFAM Icons - CC 2.5|||famfam|END| src/main/resources/images/brick_link.png||FAMFAMFAM Icons - CC 2.5|||famfamfam silk icon set|END| -src/main/resources/images/edit-redo.png||Tango Icons - Public Domain|||tango|END| src/main/resources/images/fgblock.png||GHIDRA||reviewed||END| src/main/resources/images/fgin.png||GHIDRA||reviewed||END| src/main/resources/images/fginout.png||GHIDRA||reviewed||END| @@ -67,9 +44,7 @@ src/main/resources/images/fgrevblock.png||GHIDRA||reviewed||END| src/main/resources/images/field.header.png||GHIDRA||reviewed|Custom icon|END| src/main/resources/images/fullscreen_view.png||FAMFAMFAM Icons - CC 2.5||||END| src/main/resources/images/graph_view.png||FAMFAMFAM Icons - CC 2.5||||END| -src/main/resources/images/house.png||FAMFAMFAM Icons - CC 2.5||||END| src/main/resources/images/id.png||FAMFAMFAM Icons - CC 2.5||||END| -src/main/resources/images/listing_format.png||FAMFAMFAM Icons - CC 2.5||||END| src/main/resources/images/paintbrush.png||FAMFAMFAM Icons - CC 2.5||||END| src/main/resources/images/palette.png||FAMFAMFAM Icons - CC 2.5||||END| src/main/resources/images/shape_handles.png||FAMFAMFAM Icons - CC 2.5|||famfam|END| diff --git a/Ghidra/Features/FunctionGraph/src/main/help/help/shared/Frontpage.css b/Ghidra/Features/FunctionGraph/src/main/help/help/shared/Frontpage.css deleted file mode 100644 index 557c37ca39..0000000000 --- a/Ghidra/Features/FunctionGraph/src/main/help/help/shared/Frontpage.css +++ /dev/null @@ -1,64 +0,0 @@ -/* ### - * 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-like formatting for things such as file system paths and proper names of classes, - methods, etc. To apply this to a file path, use this syntax: -...
-*/ -code { color: black; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } -code.path { color: #4682B4; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } diff --git a/Ghidra/Features/FunctionGraph/src/main/help/help/shared/arrow.gif b/Ghidra/Features/FunctionGraph/src/main/help/help/shared/arrow.gif deleted file mode 100644 index bcb3db7057..0000000000 Binary files a/Ghidra/Features/FunctionGraph/src/main/help/help/shared/arrow.gif and /dev/null differ diff --git a/Ghidra/Features/FunctionGraph/src/main/help/help/shared/close16.gif b/Ghidra/Features/FunctionGraph/src/main/help/help/shared/close16.gif deleted file mode 100644 index f523864639..0000000000 Binary files a/Ghidra/Features/FunctionGraph/src/main/help/help/shared/close16.gif and /dev/null differ diff --git a/Ghidra/Features/FunctionGraph/src/main/help/help/shared/note.png b/Ghidra/Features/FunctionGraph/src/main/help/help/shared/note.png deleted file mode 100644 index 51e1c8f8c1..0000000000 Binary files a/Ghidra/Features/FunctionGraph/src/main/help/help/shared/note.png and /dev/null differ diff --git a/Ghidra/Features/FunctionGraph/src/main/help/help/shared/note.yellow.png b/Ghidra/Features/FunctionGraph/src/main/help/help/shared/note.yellow.png deleted file mode 100644 index f8ab6489f2..0000000000 Binary files a/Ghidra/Features/FunctionGraph/src/main/help/help/shared/note.yellow.png and /dev/null differ diff --git a/Ghidra/Features/FunctionGraph/src/main/help/help/shared/tip.png b/Ghidra/Features/FunctionGraph/src/main/help/help/shared/tip.png deleted file mode 100644 index 209f1d28c8..0000000000 Binary files a/Ghidra/Features/FunctionGraph/src/main/help/help/shared/tip.png and /dev/null differ diff --git a/Ghidra/Features/FunctionGraph/src/main/help/help/topics/FunctionGraphPlugin/Function_Graph.html b/Ghidra/Features/FunctionGraph/src/main/help/help/topics/FunctionGraphPlugin/Function_Graph.html index 97a6c2207a..ce4dc14231 100644 --- a/Ghidra/Features/FunctionGraph/src/main/help/help/topics/FunctionGraphPlugin/Function_Graph.html +++ b/Ghidra/Features/FunctionGraph/src/main/help/help/topics/FunctionGraphPlugin/Function_Graph.html @@ -7,7 +7,7 @@Function Graph Plugin - + @@ -102,7 +102,7 @@ deselecting the Display Satellite View toggle button from the popup menu.-@@ -123,7 +123,7 @@
If the Primary View is painting +
If the Primary View is painting sluggishly, then hiding the Satellite View cause the Primary View to be more responsive.
-
To reshow the Satellite View if it is +
To reshow the Satellite View if it is hidden, whether docked or undocked, you can press the
button. This button is in the lower-right hand corner of the graph and is only visible if the Satellite View is hidden or @@ -215,7 +215,7 @@ choose a new color to set.
-
By default, colors +
By default, colors applied to a vertex are also applied to the primary disassembly Listing.
@@ -249,7 +249,7 @@ function.-
This action will also +
This action will also appear in the vertex containing the function entry point, for convenience.
@@ -271,7 +271,7 @@@@ -994,7 +994,7 @@-@@ -308,7 +308,7 @@ take on that color.
This section describes vertex +
This section describes vertex grouping, which is covered later in this document.
-
Via the options you can +
Via the options you can disable this feature.
@@ -347,7 +347,7 @@ all members of a given group back into a single grouped vertex.-
To remove an uncollapsed vertex +
To remove an uncollapsed vertex from group membership, right-click on that vertex and select Ungroup Selected Vertices.
@@ -462,7 +462,7 @@ vertex.--
You can select a single vertex +
You can select a single vertex to group. This allows you to annotate a given vertex with text, without editing the label at the vertex address, which is the default behavior of the edit label action. In addition to setting the text for the @@ -495,10 +495,10 @@ title.
Grouped vertices may contain other +
-
Grouped vertices may contain other grouped vertices.
As you group vertices, the +
@@ -515,7 +515,7 @@ Never.
As you group vertices, the graph may perform a relayout of the vertices, depending upon the Function Graph Options, as described below.
-@@ -525,7 +525,7 @@ this will ungroup all groups, which is an operation that cannot be undone.
You can access the Function +
You can access the Function Graph Options by right-clicking in an empty area of the graph and clicking the Properties menu item.
-@@ -916,11 +916,11 @@ the window level (zoomed out far enough to fit the entire graph in the window). These actions are Zoom to Vertex and Zoom to Window, respectively. -
Ungrouped vertices can be +
@@ -575,7 +575,7 @@ clicking on the drop-down arrow will allow you to choose a new layout.
Ungrouped vertices can be regrouped by executing the regroup action. This action is executed from an individual vertex, but will apply to all vertices in its group.
-
This action allows you to +
This action allows you to perform a graph relayout without losing grouping information
@@ -822,7 +822,7 @@@@ -831,7 +831,7 @@You may create Program Selections from the current path - highlights by clicking Program Selection
by clicking Program Selection
From Hovered Edges and From Focused Edges from the popup menu of a block. If not paths are highlighted, then these actions will be disabled.
You may select all Code Units in a Code Block by - clicking Program Selection
Select All + clicking Program Selection
Select All Code Units from the popup menu (or by using the default keybinding, Ctrl-A). This action will select all Code Units in all selected Code Blocks in the graph. If no Code Blocks are selected, then a Program Selection will be created for all Code Units in all Code @@ -842,7 +842,7 @@
from the popup menu.You may clear the current Program Selection by clicking Program Selection
+ "help/shared/arrow.gif" border="0" alt=""> Clear SelectionClear Selection from the popup menu.
To have the scroll wheel zoom +
-
To have the scroll wheel zoom without holding the Control key, you can disable the Scroll Wheel Pans option.
To zoom the graph incrementally +
@@ -978,7 +978,7 @@ painted with the current background color of the block.
To zoom the graph incrementally using the keyboard you can use the Zoom In and Zoom Out actions. These actions have default keybindings of Control-Minus and Control-Equals.
-
Zooming past the painting +
Zooming past the painting threshold will improve the rendering speed of the Primary View.
-
Changes made to +
diff --git a/Ghidra/Features/FunctionGraph/src/main/help/help/topics/FunctionGraphPlugin/Function_Graph_Layouts.html b/Ghidra/Features/FunctionGraph/src/main/help/help/topics/FunctionGraphPlugin/Function_Graph_Layouts.html index 6e71260598..fde3c94abd 100644 --- a/Ghidra/Features/FunctionGraph/src/main/help/help/topics/FunctionGraphPlugin/Function_Graph_Layouts.html +++ b/Ghidra/Features/FunctionGraph/src/main/help/help/topics/FunctionGraphPlugin/Function_Graph_Layouts.html @@ -7,7 +7,7 @@
Changes made to Snapshots will not be saved. This is done to avoid conflict between changes made to the connected view and any of the snapshots
Function Graph Plugin - + @@ -63,4 +63,4 @@Provided by: Function Graph Plugin
- \ No newline at end of file + diff --git a/Ghidra/Features/FunctionID/certification.manifest b/Ghidra/Features/FunctionID/certification.manifest index 27bef5a3f4..ee188e43c0 100644 --- a/Ghidra/Features/FunctionID/certification.manifest +++ b/Ghidra/Features/FunctionID/certification.manifest @@ -9,7 +9,6 @@ src/main/doc/fid_common.xsl||GHIDRA||||END| src/main/doc/fid_html.xsl||GHIDRA||||END| src/main/doc/fid_pdf.xsl||GHIDRA||||END| src/main/help/help/TOC_Source.xml||GHIDRA||||END| -src/main/help/help/shared/arrow.gif||GHIDRA||reviewed||END| src/main/help/help/topics/FunctionID/FunctionID.html||GHIDRA||||END| src/main/help/help/topics/FunctionID/FunctionIDDebug.html||GHIDRA||||END| src/main/help/help/topics/FunctionID/FunctionIDPlugin.html||GHIDRA||||END| @@ -18,4 +17,3 @@ src/main/help/help/topics/FunctionID/images/DetachAttachedFidDb.png||GHIDRA||||E src/main/help/help/topics/FunctionID/images/FIDSearch.png||GHIDRA||||END| src/main/help/help/topics/FunctionID/images/FIDmatch.png||GHIDRA||||END| src/main/help/help/topics/FunctionID/images/PopulateFidDbFromPrograms1.png||GHIDRA|||Directory name includes sid|END| -src/main/resources/images/vcard.png||Nuvola Icons - LGPL 2.1||||END| diff --git a/Ghidra/Features/FunctionID/src/main/help/help/shared/Frontpage.css b/Ghidra/Features/FunctionID/src/main/help/help/shared/Frontpage.css deleted file mode 100644 index 557c37ca39..0000000000 --- a/Ghidra/Features/FunctionID/src/main/help/help/shared/Frontpage.css +++ /dev/null @@ -1,64 +0,0 @@ -/* ### - * 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-like formatting for things such as file system paths and proper names of classes, - methods, etc. To apply this to a file path, use this syntax: -...
-*/ -code { color: black; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } -code.path { color: #4682B4; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } diff --git a/Ghidra/Features/FunctionID/src/main/help/help/shared/arrow.gif b/Ghidra/Features/FunctionID/src/main/help/help/shared/arrow.gif deleted file mode 100644 index bcb3db7057..0000000000 Binary files a/Ghidra/Features/FunctionID/src/main/help/help/shared/arrow.gif and /dev/null differ diff --git a/Ghidra/Features/FunctionID/src/main/help/help/topics/FunctionID/FunctionID.html b/Ghidra/Features/FunctionID/src/main/help/help/topics/FunctionID/FunctionID.html index 353450c658..954c497d34 100644 --- a/Ghidra/Features/FunctionID/src/main/help/help/topics/FunctionID/FunctionID.html +++ b/Ghidra/Features/FunctionID/src/main/help/help/topics/FunctionID/FunctionID.html @@ -2,8 +2,8 @@Function ID - - + + diff --git a/Ghidra/Features/FunctionID/src/main/help/help/topics/FunctionID/FunctionIDDebug.html b/Ghidra/Features/FunctionID/src/main/help/help/topics/FunctionID/FunctionIDDebug.html index 3db890432f..0837cdaba0 100644 --- a/Ghidra/Features/FunctionID/src/main/help/help/topics/FunctionID/FunctionIDDebug.html +++ b/Ghidra/Features/FunctionID/src/main/help/help/topics/FunctionID/FunctionIDDebug.html @@ -2,8 +2,8 @@Function ID Debug Plug-in - - + + diff --git a/Ghidra/Features/FunctionID/src/main/help/help/topics/FunctionID/FunctionIDPlugin.html b/Ghidra/Features/FunctionID/src/main/help/help/topics/FunctionID/FunctionIDPlugin.html index b1052c6538..c66624390e 100644 --- a/Ghidra/Features/FunctionID/src/main/help/help/topics/FunctionID/FunctionIDPlugin.html +++ b/Ghidra/Features/FunctionID/src/main/help/help/topics/FunctionID/FunctionIDPlugin.html @@ -2,8 +2,8 @@Function ID Plug-in - - + + diff --git a/Ghidra/Features/GraphFunctionCalls/certification.manifest b/Ghidra/Features/GraphFunctionCalls/certification.manifest index 90d6cbdf19..cd6895cd38 100644 --- a/Ghidra/Features/GraphFunctionCalls/certification.manifest +++ b/Ghidra/Features/GraphFunctionCalls/certification.manifest @@ -3,16 +3,6 @@ Module.manifest||GHIDRA||||END| data/functioncallgraph.theme.properties||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/FunctionCallGraphPlugin/Function_Call_Graph.html||GHIDRA||||END| src/main/help/help/topics/FunctionCallGraphPlugin/images/FunctionCallGraphProvider.png||GHIDRA||||END| src/main/help/help/topics/FunctionCallGraphPlugin/images/TooManyReferences.png||GHIDRA||reviewed||END| diff --git a/Ghidra/Features/GraphFunctionCalls/src/main/help/help/shared/Frontpage.css b/Ghidra/Features/GraphFunctionCalls/src/main/help/help/shared/Frontpage.css deleted file mode 100644 index 557c37ca39..0000000000 --- a/Ghidra/Features/GraphFunctionCalls/src/main/help/help/shared/Frontpage.css +++ /dev/null @@ -1,64 +0,0 @@ -/* ### - * 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-like formatting for things such as file system paths and proper names of classes, - methods, etc. To apply this to a file path, use this syntax: -...
-*/ -code { color: black; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } -code.path { color: #4682B4; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } diff --git a/Ghidra/Features/GraphFunctionCalls/src/main/help/help/shared/arrow.gif b/Ghidra/Features/GraphFunctionCalls/src/main/help/help/shared/arrow.gif deleted file mode 100644 index bcb3db7057..0000000000 Binary files a/Ghidra/Features/GraphFunctionCalls/src/main/help/help/shared/arrow.gif and /dev/null differ diff --git a/Ghidra/Features/GraphFunctionCalls/src/main/help/help/shared/close16.gif b/Ghidra/Features/GraphFunctionCalls/src/main/help/help/shared/close16.gif deleted file mode 100644 index f523864639..0000000000 Binary files a/Ghidra/Features/GraphFunctionCalls/src/main/help/help/shared/close16.gif and /dev/null differ diff --git a/Ghidra/Features/GraphFunctionCalls/src/main/help/help/shared/note.png b/Ghidra/Features/GraphFunctionCalls/src/main/help/help/shared/note.png deleted file mode 100644 index 51e1c8f8c1..0000000000 Binary files a/Ghidra/Features/GraphFunctionCalls/src/main/help/help/shared/note.png and /dev/null differ diff --git a/Ghidra/Features/GraphFunctionCalls/src/main/help/help/shared/note.yellow.png b/Ghidra/Features/GraphFunctionCalls/src/main/help/help/shared/note.yellow.png deleted file mode 100644 index f8ab6489f2..0000000000 Binary files a/Ghidra/Features/GraphFunctionCalls/src/main/help/help/shared/note.yellow.png and /dev/null differ diff --git a/Ghidra/Features/GraphFunctionCalls/src/main/help/help/shared/tip.png b/Ghidra/Features/GraphFunctionCalls/src/main/help/help/shared/tip.png deleted file mode 100644 index 209f1d28c8..0000000000 Binary files a/Ghidra/Features/GraphFunctionCalls/src/main/help/help/shared/tip.png and /dev/null differ diff --git a/Ghidra/Features/GraphFunctionCalls/src/main/help/help/topics/FunctionCallGraphPlugin/Function_Call_Graph.html b/Ghidra/Features/GraphFunctionCalls/src/main/help/help/topics/FunctionCallGraphPlugin/Function_Call_Graph.html index 8697cf287d..65f61c7826 100644 --- a/Ghidra/Features/GraphFunctionCalls/src/main/help/help/topics/FunctionCallGraphPlugin/Function_Call_Graph.html +++ b/Ghidra/Features/GraphFunctionCalls/src/main/help/help/topics/FunctionCallGraphPlugin/Function_Call_Graph.html @@ -4,7 +4,7 @@Function Call Graph Plugin - + @@ -32,7 +32,7 @@To show the Function Call Graph provider window, - select the Window
@@ -44,7 +44,7 @@+ select the Window
Function Call Graph option on the tool menu.
-
The graph updates itself as you navigate within +
The graph updates itself as you navigate within the tool. To prevent losing graph state (e.g., expanded functions, node locations, etc), a small number of graphs will be cached. For example, if you navigate away from a function and then immediately return, the graph will be restored to @@ -133,7 +133,7 @@
-
@@ -144,7 +144,7 @@As new vertices are added to the +
As new vertices are added to the graph, any indirect edges will be added to the graph.
-
It is important to understand +
It is important to understand that the graph is only a subset of the entire program graph. This graph does not represent all functions and function calls in the program. @@ -152,7 +152,7 @@
@@ -711,7 +713,7 @@ uncheck the Limit to Selection box. It switches between the addresses in common between the two programs and those in the selection. --
Sometimes a function +
Sometimes a function may have too many references to display in the graph. When this happens, the function node will be a gray color, with the expand icon replaced with a warning icon, as so:
diff --git a/Ghidra/Features/GraphServices/certification.manifest b/Ghidra/Features/GraphServices/certification.manifest index 60b91eadd8..8640954b5a 100644 --- a/Ghidra/Features/GraphServices/certification.manifest +++ b/Ghidra/Features/GraphServices/certification.manifest @@ -10,18 +10,8 @@ Module.manifest||GHIDRA||||END| data/ExtensionPoint.manifest||GHIDRA||||END| data/graphservices.theme.properties||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/note.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0)|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/topics/GraphServices/GraphDisplay.htm||GHIDRA||||END| src/main/help/help/topics/GraphServices/GraphExport.htm||GHIDRA||||END| src/main/help/help/topics/GraphServices/images/DefaultGraphDisplay.png||GHIDRA||||END| src/main/help/help/topics/GraphServices/images/ExportDialog.png||GHIDRA||||END| -src/main/resources/images/Lasso.png||GHIDRA||||END| -src/main/resources/images/magnifier.png||FAMFAMFAM Icons - CC 2.5|||famfamfam silk icon set|END| -src/main/resources/images/project-open.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0)|END| -src/main/resources/images/redspheregraph.png||GHIDRA||||END| -src/main/resources/images/sat2.png||GHIDRA||||END| -src/main/resources/images/tree.png||GHIDRA||||END| -src/main/resources/images/view-fullscreen.png||Tango Icons - Public Domain|||tango icon set|END| src/main/resources/jungrapht.properties||GHIDRA||||END| diff --git a/Ghidra/Features/GraphServices/src/main/help/help/shared/Frontpage.css b/Ghidra/Features/GraphServices/src/main/help/help/shared/Frontpage.css deleted file mode 100644 index 452bf6e6b5..0000000000 --- a/Ghidra/Features/GraphServices/src/main/help/help/shared/Frontpage.css +++ /dev/null @@ -1,58 +0,0 @@ -/* ### - * 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/GraphServices/src/main/help/help/shared/arrow.gif b/Ghidra/Features/GraphServices/src/main/help/help/shared/arrow.gif deleted file mode 100644 index bcb3db7057..0000000000 Binary files a/Ghidra/Features/GraphServices/src/main/help/help/shared/arrow.gif and /dev/null differ diff --git a/Ghidra/Features/GraphServices/src/main/help/help/shared/note.png b/Ghidra/Features/GraphServices/src/main/help/help/shared/note.png deleted file mode 100644 index 51e1c8f8c1..0000000000 Binary files a/Ghidra/Features/GraphServices/src/main/help/help/shared/note.png and /dev/null differ diff --git a/Ghidra/Features/GraphServices/src/main/help/help/shared/tip.png b/Ghidra/Features/GraphServices/src/main/help/help/shared/tip.png deleted file mode 100644 index 209f1d28c8..0000000000 Binary files a/Ghidra/Features/GraphServices/src/main/help/help/shared/tip.png and /dev/null differ diff --git a/Ghidra/Features/GraphServices/src/main/help/help/topics/GraphServices/GraphDisplay.htm b/Ghidra/Features/GraphServices/src/main/help/help/topics/GraphServices/GraphDisplay.htm index c752ad90a6..e0fb14d101 100644 --- a/Ghidra/Features/GraphServices/src/main/help/help/topics/GraphServices/GraphDisplay.htm +++ b/Ghidra/Features/GraphServices/src/main/help/help/topics/GraphServices/GraphDisplay.htm @@ -7,7 +7,7 @@Graph Display - + diff --git a/Ghidra/Features/GraphServices/src/main/help/help/topics/GraphServices/GraphExport.htm b/Ghidra/Features/GraphServices/src/main/help/help/topics/GraphServices/GraphExport.htm index e0e6a5d3b3..96f4af1846 100644 --- a/Ghidra/Features/GraphServices/src/main/help/help/topics/GraphServices/GraphExport.htm +++ b/Ghidra/Features/GraphServices/src/main/help/help/topics/GraphServices/GraphExport.htm @@ -7,7 +7,7 @@Graph Export - + @@ -64,4 +64,4 @@
- \ No newline at end of file + diff --git a/Ghidra/Features/PDB/certification.manifest b/Ghidra/Features/PDB/certification.manifest index 8ae04a48be..c52a7cc7ae 100644 --- a/Ghidra/Features/PDB/certification.manifest +++ b/Ghidra/Features/PDB/certification.manifest @@ -6,30 +6,14 @@ Module.manifest||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/LoadPDB.html||GHIDRA||||END| src/main/help/help/topics/Pdb/PDB.htm||GHIDRA||||END| src/main/help/help/topics/Pdb/images/LoadPdb_Advanced_NeedsConfig.png||GHIDRA||||END| src/main/help/help/topics/Pdb/images/LoadPdb_Advanced_Screenshot.png||GHIDRA||||END| src/main/help/help/topics/Pdb/images/LoadPdb_Initial_Screenshot.png||GHIDRA||||END| -src/main/help/help/topics/Pdb/images/Plus2.png||GHIDRA||||END| src/main/help/help/topics/Pdb/images/SymbolServerConfig_AddButtonMenu.png||GHIDRA||||END| src/main/help/help/topics/Pdb/images/SymbolServerConfig_Configured.png||GHIDRA||||END| src/main/help/help/topics/Pdb/images/SymbolServerConfig_Screenshot.png||GHIDRA||||END| -src/main/help/help/topics/Pdb/images/disk.png||FAMFAMFAM Icons - CC 2.5||||END| -src/main/help/help/topics/Pdb/images/down.png||GHIDRA||||END| -src/main/help/help/topics/Pdb/images/error.png||Nuvola Icons - LGPL 2.1||||END| -src/main/help/help/topics/Pdb/images/reload3.png||Crystal Clear Icons - LGPL 2.1||||END| -src/main/help/help/topics/Pdb/images/up.png||GHIDRA||||END| src/pdb/README.txt||GHIDRA||||END| src/pdb/pdb.sln||GHIDRA||||END| src/pdb/pdb.vcxproj||GHIDRA||||END| diff --git a/Ghidra/Features/PDB/src/main/help/help/shared/Frontpage.css b/Ghidra/Features/PDB/src/main/help/help/shared/Frontpage.css deleted file mode 100644 index 557c37ca39..0000000000 --- a/Ghidra/Features/PDB/src/main/help/help/shared/Frontpage.css +++ /dev/null @@ -1,64 +0,0 @@ -/* ### - * 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-like formatting for things such as file system paths and proper names of classes, - methods, etc. To apply this to a file path, use this syntax: -...
-*/ -code { color: black; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } -code.path { color: #4682B4; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } diff --git a/Ghidra/Features/PDB/src/main/help/help/shared/arrow.gif b/Ghidra/Features/PDB/src/main/help/help/shared/arrow.gif deleted file mode 100644 index bcb3db7057..0000000000 Binary files a/Ghidra/Features/PDB/src/main/help/help/shared/arrow.gif and /dev/null differ diff --git a/Ghidra/Features/PDB/src/main/help/help/shared/close16.gif b/Ghidra/Features/PDB/src/main/help/help/shared/close16.gif deleted file mode 100644 index f523864639..0000000000 Binary files a/Ghidra/Features/PDB/src/main/help/help/shared/close16.gif and /dev/null differ diff --git a/Ghidra/Features/PDB/src/main/help/help/shared/note.png b/Ghidra/Features/PDB/src/main/help/help/shared/note.png deleted file mode 100644 index 51e1c8f8c1..0000000000 Binary files a/Ghidra/Features/PDB/src/main/help/help/shared/note.png and /dev/null differ diff --git a/Ghidra/Features/PDB/src/main/help/help/shared/note.yellow.png b/Ghidra/Features/PDB/src/main/help/help/shared/note.yellow.png deleted file mode 100644 index f8ab6489f2..0000000000 Binary files a/Ghidra/Features/PDB/src/main/help/help/shared/note.yellow.png and /dev/null differ diff --git a/Ghidra/Features/PDB/src/main/help/help/shared/tip.png b/Ghidra/Features/PDB/src/main/help/help/shared/tip.png deleted file mode 100644 index 209f1d28c8..0000000000 Binary files a/Ghidra/Features/PDB/src/main/help/help/shared/tip.png and /dev/null differ diff --git a/Ghidra/Features/PDB/src/main/help/help/topics/Pdb/LoadPDB.html b/Ghidra/Features/PDB/src/main/help/help/topics/Pdb/LoadPDB.html index 5d63a9cb10..7345faf58d 100644 --- a/Ghidra/Features/PDB/src/main/help/help/topics/Pdb/LoadPDB.html +++ b/Ghidra/Features/PDB/src/main/help/help/topics/Pdb/LoadPDB.html @@ -4,7 +4,7 @@Load PDB - + diff --git a/Ghidra/Features/PDB/src/main/help/help/topics/Pdb/PDB.htm b/Ghidra/Features/PDB/src/main/help/help/topics/Pdb/PDB.htm index 278e99af73..4e4a0166f4 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 @@ -6,7 +6,7 @@ "HTML Tidy for Java (vers. 2009-12-01), see jtidy.sourceforge.net">Microsoft Program Databases (PDB) - + @@ -115,7 +115,7 @@ applications could, for example, report stack trace-back information and analyze performance data. -
If you are attempting to load a PDB on a +
If you are attempting to load a PDB on a Windows machine and see an error message such as "Unable to locate the DIA SDK," you will need to add and register one or more files on your computer. Refer to the README_PDB document for detailed instructions. diff --git a/Ghidra/Features/ProgramDiff/certification.manifest b/Ghidra/Features/ProgramDiff/certification.manifest index d351c3e3bd..b8f3d7eecd 100644 --- a/Ghidra/Features/ProgramDiff/certification.manifest +++ b/Ghidra/Features/ProgramDiff/certification.manifest @@ -8,41 +8,17 @@ Module.manifest||GHIDRA||||END| data/programdiff.theme.properties||GHIDRA||||END| src/main/help/help/TOC_Source.xml||GHIDRA||||END| -src/main/help/help/shared/arrow.gif||GHIDRA||reviewed||END| -src/main/help/help/shared/close16.gif||GHIDRA||reviewed||END| -src/main/help/help/shared/menu16.gif||GHIDRA||reviewed||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) Renamed version of flag-red.png|END| -src/main/help/help/shared/note.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0) Renamed version of flag-green.png|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) Renamed version of flag-yellow.png|END| -src/main/help/help/shared/redo.png||GHIDRA||reviewed||END| -src/main/help/help/shared/tip.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0) Renamed version of help-hint.png|END| -src/main/help/help/shared/undo.png||GHIDRA||reviewed||END| -src/main/help/help/shared/warning.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0) Renamed version of security-medium.png|END| src/main/help/help/topics/Diff/Diff.htm||GHIDRA||||END| src/main/help/help/topics/Diff/images/DetermineDiffs.png||GHIDRA||||END| src/main/help/help/topics/Diff/images/Diff.png||GHIDRA||||END| -src/main/help/help/topics/Diff/images/Diff16.png||GHIDRA||reviewed||END| src/main/help/help/topics/Diff/images/DiffApplySettings.png||GHIDRA||||END| src/main/help/help/topics/Diff/images/DiffApplySettingsPopup.png||GHIDRA||reviewed||END| src/main/help/help/topics/Diff/images/DiffDetails.png||GHIDRA||||END| -src/main/help/help/topics/Diff/images/DiffSelect16.png||GHIDRA||reviewed||END| src/main/help/help/topics/Diff/images/SelectOpenProgram.png||GHIDRA||||END| src/main/help/help/topics/Diff/images/SelectOtherProgram.png||GHIDRA||||END| src/main/help/help/topics/Diff/images/SelectOtherVersionedProgram.png||GHIDRA||||END| -src/main/help/help/topics/Diff/images/disk.png||FAMFAMFAM Icons - CC 2.5|||famfamfam silk icon set|END| -src/main/help/help/topics/Diff/images/down.png||GHIDRA||reviewed||END| -src/main/help/help/topics/Diff/images/eraser_arrow16.png||GHIDRA||||END| -src/main/help/help/topics/Diff/images/pencil16.png||GHIDRA||reviewed||END| -src/main/help/help/topics/Diff/images/pencil_arrow16.png||GHIDRA||reviewed||END| -src/main/help/help/topics/Diff/images/settings16.gif||GHIDRA||reviewed||END| -src/main/help/help/topics/Diff/images/table_relationship.png||FAMFAMFAM Icons - CC 2.5|||famfamfam silk icon set|END| -src/main/help/help/topics/Diff/images/up.png||GHIDRA||reviewed||END| -src/main/help/help/topics/Diff/images/xmag.png||Nuvola Icons - LGPL 2.1|||Nuvola icon set|END| src/main/resources/images/Diff16.png||GHIDRA||reviewed||END| src/main/resources/images/DiffSelect16.png||GHIDRA||reviewed||END| -src/main/resources/images/erase16.png||GHIDRA||reviewed||END| src/main/resources/images/eraser_arrow16.png||GHIDRA||||END| -src/main/resources/images/pencil16.png||GHIDRA||reviewed||END| src/main/resources/images/pencil_arrow16.png||GHIDRA||reviewed||END| -src/main/resources/images/settings16.gif||GHIDRA||reviewed||END| src/main/resources/images/xmag.png||Nuvola Icons - LGPL 2.1|||Nuvola icon set|END| diff --git a/Ghidra/Features/ProgramDiff/src/main/help/help/shared/Frontpage.css b/Ghidra/Features/ProgramDiff/src/main/help/help/shared/Frontpage.css deleted file mode 100644 index 557c37ca39..0000000000 --- a/Ghidra/Features/ProgramDiff/src/main/help/help/shared/Frontpage.css +++ /dev/null @@ -1,64 +0,0 @@ -/* ### - * 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-like formatting for things such as file system paths and proper names of classes, - methods, etc. To apply this to a file path, use this syntax: -
...
-*/ -code { color: black; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } -code.path { color: #4682B4; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } diff --git a/Ghidra/Features/ProgramDiff/src/main/help/help/shared/arrow.gif b/Ghidra/Features/ProgramDiff/src/main/help/help/shared/arrow.gif deleted file mode 100644 index bcb3db7057..0000000000 Binary files a/Ghidra/Features/ProgramDiff/src/main/help/help/shared/arrow.gif and /dev/null differ diff --git a/Ghidra/Features/ProgramDiff/src/main/help/help/shared/close16.gif b/Ghidra/Features/ProgramDiff/src/main/help/help/shared/close16.gif deleted file mode 100644 index f523864639..0000000000 Binary files a/Ghidra/Features/ProgramDiff/src/main/help/help/shared/close16.gif and /dev/null differ diff --git a/Ghidra/Features/ProgramDiff/src/main/help/help/shared/note.png b/Ghidra/Features/ProgramDiff/src/main/help/help/shared/note.png deleted file mode 100644 index 51e1c8f8c1..0000000000 Binary files a/Ghidra/Features/ProgramDiff/src/main/help/help/shared/note.png and /dev/null differ diff --git a/Ghidra/Features/ProgramDiff/src/main/help/help/shared/note.yellow.png b/Ghidra/Features/ProgramDiff/src/main/help/help/shared/note.yellow.png deleted file mode 100644 index f8ab6489f2..0000000000 Binary files a/Ghidra/Features/ProgramDiff/src/main/help/help/shared/note.yellow.png and /dev/null differ diff --git a/Ghidra/Features/ProgramDiff/src/main/help/help/shared/tip.png b/Ghidra/Features/ProgramDiff/src/main/help/help/shared/tip.png deleted file mode 100644 index 209f1d28c8..0000000000 Binary files a/Ghidra/Features/ProgramDiff/src/main/help/help/shared/tip.png and /dev/null differ diff --git a/Ghidra/Features/ProgramDiff/src/main/help/help/topics/Diff/Diff.htm b/Ghidra/Features/ProgramDiff/src/main/help/help/topics/Diff/Diff.htm index 69db26583d..d990289d7c 100644 --- a/Ghidra/Features/ProgramDiff/src/main/help/help/topics/Diff/Diff.htm +++ b/Ghidra/Features/ProgramDiff/src/main/help/help/topics/Diff/Diff.htm @@ -3,7 +3,7 @@The Diff Tool - +@@ -31,7 +31,7 @@ a second program in the Code Browser Diff panel. This is one of two ways to open the Diff tool. The other is the menu action, Tools -
+
Program Differences... which is described later under Viewing Program Differences. @@ -67,7 +67,7 @@
A Diff can be opened from the menu action, Tools -
+
Program Differences... . This is one of two ways to open the Diff tool. The other is the Open/Close Diff View icon @@ -82,7 +82,7 @@
- From the Code Browser, select Tools -
+
Program Differences... . @@ -95,18 +95,20 @@
-
- From the Select Other Program dialog select the second program to be viewed and compared with the tool's program.
-+
The second program must have the same address spaces defined. In other words, they should be the same type of program (i.e. based on the same program language).
-+ +
If you wish to Diff against a specific version of a - versioned program, a specific version may be seleected from the + versioned program, a specific version may be selected from the Version History table. The project file history panel is displayed when the History>> button is clicked. Select the versioned program from the tree. Next select the desired version of the program from the Version History table on the right side of the dialog.
+@@ -147,7 +149,7 @@ highlighted.![]()
+
-
The selected program is displayed as the second program in the browser. Only the portion of the second program that matches the address set of the current view is displayed. Highlighted code units in @@ -169,11 +171,11 @@ both programs is still controlled by the program tree for the tool's program. In other words, the second program's view will only show addresses that match those viewed for the tool's program.
-+
Notice that the difference highlights are light orange above. The selected difference is green. These are only the default colors. They can be changed from the tool's Options dialog (Edit -
+
Options..., open the Listing Fields folder, and select Selection Colors, double click on the Difference color).
@@ -344,7 +346,7 @@ Pressing the Cancel button will remove the Determine Program Differences dialog without performing the Program Diff.
+
If the two programs being compared are large, determining program differences can be time consuming. If you are not interested in all of the differences in the program, you can reduce the amount of @@ -415,7 +417,7 @@
Program Context - detect any code units where the values of the program context registers differ.
@@ -519,19 +521,19 @@ Listing toolbar when the Program Diff is actively being displayed.
-+
If the two programs contexts don't have the same registers defined, the program context is disabled and can't be compared between the programs. @@ -507,7 +509,7 @@
will bring the tab containing the Diff to the front.
If you attempt to start a Diff using Tools -Program Differences... +
Program Differences... in the tool menu and a Diff is already being performed, the status bar will indicate the name of the program that currently has a Diff.
- Selecting the Close Window icon -
from the +
from the Listing toolbar when the Program Diff is actively being displayed. (Normally this will close the current program, but when Diff is active this closes the Diff.)
- Closing the Diff's program via the Tool's menu, File -
Close, +
Close, when the Diff is actively displayed. (In this case the Diff is closed along with the current program.)
- Exiting the Tool or Ghidra will also terminate an active Diff.
-
+
Hovering the mouse over the Diff View icon provides a tooltip indicating whether the current action is Open Diff View, Close Diff View, or Bring Diff View to Front. @@ -613,7 +615,7 @@ Program Differences icon
, the current Diff Apply Settings will not be affected by the defaults.
-+
The Default Diff Apply Settings can also be set by changing the Diff Default Apply Settings tool options @@ -622,7 +624,7 @@
The Diff Apply Settings toolbar menu -
also has actions for changing +
also has actions for changing all the apply settings at once. They are:
+
Once you press the OK button on the Program Difference Settings dialog, the Program Diff is performed against the indicated address ranges (address set). You can make a selection in @@ -768,7 +770,7 @@
-
+
Some of the difference markers may overlap in the right margin. Therefore, it is best to use the markers for navigation to a region where there are differences and then use the @@ -819,7 +821,7 @@ be used to extend the selection. -
+
When differences are applied from the second program to the tool's program, only selected code units in the current view will be applied. @@ -971,7 +973,7 @@
The selected code units will be ignored. This means they will no longer be highlighted as a difference. The Diff will then navigate to the next difference and select it.
-
Once a code unit is +
Once a code unit is ignored, it will no longer be marked in the browser with a change bar and will no longer be highlighted. If you Determine Program Differences, any previously ignored items where @@ -1015,7 +1017,7 @@
![]()
-
+
When the Automatically Update Details check box is selected, the Diff Details will update automatically to show the differences at the current location whenever the current address @@ -1024,7 +1026,7 @@ by the CodeBrowser.
-
+
When the Only Show Expected Difference Types check box is selected, the Diff Details will only show Diff Details for the types of Differences that you chose to look for when you determined your differences. @@ -1033,7 +1035,7 @@ seeking.
-
-+
If you modify the program at the current location after the Diff Details are displayed, press the Refresh button
@@ -1084,7 +1086,7 @@
To graph the entire program, press "<ctrl> a" to +
@@ -98,12 +98,12 @@ the new current selection within Ghidra.
To graph the entire program, press "<ctrl> a" to select all before creating the graph.
-
See the documentation for the specific graph display for +
See the documentation for the specific graph display for descriptions of how to to make selections and navigate the graph.
-@@ -302,12 +302,12 @@ (this will pop the graph window to the front).
A selection in one graph can be used to create a follow +
A selection in one graph can be used to create a follow on graph. When a graph is created, only blocks of code that fall within the current selection will be part of the graph. For example, a single subroutine could be selected in a Call Graph. From that selection, a Block Flow graph can be created @@ -124,7 +124,7 @@ is not part of any node within the graph, the red arrow will not be visible.
When the option Graph
Show Location is turned on, the graph will re-orient + src="help/shared/arrow.gif"> Show Location is turned on, the graph will re-orient itself to insure that the red location arrow is always visible.
Clicking on a node in the graph display causes the @@ -278,9 +278,9 @@ (this will pop the graph window to the front)
- Create a graph using:
+ Select Graph
- Select GraphBlock Flow, Graph
Calls, or any of the Graph
Calls Using Model items
Block Flow, Graph
Calls, or any of the Graph
Calls Using Model items
- Create a graph using:
+ Select Graph
- Select GraphBlock Flow, Graph
Calls, or any of the Graph
Calls Using Model menu items
Block Flow, Graph
Calls, or any of the Graph
Calls Using Model menu items -
The Reuse Graph option must be enabled for the +
@@ -354,14 +354,14 @@
The Reuse Graph option must be enabled for the Append Graph option to be considered. Toggling on the Append Graph option will automatically turn on the Reuse Graph option. Append Graph without Reuse Graph will display new graphs in a new graph window, essentially having no effect.
-
If there is a current selection, the nodes and edges +
If there is a current selection, the nodes and edges will be restricted to blocks of code that fall within the selection.
To Graph Block Flow Using the default model,
-
@@ -391,20 +391,20 @@- Select Graph
+Block Flow
- Select Graph
Block Flow
- A new graph window is created
Graph Calls
A graph of the call instruction flow from one subroutine to another can be created with - Graph
Calls. The graph is created using the default + Graph
Calls. The graph is created using the default Call Model. Several Subroutine Models are available. Each model provides a slightly different perspective on what constitutes a subroutine.
-
If there is a current selection, the nodes and edges +
If there is a current selection, the nodes and edges will be restricted to blocks of code that fall within the selection.
To Graph Calls Using the default model,
-
@@ -412,8 +412,8 @@- Select Graph
+Calls
- Select Graph
Calls
- A new graph window is created
To Graph Calls Using a specific model*,
-
- Select Graph
+Calls Using Model
<a Call Model>
- Select Graph
Calls Using Model
<a Call Model>
- Select one of @@ -433,7 +433,7 @@
-
*For a more thorough description of each Call Block +
@@ -441,16 +441,16 @@
*For a more thorough description of each Call Block Model (i.e., Subroutine Model), see Block Models. The specific list of models presented to the user may vary depending upon the set of block models configured into the tool.
Graph Data References
-A graph of data references can be created with Graph
+
A graph of data references can be created with Graph
Data then selecting To References, From References or To/From References. Only the selected references will be included. By default only a single layer of references will - be graphed, this can be adjusted using the Edit
- Tool Options
Graph
+ be graphed, this can be adjusted using the Edit
+ Tool Options
Graph
Max Reference Depth
-@@ -458,8 +458,8 @@
Unlike flow graphs, where only the selection is +
Unlike flow graphs, where only the selection is included in the graph, the selection and its references are included.
- Select the data to start from in the listing -
- Select Graph
+Data
- Select Graph
Data
- Select one of diff --git a/Ghidra/Features/Python/certification.manifest b/Ghidra/Features/Python/certification.manifest index 412c40104c..716354906c 100644 --- a/Ghidra/Features/Python/certification.manifest +++ b/Ghidra/Features/Python/certification.manifest @@ -4,6 +4,5 @@ Module.manifest||GHIDRA||||END| data/python.theme.properties||GHIDRA||||END| src/main/help/help/TOC_Source.xml||GHIDRA||||END| -src/main/help/help/topics/Python/images/erase16.png||GHIDRA||||END| src/main/help/help/topics/Python/interpreter.html||GHIDRA||||END| src/main/resources/images/python.png||GHIDRA||||END| diff --git a/Ghidra/Features/Python/src/main/help/help/shared/Frontpage.css b/Ghidra/Features/Python/src/main/help/help/shared/Frontpage.css deleted file mode 100644 index 557c37ca39..0000000000 --- a/Ghidra/Features/Python/src/main/help/help/shared/Frontpage.css +++ /dev/null @@ -1,64 +0,0 @@ -/* ### - * 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-like formatting for things such as file system paths and proper names of classes, - methods, etc. To apply this to a file path, use this syntax: -
...
-*/ -code { color: black; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } -code.path { color: #4682B4; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } diff --git a/Ghidra/Features/Python/src/main/help/help/topics/Python/interpreter.html b/Ghidra/Features/Python/src/main/help/help/topics/Python/interpreter.html index ddc272d65e..ed62387a43 100644 --- a/Ghidra/Features/Python/src/main/help/help/topics/Python/interpreter.html +++ b/Ghidra/Features/Python/src/main/help/help/topics/Python/interpreter.html @@ -6,7 +6,7 @@ "HTML Tidy for Java (vers. 2009-12-01), see jtidy.sourceforge.net">Python Interpreter - + diff --git a/Ghidra/Features/SourceCodeLookup/certification.manifest b/Ghidra/Features/SourceCodeLookup/certification.manifest index f9dc882491..913b81f759 100644 --- a/Ghidra/Features/SourceCodeLookup/certification.manifest +++ b/Ghidra/Features/SourceCodeLookup/certification.manifest @@ -2,14 +2,4 @@ ##MODULE IP: Oxygen Icons - LGPL 3.0 Module.manifest||GHIDRA||reviewed||END| src/main/help/help/TOC_Source.xml||GHIDRA||||END| -src/main/help/help/shared/arrow.gif||GHIDRA||reviewed||END| -src/main/help/help/shared/close16.gif||GHIDRA||reviewed||END| -src/main/help/help/shared/menu16.gif||GHIDRA||reviewed||END| -src/main/help/help/shared/note-red.png||Oxygen Icons - LGPL 3.0|||Oxygen|END| -src/main/help/help/shared/note.png||Oxygen Icons - LGPL 3.0|||Oxygen|END| -src/main/help/help/shared/note.yellow.png||Oxygen Icons - LGPL 3.0|||Oxygen|END| -src/main/help/help/shared/redo.png||GHIDRA||reviewed||END| -src/main/help/help/shared/tip.png||Oxygen Icons - LGPL 3.0|||Oxygen|END| -src/main/help/help/shared/undo.png||GHIDRA||reviewed||END| -src/main/help/help/shared/warning.png||Oxygen Icons - LGPL 3.0|||Oxygen|END| src/main/help/help/topics/SourceCodeLookupPlugin/Source_Code_Lookup.html||GHIDRA||||END| diff --git a/Ghidra/Features/SourceCodeLookup/src/main/help/help/shared/Frontpage.css b/Ghidra/Features/SourceCodeLookup/src/main/help/help/shared/Frontpage.css deleted file mode 100644 index 557c37ca39..0000000000 --- a/Ghidra/Features/SourceCodeLookup/src/main/help/help/shared/Frontpage.css +++ /dev/null @@ -1,64 +0,0 @@ -/* ### - * 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-like formatting for things such as file system paths and proper names of classes, - methods, etc. To apply this to a file path, use this syntax: -...
-*/ -code { color: black; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } -code.path { color: #4682B4; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } diff --git a/Ghidra/Features/SourceCodeLookup/src/main/help/help/shared/arrow.gif b/Ghidra/Features/SourceCodeLookup/src/main/help/help/shared/arrow.gif deleted file mode 100644 index bcb3db7057..0000000000 Binary files a/Ghidra/Features/SourceCodeLookup/src/main/help/help/shared/arrow.gif and /dev/null differ diff --git a/Ghidra/Features/SourceCodeLookup/src/main/help/help/shared/close16.gif b/Ghidra/Features/SourceCodeLookup/src/main/help/help/shared/close16.gif deleted file mode 100644 index f523864639..0000000000 Binary files a/Ghidra/Features/SourceCodeLookup/src/main/help/help/shared/close16.gif and /dev/null differ diff --git a/Ghidra/Features/SourceCodeLookup/src/main/help/help/shared/note.png b/Ghidra/Features/SourceCodeLookup/src/main/help/help/shared/note.png deleted file mode 100644 index 51e1c8f8c1..0000000000 Binary files a/Ghidra/Features/SourceCodeLookup/src/main/help/help/shared/note.png and /dev/null differ diff --git a/Ghidra/Features/SourceCodeLookup/src/main/help/help/shared/note.yellow.png b/Ghidra/Features/SourceCodeLookup/src/main/help/help/shared/note.yellow.png deleted file mode 100644 index f8ab6489f2..0000000000 Binary files a/Ghidra/Features/SourceCodeLookup/src/main/help/help/shared/note.yellow.png and /dev/null differ diff --git a/Ghidra/Features/SourceCodeLookup/src/main/help/help/shared/tip.png b/Ghidra/Features/SourceCodeLookup/src/main/help/help/shared/tip.png deleted file mode 100644 index 209f1d28c8..0000000000 Binary files a/Ghidra/Features/SourceCodeLookup/src/main/help/help/shared/tip.png and /dev/null differ diff --git a/Ghidra/Features/SourceCodeLookup/src/main/help/help/topics/SourceCodeLookupPlugin/Source_Code_Lookup.html b/Ghidra/Features/SourceCodeLookup/src/main/help/help/topics/SourceCodeLookupPlugin/Source_Code_Lookup.html index 0f7755b4de..3e0dc964d7 100644 --- a/Ghidra/Features/SourceCodeLookup/src/main/help/help/topics/SourceCodeLookupPlugin/Source_Code_Lookup.html +++ b/Ghidra/Features/SourceCodeLookup/src/main/help/help/topics/SourceCodeLookupPlugin/Source_Code_Lookup.html @@ -8,7 +8,7 @@Source Code Lookup Plugin - + @@ -19,7 +19,7 @@Source Code Lookup attempts to look up a symbol contained within a Ghidra program, in the source of a C/C++ Eclipse project.
-
This plugin requires that Eclipse, +
This plugin requires that Eclipse, the Eclipse GhidraDev plugin, and the Eclipse CDT plugin are installed on your system.
Setting up Eclipse
diff --git a/Ghidra/Features/VersionTracking/certification.manifest b/Ghidra/Features/VersionTracking/certification.manifest index 5d9d2f0f88..3cc0271000 100644 --- a/Ghidra/Features/VersionTracking/certification.manifest +++ b/Ghidra/Features/VersionTracking/certification.manifest @@ -9,17 +9,12 @@ data/version.tracking.theme.properties||GHIDRA||||END| src/main/docs/VTClasses.png||GHIDRA||reviewed||END| src/main/docs/VTGuiImpl.png||GHIDRA||reviewed||END| src/main/help/help/TOC_Source.xml||GHIDRA||reviewed||END| -src/main/help/help/shared/arrow.gif||GHIDRA||reviewed||END| -src/main/help/help/shared/close16.gif||GHIDRA||reviewed||END| -src/main/help/help/shared/note.png||Oxygen Icons - LGPL 3.0|||oxygen|END| -src/main/help/help/shared/note.yellow.png||Oxygen Icons - LGPL 3.0|||oxygen|END| -src/main/help/help/shared/tip.png||Oxygen Icons - LGPL 3.0|||oxygen|END| src/main/help/help/topics/VersionTrackingPlugin/VT_Correlators.html||GHIDRA||||END| -src/main/help/help/topics/VersionTrackingPlugin/VT_Preconditions.html||GHIDRA||reviewed||END| +src/main/help/help/topics/VersionTrackingPlugin/VT_Preconditions.html||GHIDRA||||END| src/main/help/help/topics/VersionTrackingPlugin/VT_Tool.html||GHIDRA||||END| -src/main/help/help/topics/VersionTrackingPlugin/VT_Wizard.html||GHIDRA||reviewed||END| -src/main/help/help/topics/VersionTrackingPlugin/VT_Workflow.html||GHIDRA||reviewed||END| -src/main/help/help/topics/VersionTrackingPlugin/Version_Tracking_Intro.html||GHIDRA||reviewed||END| +src/main/help/help/topics/VersionTrackingPlugin/VT_Wizard.html||GHIDRA||||END| +src/main/help/help/topics/VersionTrackingPlugin/VT_Workflow.html||GHIDRA||||END| +src/main/help/help/topics/VersionTrackingPlugin/Version_Tracking_Intro.html||GHIDRA||||END| src/main/help/help/topics/VersionTrackingPlugin/images/ActionsMenu_DropDown.png||GHIDRA||reviewed||END| src/main/help/help/topics/VersionTrackingPlugin/images/ApplyAdd.png||GHIDRA|||Captured on Mac using Grab.|END| src/main/help/help/topics/VersionTrackingPlugin/images/ApplyReplace.png||GHIDRA|||Captured on Mac using Grab.|END| diff --git a/Ghidra/Features/VersionTracking/data/version.tracking.theme.properties b/Ghidra/Features/VersionTracking/data/version.tracking.theme.properties index 86ca1541f4..2583530b49 100644 --- a/Ghidra/Features/VersionTracking/data/version.tracking.theme.properties +++ b/Ghidra/Features/VersionTracking/data/version.tracking.theme.properties @@ -1,7 +1,7 @@ [Defaults] color.fg.version.tracking.tooltip = gray - + color.bg.version.tracking.dual.listing.highlight.markup.applied = rgb(150, 220, 150) // green color.bg.version.tracking.dual.listing.highlight.markup.unapplied = rgb(255, 170, 85) // orange color.bg.version.tracking.dual.listing.highlight.markup.ignored = gainsboro // gray @@ -51,6 +51,10 @@ icon.version.tracking.substract = list-remove.png icon.version.tracking.replace = sync_enabled.png icon.version.tracking.auto = wizard.png + +icon.version.tracking.action.match.apply.blocked = icon.lock{icon.checkmark.green[size(12,12)][move(4,0)]} +icon.version.tracking.action.function.filter.not.accepted = icon.flag{dialog-cancel.png[size(10,10)][move(6,6)]} + icon.version.tracking.action.clear.match = undo-apply.png icon.version.tracking.action.create.implied.match = flag.png icon.version.tracking.action.create.manual.match = Plus.png diff --git a/Ghidra/Features/VersionTracking/src/main/help/help/shared/Frontpage.css b/Ghidra/Features/VersionTracking/src/main/help/help/shared/Frontpage.css deleted file mode 100644 index 557c37ca39..0000000000 --- a/Ghidra/Features/VersionTracking/src/main/help/help/shared/Frontpage.css +++ /dev/null @@ -1,64 +0,0 @@ -/* ### - * 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-like formatting for things such as file system paths and proper names of classes, - methods, etc. To apply this to a file path, use this syntax: -...
-*/ -code { color: black; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } -code.path { color: #4682B4; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } diff --git a/Ghidra/Features/VersionTracking/src/main/help/help/shared/arrow.gif b/Ghidra/Features/VersionTracking/src/main/help/help/shared/arrow.gif deleted file mode 100644 index bcb3db7057..0000000000 Binary files a/Ghidra/Features/VersionTracking/src/main/help/help/shared/arrow.gif and /dev/null differ diff --git a/Ghidra/Features/VersionTracking/src/main/help/help/shared/close16.gif b/Ghidra/Features/VersionTracking/src/main/help/help/shared/close16.gif deleted file mode 100644 index f523864639..0000000000 Binary files a/Ghidra/Features/VersionTracking/src/main/help/help/shared/close16.gif and /dev/null differ diff --git a/Ghidra/Features/VersionTracking/src/main/help/help/shared/note.png b/Ghidra/Features/VersionTracking/src/main/help/help/shared/note.png deleted file mode 100644 index 51e1c8f8c1..0000000000 Binary files a/Ghidra/Features/VersionTracking/src/main/help/help/shared/note.png and /dev/null differ diff --git a/Ghidra/Features/VersionTracking/src/main/help/help/shared/note.yellow.png b/Ghidra/Features/VersionTracking/src/main/help/help/shared/note.yellow.png deleted file mode 100644 index f8ab6489f2..0000000000 Binary files a/Ghidra/Features/VersionTracking/src/main/help/help/shared/note.yellow.png and /dev/null differ diff --git a/Ghidra/Features/VersionTracking/src/main/help/help/shared/tip.png b/Ghidra/Features/VersionTracking/src/main/help/help/shared/tip.png deleted file mode 100644 index 209f1d28c8..0000000000 Binary files a/Ghidra/Features/VersionTracking/src/main/help/help/shared/tip.png and /dev/null differ diff --git a/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/VT_Correlators.html b/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/VT_Correlators.html index 17209b1a1d..27d94971a2 100644 --- a/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/VT_Correlators.html +++ b/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/VT_Correlators.html @@ -7,7 +7,7 @@Version Tracking Program Correlators - + @@ -117,7 +117,7 @@Function Match Correlators
-
Note that functions MUST be defined in the +
Note that functions MUST be defined in the destination program for these correlators to find matches.
Exact Function Bytes Match
@@ -202,7 +202,7 @@ destination address -
NOTE: this format is provided for users who +
-
NOTE: this format is provided for users who have existing results that absolutely positively can't see any way to get them into Version Tracking another way. It is legacy, deprecated, and will likely be replaced in the future with a new import format (most likely a legacy format -> new data import format conversion @@ -394,7 +394,7 @@
NOTE: If no matches are returned, make sure there are existing ACCEPTED matches +
NOTE: If no matches are returned, make sure there are existing ACCEPTED matches (
). This means you will need to run other correlators first, such as
- Exact Data Match
diff --git a/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/VT_Preconditions.html b/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/VT_Preconditions.html index a42802db0b..f248e81641 100644 --- a/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/VT_Preconditions.html +++ b/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/VT_Preconditions.html @@ -7,7 +7,7 @@Version Tracking Preconditions - + diff --git a/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/VT_Tool.html b/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/VT_Tool.html index 065441c98f..a1b33a9003 100644 --- a/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/VT_Tool.html +++ b/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/VT_Tool.html @@ -7,7 +7,7 @@Version Tracking Tool - + @@ -139,7 +139,7 @@- Combined Function and Data Reference Correlator
-diff --git a/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/VT_Wizard.html b/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/VT_Wizard.html index 1ec9c3a59a..a4debe9092 100644 --- a/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/VT_Wizard.html +++ b/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/VT_Wizard.html @@ -7,7 +7,7 @@
NOTE: It is unlikely that all matches in the entire program will be made and there is no guarantee that no mistakes will be made. This +
NOTE: It is unlikely that all matches in the entire program will be made and there is no guarantee that no mistakes will be made. This action was designed to try to save as much time as possible while also taking a conservative approach to the automation.
Version Tracking Wizard - + @@ -182,7 +182,7 @@ run.-
+
@@ -236,7 +236,7 @@ defined in the source program when determining match results.
NOTE: This option will be disabled when the correlator does not support limiting search scope.
-
+
NOTE: This is the default option which you normally get if you don't check the Limit source and destination address sets box on the previous panel for Address Set Options. @@ -252,7 +252,7 @@ want to limit the addresses using a selection.
-
+
NOTE: This option will be disabled if there wasn't a selection in the version tracking Source Tool when the Add To Session version tracking wizard was started. @@ -290,7 +290,7 @@ address ranges from the Address Ranges list that are currently selected.
-
+
@@ -317,7 +317,7 @@ defined in the destination program when determining match results.
NOTE: This button will be disabled if the Specify My Own Address Ranges option isn't selected or if there isn't an address range selected in the list.
-
+
NOTE: This is the default option which you normally get if you don't check the Limit source and destination address sets box on the previous panel for Address Set Options. @@ -333,7 +333,7 @@ want to limit the addresses using a selection.
-
+
NOTE: This option will be disabled if there wasn't a selection in the version tracking Destination Tool when the Add To Session version tracking wizard was started. @@ -371,7 +371,7 @@ address ranges from the Address Ranges list that are currently selected.
-
+
diff --git a/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/VT_Workflow.html b/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/VT_Workflow.html index c14d0f93fc..9d356d4b3f 100644 --- a/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/VT_Workflow.html +++ b/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/VT_Workflow.html @@ -7,7 +7,7 @@
NOTE: This button will be disabled if the Specify My Own Address Ranges option isn't selected or if there isn't an address range selected in the list.
Version Tracking Workflow - + @@ -133,7 +133,7 @@ correlators can ignore them and not waste time or memory trying to identify them.-
+
NOTE: It is also a good idea to check for wildly differing lengths between matches in case there is the case where a wrapper function in one program has the same name as the actual function in the other program. You can either take care of length @@ -239,7 +239,7 @@
-
+
NOTE: For any of the following runs, there is an option to Exclude Accepted Matches so that the correlator being run will not report matches that are already made. It is up to personal preference whether to use this option. In large binaries it will speed @@ -387,7 +387,7 @@
-
NOTE: This is only one sample workflow +
diff --git a/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/Version_Tracking_Intro.html b/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/Version_Tracking_Intro.html index b905e5d738..cc83b2b43f 100644 --- a/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/Version_Tracking_Intro.html +++ b/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/Version_Tracking_Intro.html @@ -7,7 +7,7 @@
NOTE: This is only one sample workflow for matching all possible functions. In general, the exact, one-to-one correlators should be run first and the rest can be used in any order. Users will come up with their own preferences for workflow as they get used to the tool.
Version Tracking Introduction - + diff --git a/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/providers/VT_Apply_Options.html b/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/providers/VT_Apply_Options.html index b018d183ad..c200601658 100644 --- a/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/providers/VT_Apply_Options.html +++ b/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/providers/VT_Apply_Options.html @@ -7,7 +7,7 @@Version Tracking Apply Options - + @@ -19,7 +19,7 @@ The actions taken when accepting match or applying its markup are defined as options, which can be changed by the user. The sections below describe the various options available and list the default values. To access the options you can click the -icon on the +
icon on the Matches Table. diff --git a/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/providers/VT_Functions_Table.html b/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/providers/VT_Functions_Table.html index 7637b86497..b2d3066412 100644 --- a/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/providers/VT_Functions_Table.html +++ b/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/providers/VT_Functions_Table.html @@ -7,7 +7,7 @@
Version Tracking Functions Table - + @@ -91,7 +91,7 @@Create Manual Match
- The Create Manual Match action (
) allows the user to create a match for the + The Create Manual Match action (
) allows the user to create a match for the selected function in source table to the selected function in the destination table. The action will be disabled if you do not have a single function selected in both tables. @@ -101,7 +101,7 @@
Create And Accept Manual Match
- The Create And Accept Manual Match action (
) allows the user to create a match for the + The Create And Accept Manual Match action (
) allows the user to create a match for the selected function in source table to the selected function in the destination table and then automatically accept it. The action will be disabled if you do not have a single function selected in both tables. @@ -112,7 +112,7 @@
Create And Apply Manual Match
- The Create And Apply Manual Match action (
) allows the user to create a match for the + The Create And Apply Manual Match action (
) allows the user to create a match for the selected function in source table to the selected function in the destination table and then accept it and then automatically apply any appropriate markup items from the source to the destination program. The action will be disabled if you do not have a single function selected in both @@ -148,12 +148,12 @@
- - Show All Functions (
) - + Show All Functions (
) - Shows all functions found in the source and destination programs.
- - Show Only Unmatched Functions (
) - + Show Only Unmatched Functions (
) - Shows only functions in the source and destination programs that are not part of any match. This is useful for showing functions that were not matched by any of the @@ -161,7 +161,8 @@
- - Show Only Unaccepted Match Functions (
) - + Show Only Unaccepted Match Functions + (
) - Shows only functions in the source and destination programs that are not part of an accepted match. This means that the functions visible in the tables will either be part of no match or part of a @@ -176,7 +177,7 @@
The Toggle Visibility of Dual Comparison Views action - (
) will + (
) will toggle whether or not a function comparison panel is displayed below the source and destination function tables. As you select a function in the source or destination table, it is displayed in the function comparison panel so you can visually compare diff --git a/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/providers/VT_Implied_Matches_Table.html b/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/providers/VT_Implied_Matches_Table.html index 1c6697819f..c8d57239ca 100644 --- a/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/providers/VT_Implied_Matches_Table.html +++ b/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/providers/VT_Implied_Matches_Table.html @@ -7,7 +7,7 @@
Version Tracking Implied Matches Table - + @@ -155,20 +155,20 @@diff --git a/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/providers/VT_Markup_Table.html b/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/providers/VT_Markup_Table.html index 2ef9974123..d6a0e6e640 100644 --- a/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/providers/VT_Markup_Table.html +++ b/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/providers/VT_Markup_Table.html @@ -7,7 +7,7 @@Navigate References
When this action toggled on, selecting a row in the + "images/locationOut.gif" border="0"> When this action toggled on, selecting a row in the implied matches table will cause the sub-tools to navigate to the From Address of the references used to create the selected implied match.
Navigate Match
When this action toggled on, selecting a row in the + "images/locationIn.gif" border="0"> When this action toggled on, selecting a row in the implied matches table will cause the sub-tools to navigate to the source and destination addresses of the selected implied match.
The Accept Implied Match
action creates a match in the Matches Table if one + src="images/flag.png" border="0"> action creates a match in the Matches Table if one does not already exist, and then sets its status as 'Accepted'. Note, the Implied Matches shown in the table are not saved unless this action is applied.
Version Tracking Markup Items Table - + @@ -445,7 +445,7 @@ Don't Care- +
![]()
@@ -460,7 +460,7 @@ Don't Know
- +
![]()
@@ -476,7 +476,7 @@ Conflict
- +
![]()
@@ -491,7 +491,7 @@ Reject
- +
![]()
@@ -506,7 +506,7 @@ Failed
- +
![]()
@@ -555,7 +555,7 @@ Apply (Use Options; Force If Necessary)
- +
![]()
This action applies the selected markup items using the current apply @@ -572,7 +572,7 @@ Apply (Add As Primary) - +
![]()
This action applies the source value for each selected markup item @@ -586,7 +586,7 @@ Apply (Add) - +
![]()
This action applies the source value for each selected markup item by adding it @@ -599,7 +599,7 @@ Apply (Replace Default Only) - +
![]()
This action applies the source value for each selected markup item by @@ -613,7 +613,7 @@ Apply (Replace First Only) - +
![]()
This action applies the source value for each selected markup item by @@ -629,7 +629,7 @@ Apply (Replace) - +
![]()
This action applies the source value for each selected markup item by @@ -652,7 +652,7 @@ Don't Care - +
![]()
This action sets the status of this markup item to Don't Care. This indicates that @@ -666,7 +666,7 @@ Don't Know - +
![]()
This action sets the status of this markup item to Don't Know. This indicates that @@ -680,7 +680,7 @@ Reject - +
![]()
This action sets the status of this markup item to rejected. Once a markup item is @@ -693,7 +693,7 @@ Edit Destination Address - +
![]()
This action provides an edit address dialog that allows you to specify a destination @@ -709,7 +709,7 @@ Reset - +
![]()
This action resets the markup item back to its original unapplied state and @@ -734,12 +734,12 @@ - The
@@ -805,7 +805,7 @@button to the right of the + The
button to the right of the primary text filter will show the ancillary filters that are available. You can apply an ancillary filter by removing the check mark from its box and pressing the Apply or OK button. Once an ancillary filter is applied the ancillary filters icon will change to -
. Further, +
. Further, the icon may occasionally flash as a reminder that there is a filter applied. The following image shows the available ancillary filters.
-
The window title above the Markup Items table displays an +
The window title above the Markup Items table displays an indicator that a filter is set on the markup items table and not all items are shown. For example, the title might contain "2 markup items (of 8)" indicating 6 items are hidden or filtered out. @@ -870,7 +870,7 @@
- The Toggle Dual Listing Visibility
toolbar + The Toggle Dual Listing Visibility
toolbar action allows you to control whether or not the dual listing is displayed. When it is toggled on (appearing pressed in) the dual listings are shown below the Markup Items table.
@@ -892,7 +892,7 @@- From the toolbar menu
+ From the toolbar menu
there are selectable options that apply to the dual listing.
@@ -992,7 +992,7 @@ item's status should change in the table.
-
Some markup item's can only be applied at a +
Some markup item's can only be applied at a particular spot. For example, a function's name or signature can only be applied to the function. Therefore the destination function's entry point is the expected destination address. In this case, the destination diff --git a/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/providers/VT_Matches_Table.html b/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/providers/VT_Matches_Table.html index ee9a30a72c..9e944764ab 100644 --- a/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/providers/VT_Matches_Table.html +++ b/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/providers/VT_Matches_Table.html @@ -7,7 +7,7 @@
Version Tracking Matches Table - + @@ -76,14 +76,14 @@REJECTED -+ The match has been rejected by the user. BLOCKED -+ The match can't be accepted because a conflicting match has been accepted. @@ -96,7 +96,7 @@ @@ -274,49 +274,49 @@ ACCEPTED -+ The match has been accepted. The Accept Match -
+
action marks a match (and all matches that have the same association) as being accepted. All competing matches will become blocked. - There are options to auto-apply + There are options to auto-apply function names and create implied matches when accepting a match.
The Apply Blocked Match -
+
action will clear conflicting matches and then apply the match, which had been blocked by those conflicts, and its markup items according to the apply settings.
The Apply Markup -
+
action will attempt to apply all the markup items for the match according to the apply settings. If the match is not already accepted, it will first be marked as accepted.
The Reject Match -
+
action will mark the match as rejected.
The Choose Match Tag -
+
action allows the user to set a user-defined tag that has been created via the Edit Tag action.
The Remove Match Tag -
+
action removes any tag associated with the selected match(es)
The Edit Tag -
-+
action allows the user to manage (create and delete) custom tags that can be applied to matches.
The Clear Match
-action will reset the match to unaccepted and undo any applied markup.
The Remove Match
action will remove a manually created match from the matches table.
The Make Selections
@@ -324,7 +324,7 @@
The Table Selection Mode -
@@ -334,7 +334,7 @@ As you make changes to a match, the table will update. Sometimes as the table updates the changed match will disappear from the table (for example, if your filter settings are setup to hide applied matches and you have just applied a match). The - default behavior (allows you to change the behavior +
allows you to change the behavior of the match table with regard to how it tracks table selections as you apply matches.
) is to keep + default behavior (
) is to keep the table selection on the same row, regardless of whether the match changes its position in the table or is removed from the table altogether. @@ -351,7 +351,7 @@
- + Track Selected Index Causes the match table to maintain the selection for the selected row. So, for example, if you change a match, and that @@ -361,7 +361,7 @@ - + Track Selected Match Causes the match table to maintain the selection for the selected match. So, for example, if you change a match, @@ -371,7 +371,7 @@ - + No Selection Tracking In this state the table will not restore selections. If changes are made to matches, the selection will be lost. @@ -385,7 +385,7 @@ - The Settings
@@ -411,9 +411,9 @@ -action will bring up the version tracking accept and apply options.
Finally, the
will show the ancillary filters +
Finally, the
will show the ancillary filters available. The table below lists and describes the available filters. When an ancillary - filter is applied, the icon will change to
. + filter is applied, the icon will change to
. Further, the icon may occasionally flash as a reminder that there is a filter applied.
diff --git a/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/providers/VT_Related_Associations_Table.html b/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/providers/VT_Related_Associations_Table.html index 4c46eac2e5..8993671b89 100644 --- a/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/providers/VT_Related_Associations_Table.html +++ b/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/providers/VT_Related_Associations_Table.html @@ -7,7 +7,7 @@
Version Tracking Related Matches Table - + @@ -70,7 +70,7 @@ accepted match per function.-@@ -102,7 +102,7 @@ arrived at by different correlation algorithms.
Selecting a row in the Related +
Selecting a row in the Related Match Table causes the Destination Tool to navigate to that selected destination address.
-diff --git a/Ghidra/Features/VersionTracking/src/main/java/ghidra/feature/vt/gui/actions/ApplyBlockedMatchAction.java b/Ghidra/Features/VersionTracking/src/main/java/ghidra/feature/vt/gui/actions/ApplyBlockedMatchAction.java index 14c44af73d..19602931fa 100644 --- a/Ghidra/Features/VersionTracking/src/main/java/ghidra/feature/vt/gui/actions/ApplyBlockedMatchAction.java +++ b/Ghidra/Features/VersionTracking/src/main/java/ghidra/feature/vt/gui/actions/ApplyBlockedMatchAction.java @@ -17,10 +17,13 @@ package ghidra.feature.vt.gui.actions; import java.util.*; +import javax.swing.Icon; + import docking.ActionContext; import docking.action.DockingAction; import docking.action.MenuData; import docking.widgets.OptionDialog; +import generic.theme.GIcon; import ghidra.feature.vt.api.main.*; import ghidra.feature.vt.gui.plugin.VTController; import ghidra.feature.vt.gui.plugin.VTPlugin; @@ -28,7 +31,6 @@ import ghidra.feature.vt.gui.provider.matchtable.VTMatchContext; import ghidra.feature.vt.gui.task.ApplyBlockedMatchTask; import ghidra.util.HTMLUtilities; import ghidra.util.HelpLocation; -import resources.Icons; /** * The ApplyBlockedMatchAction allows the user to apply a match that is currently blocked. @@ -37,6 +39,9 @@ import resources.Icons; */ public class ApplyBlockedMatchAction extends DockingAction { + public static final Icon APPLY_BLOCKED_MATCH_ICON = + new GIcon("icon.version.tracking.action.match.apply.blocked"); + public static String NAME = "Apply Blocked Match"; private static final String MENU_GROUP = VTPlugin.EDIT_MENU_GROUP; @@ -47,7 +52,7 @@ public class ApplyBlockedMatchAction extends DockingAction { this.controller = controller; setPopupMenuData(new MenuData(new String[] { "Apply Blocked Match" }, - Icons.APPLY_BLOCKED_MATCH_ICON, MENU_GROUP)); + APPLY_BLOCKED_MATCH_ICON, MENU_GROUP)); setEnabled(false); setHelpLocation(new HelpLocation("VersionTrackingPlugin", "Apply_Blocked_Match")); diff --git a/Ghidra/Features/VersionTracking/src/main/java/ghidra/feature/vt/gui/provider/functionassociation/VTFunctionAssociationProvider.java b/Ghidra/Features/VersionTracking/src/main/java/ghidra/feature/vt/gui/provider/functionassociation/VTFunctionAssociationProvider.java index 535fc4160c..27adf9bb22 100644 --- a/Ghidra/Features/VersionTracking/src/main/java/ghidra/feature/vt/gui/provider/functionassociation/VTFunctionAssociationProvider.java +++ b/Ghidra/Features/VersionTracking/src/main/java/ghidra/feature/vt/gui/provider/functionassociation/VTFunctionAssociationProvider.java @@ -61,7 +61,6 @@ import ghidra.program.util.*; import ghidra.util.HelpLocation; import ghidra.util.SystemUtilities; import ghidra.util.table.*; -import resources.Icons; /** * Provider for the version tracking function association table. @@ -77,6 +76,8 @@ public class VTFunctionAssociationProvider extends ComponentProviderAdapter private static final String NO_SESSION = "None"; private static final Icon SHOW_LISTINGS_ICON = new GIcon("icon.version.tracking.action.show.listings"); + public static final Icon FILTER_NOT_ACCEPTED_ICON = + new GIcon("icon.version.tracking.action.function.filter.not.accepted"); private static final String SHOW_COMPARE_ACTION_GROUP = "A9_ShowCompare"; // "A9_" forces to right of other dual view actions in toolbar. private static final Color FG_ERROR = new GColor("color.fg.error"); @@ -171,7 +172,7 @@ public class VTFunctionAssociationProvider extends ComponentProviderAdapter ActionState
Selecting a row in this table +
Selecting a row in this table causes the Source Tool to navigate to that selected source address.
unacceptedOnlyActionState = new ActionState<>("Show Only Unaccepted Match Functions", - Icons.FILTER_NOT_ACCEPTED_ICON, SHOW_UNACCEPTED); + FILTER_NOT_ACCEPTED_ICON, SHOW_UNACCEPTED); unacceptedOnlyActionState.setHelpLocation( new HelpLocation("VersionTrackingPlugin", "Show_Unaccepted_Functions")); @@ -218,7 +219,7 @@ public class VTFunctionAssociationProvider extends ComponentProviderAdapter } @Override - public List getPopupActions(Tool tool, ActionContext context) { + public List getPopupActions(Tool t, ActionContext context) { if (context.getComponentProvider() == this) { ListingCodeComparisonPanel dualListingPanel = functionComparisonPanel.getDualListingPanel(); diff --git a/Ghidra/Framework/Docking/certification.manifest b/Ghidra/Framework/Docking/certification.manifest index 1382735c20..80037480e3 100644 --- a/Ghidra/Framework/Docking/certification.manifest +++ b/Ghidra/Framework/Docking/certification.manifest @@ -32,7 +32,6 @@ src/main/resources/images/StackFrame_Red.png||GHIDRA||reviewed||END| src/main/resources/images/accessories-text-editor.png||Tango Icons - Public Domain||||END| src/main/resources/images/application-vnd.oasis.opendocument.spreadsheet-template.png||Oxygen Icons - LGPL 3.0|||oxygen|END| src/main/resources/images/application_xp.png||FAMFAMFAM Icons - CC 2.5|||fam fam|END| -src/main/resources/images/arrow.gif||GHIDRA||||END| src/main/resources/images/bullet_delete.png||FAMFAMFAM Icons - CC 2.5||||END| src/main/resources/images/check.png||GHIDRA||||END| src/main/resources/images/close16.gif||GHIDRA||reviewed||END| @@ -78,8 +77,6 @@ src/main/resources/images/mail-folder-outbox.png||Oxygen Icons - LGPL 3.0|||Oxyg src/main/resources/images/mail-receive.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0)|END| src/main/resources/images/media-playback-start.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0)|END| src/main/resources/images/menu16.gif||GHIDRA||reviewed||END| -src/main/resources/images/note.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0)|END| -src/main/resources/images/note.yellow.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0)|END| src/main/resources/images/oxygen-edit-redo.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0)|END| src/main/resources/images/page_code.png||FAMFAMFAM Icons - CC 2.5||||END| src/main/resources/images/page_excel.png||FAMFAMFAM Icons - CC 2.5||||END| @@ -93,7 +90,6 @@ src/main/resources/images/table_relationship.png||FAMFAMFAM Icons - CC 2.5|||fam src/main/resources/images/tag.png||FAMFAMFAM Icons - CC 2.5|||famfamfam silk icon set|END| src/main/resources/images/text_lowercase.png||FAMFAMFAM Icons - CC 2.5|||famfamfam silk icon set|END| src/main/resources/images/textfield_rename.png||FAMFAMFAM Icons - CC 2.5|||famfamfam silk icon set|END| -src/main/resources/images/tip.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0)|END| src/main/resources/images/trash-empty.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0)|END| src/main/resources/images/user-home.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0)|END| src/main/resources/images/view-filter.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0)|END| diff --git a/Ghidra/Framework/Docking/src/main/help/help/shared/Frontpage.css b/Ghidra/Framework/Docking/src/main/help/help/shared/Frontpage.css deleted file mode 100644 index 557c37ca39..0000000000 --- a/Ghidra/Framework/Docking/src/main/help/help/shared/Frontpage.css +++ /dev/null @@ -1,64 +0,0 @@ -/* ### - * 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-like formatting for things such as file system paths and proper names of classes, - methods, etc. To apply this to a file path, use this syntax: - ...
-*/ -code { color: black; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } -code.path { color: #4682B4; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } diff --git a/Ghidra/Framework/Docking/src/main/help/help/topics/Misc/Welcome_to_Help.htm b/Ghidra/Framework/Docking/src/main/help/help/topics/Misc/Welcome_to_Help.htm index 4291313572..2be204c481 100644 --- a/Ghidra/Framework/Docking/src/main/help/help/topics/Misc/Welcome_to_Help.htm +++ b/Ghidra/Framework/Docking/src/main/help/help/topics/Misc/Welcome_to_Help.htm @@ -7,7 +7,7 @@ - + diff --git a/Ghidra/Framework/Docking/src/main/help/help/topics/Theming/ThemingDeveloperDocs.html b/Ghidra/Framework/Docking/src/main/help/help/topics/Theming/ThemingDeveloperDocs.html index 086394618e..ff9ab1c82f 100644 --- a/Ghidra/Framework/Docking/src/main/help/help/topics/Theming/ThemingDeveloperDocs.html +++ b/Ghidra/Framework/Docking/src/main/help/help/topics/Theming/ThemingDeveloperDocs.html @@ -4,7 +4,7 @@ - +Developer's Guide diff --git a/Ghidra/Framework/Docking/src/main/help/help/topics/Theming/ThemingInternals.html b/Ghidra/Framework/Docking/src/main/help/help/topics/Theming/ThemingInternals.html index 6a72228954..33ea671d36 100644 --- a/Ghidra/Framework/Docking/src/main/help/help/topics/Theming/ThemingInternals.html +++ b/Ghidra/Framework/Docking/src/main/help/help/topics/Theming/ThemingInternals.html @@ -6,7 +6,7 @@ "HTML Tidy for Java (vers. 2009-12-01), see jtidy.sourceforge.net">Theming Architecture - + diff --git a/Ghidra/Framework/Docking/src/main/help/help/topics/Theming/ThemingOverview.html b/Ghidra/Framework/Docking/src/main/help/help/topics/Theming/ThemingOverview.html index d446609d85..c0018e699c 100644 --- a/Ghidra/Framework/Docking/src/main/help/help/topics/Theming/ThemingOverview.html +++ b/Ghidra/Framework/Docking/src/main/help/help/topics/Theming/ThemingOverview.html @@ -6,7 +6,7 @@ "HTML Tidy for Java (vers. 2009-12-01), see jtidy.sourceforge.net">General Overivew - + diff --git a/Ghidra/Framework/Docking/src/main/help/help/topics/Theming/ThemingUserDocs.html b/Ghidra/Framework/Docking/src/main/help/help/topics/Theming/ThemingUserDocs.html index eb9ff2d102..97ad5be37f 100644 --- a/Ghidra/Framework/Docking/src/main/help/help/topics/Theming/ThemingUserDocs.html +++ b/Ghidra/Framework/Docking/src/main/help/help/topics/Theming/ThemingUserDocs.html @@ -6,7 +6,7 @@ "HTML Tidy for Java (vers. 2009-12-01), see jtidy.sourceforge.net">Theming User Documentation - + @@ -109,7 +109,7 @@To change the current theme, first bring up the Theme Dialog. The Theme Dialog can be invoked from the main application menu using the - Edit
Theme menu. From the Theme + Edit
Theme menu. From the Theme Dialog you can select a theme from the combo box at the top.
Modifying Theme Values
@@ -117,7 +117,7 @@All the colors, fonts, and icons that have been registered with the theme API can be modified using the Theme Dialog. The Theme Dialog can be invoked from the main application menu using the - Edit
@@ -125,7 +125,7 @@Theme menu. Choose the + Edit
Theme menu. Choose the tab for the appropriate type and double-click on the ID column or Current Value column of the item you want to change. An editor for that type will appear.
To reset an individual value back to its original theme value, from the main application menu invoke the Theme Dialog using the Edit
@@ -134,8 +134,8 @@Theme Dialog using the Edit
Theme menu. Choose the tab for the appropriate type and right-click on the row of the value you want to reset, then choose the Restore Value menu item.
To reset all values back to the original values established by the current theme, from the main application menu invoke - the Edit
+ the EditTheme Actions
Reset Theme Values menu.
Theme Actions
Reset Theme Values menu.
Saving Themes
@@ -149,8 +149,8 @@To delete a custom saved theme, from the main application menu invoke the Edit
@@ -158,8 +158,8 @@Theme Actions
Delete Theme... menu. This will bring up a dialog + "help/shared/arrow.gif" border="0">Theme Actions
Delete Theme... menu. This will bring up a dialog with a list of themes that can be deleted. Select the theme to delete and press the Ok button.
To export a theme so that it can be shared with others, from the main application menu invoke the Edit
@@ -167,8 +167,8 @@Theme Actions
Export Theme... menu. You will first be asked if + src="help/shared/arrow.gif" border="0">Theme Actions
Export Theme... menu. You will first be asked if you want to export as a regular theme file or as a Zip file. The Zip file option is useful if the current theme has icon values that are not included with standard application. In that case, the Zip file will include those non-standard icon files.
Importing Themes
To import a theme, from the main application menu - invoke the Edit
diff --git a/Ghidra/Framework/Docking/src/main/resources/images/arrow.gif b/Ghidra/Framework/Docking/src/main/resources/images/arrow.gif deleted file mode 100644 index bcb3db7057..0000000000 Binary files a/Ghidra/Framework/Docking/src/main/resources/images/arrow.gif and /dev/null differ diff --git a/Ghidra/Framework/Docking/src/main/resources/images/note.png b/Ghidra/Framework/Docking/src/main/resources/images/note.png deleted file mode 100644 index 51e1c8f8c1..0000000000 Binary files a/Ghidra/Framework/Docking/src/main/resources/images/note.png and /dev/null differ diff --git a/Ghidra/Framework/Docking/src/main/resources/images/note.yellow.png b/Ghidra/Framework/Docking/src/main/resources/images/note.yellow.png deleted file mode 100644 index f8ab6489f2..0000000000 Binary files a/Ghidra/Framework/Docking/src/main/resources/images/note.yellow.png and /dev/null differ diff --git a/Ghidra/Framework/Docking/src/main/resources/images/tip.png b/Ghidra/Framework/Docking/src/main/resources/images/tip.png deleted file mode 100644 index 209f1d28c8..0000000000 Binary files a/Ghidra/Framework/Docking/src/main/resources/images/tip.png and /dev/null differ diff --git a/Ghidra/Framework/Gui/certification.manifest b/Ghidra/Framework/Gui/certification.manifest index efd2ca259d..555f8f58b3 100644 --- a/Ghidra/Framework/Gui/certification.manifest +++ b/Ghidra/Framework/Gui/certification.manifest @@ -6,5 +6,59 @@ ##MODULE IP: Tango Icons - Public Domain .classpath||GHIDRA||||END| Module.manifest||GHIDRA||||END| +data/gui.theme.properties||GHIDRA||||END| src/main/java/ghidra/framework/options/package.html||GHIDRA||||END| src/main/java/ghidra/util/layout/package.html||GHIDRA||||END| +src/main/resources/images/EmptyIcon.gif||GHIDRA||||END| +src/main/resources/images/EmptyIcon16.gif||GHIDRA||||END| +src/main/resources/images/GhidraIcon128.png||GHIDRA||||END| +src/main/resources/images/GhidraIcon16.png||GHIDRA||||END| +src/main/resources/images/GhidraIcon24.png||GHIDRA||||END| +src/main/resources/images/GhidraIcon256.png||GHIDRA||||END| +src/main/resources/images/GhidraIcon32.png||GHIDRA||||END| +src/main/resources/images/GhidraIcon40.png||GHIDRA||||END| +src/main/resources/images/GhidraIcon48.png||GHIDRA||||END| +src/main/resources/images/GhidraIcon64.png||GHIDRA||||END| +src/main/resources/images/Plus2.png||GHIDRA||||END| +src/main/resources/images/checkmark_green.gif||GHIDRA||||END| +src/main/resources/images/closedSmallFolder.png||Modified Nuvola Icons - LGPL 2.1||||END| +src/main/resources/images/collapse_all.png||GHIDRA||||END| +src/main/resources/images/core.png||Nuvola Icons - LGPL 2.1|||Nuvola icon set|END| +src/main/resources/images/core24.png||Nuvola Icons - LGPL 2.1|||Nuvola icon set|END| +src/main/resources/images/dialog-cancel.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0)|END| +src/main/resources/images/disk.png||FAMFAMFAM Icons - CC 2.5|||famfamfam silk icon set|END| +src/main/resources/images/disk_save_as.png||FAMFAMFAM Icons - CC 2.5||||END| +src/main/resources/images/down.png||GHIDRA||||END| +src/main/resources/images/edit-cut.png||Tango Icons - Public Domain|||tango icon set|END| +src/main/resources/images/edit-delete.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0)|END| +src/main/resources/images/emblem-important.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0)|END| +src/main/resources/images/erase16.png||GHIDRA||||END| +src/main/resources/images/error.png||Nuvola Icons - LGPL 2.1|||Nuvola icon set|END| +src/main/resources/images/exec.png||Crystal Clear Icons - LGPL 2.1||||END| +src/main/resources/images/expand_all.png||GHIDRA||||END| +src/main/resources/images/flag.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0)|END| +src/main/resources/images/go-home.png||Tango Icons - Public Domain|||tango icon set|END| +src/main/resources/images/help-browser.png||Tango Icons - Public Domain|||tango icon set|END| +src/main/resources/images/information.png||FAMFAMFAM Icons - CC 2.5|||famfamfam silk icon set|END| +src/main/resources/images/kgpg.png||Nuvola Icons - LGPL 2.1|||Nuvola icon set|END| +src/main/resources/images/left.alternate.png||GHIDRA||||END| +src/main/resources/images/left.png||GHIDRA||||END| +src/main/resources/images/locationIn.gif||GHIDRA||||END| +src/main/resources/images/locationOut.gif||GHIDRA||||END| +src/main/resources/images/openFolder.png||Modified Nuvola Icons - LGPL 2.1||||END| +src/main/resources/images/openSmallFolder.png||Modified Nuvola Icons - LGPL 2.1||||END| +src/main/resources/images/page_paste.png||FAMFAMFAM Icons - CC 2.5|||famfamfam silk icon set|END| +src/main/resources/images/page_white_copy.png||FAMFAMFAM Icons - CC 2.5|||famfamfam silk icon set|END| +src/main/resources/images/process-stop.png||Tango Icons - Public Domain|||tango icon set|END| +src/main/resources/images/program_obj.png||GHIDRA||||END| +src/main/resources/images/reload3.png||Crystal Clear Icons - LGPL 2.1||||END| +src/main/resources/images/right.alternate.png||GHIDRA||||END| +src/main/resources/images/right.png||GHIDRA||||END| +src/main/resources/images/software-update-urgent.png||Tango Icons - Public Domain|||tango icon set|END| +src/main/resources/images/sortascending.png||GHIDRA||||END| +src/main/resources/images/sortdescending.png||GHIDRA||||END| +src/main/resources/images/text_align_justify.png||FAMFAMFAM Icons - CC 2.5|||famfamfam silk icon set|END| +src/main/resources/images/up.png||GHIDRA||||END| +src/main/resources/images/video-x-generic16.png||Tango Icons - Public Domain|||tango icon set|END| +src/main/resources/images/viewmagfit.png||Nuvola Icons - LGPL 2.1|||Nuvola icon set|END| +src/main/resources/images/warning.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0)|END| diff --git a/Ghidra/Framework/Generic/data/generic.theme.properties b/Ghidra/Framework/Gui/data/gui.theme.properties similarity index 90% rename from Ghidra/Framework/Generic/data/generic.theme.properties rename to Ghidra/Framework/Gui/data/gui.theme.properties index 8db3c102fb..bf24e7d5be 100644 --- a/Ghidra/Framework/Generic/data/generic.theme.properties +++ b/Ghidra/Framework/Gui/data/gui.theme.properties @@ -63,8 +63,6 @@ icon.make.selection = text_align_justify.png icon.arrow.down.right = viewmagfit.png[rotate(90)] icon.arrow.up.left = viewmagfit.png[rotate(275)] -icon.filter.not.accepted = icon.flag{dialog-cancel.png[size(10,10)][move(6,6)]} -icon.blocked.match = icon.lock{icon.checkmark.green[size(12,12)][move(4,0)]} diff --git a/Ghidra/Framework/Gui/src/main/java/ghidra/util/HelpLocation.java b/Ghidra/Framework/Gui/src/main/java/ghidra/util/HelpLocation.java index 20000ebd7e..867bf7451a 100644 --- a/Ghidra/Framework/Gui/src/main/java/ghidra/util/HelpLocation.java +++ b/Ghidra/Framework/Gui/src/main/java/ghidra/util/HelpLocation.java @@ -38,7 +38,7 @@ public class HelpLocation { * to locate the given resource. This is meant to be used with shared help resources, such * as images. */ - public static final String HELP_SHARED = "help/shared"; + public static final String HELP_SHARED = "help/shared/"; private String id; private URL url; @@ -189,6 +189,7 @@ public class HelpLocation { /** * Returns the topic name/path if known, otherwise null. + * @return the topic name/path if known, otherwise null. */ public String getTopic() { return topic; @@ -196,6 +197,7 @@ public class HelpLocation { /** * Returns the topic anchor name if known, otherwise null. + * @return the topic anchor name if known, otherwise null. */ public String getAnchor() { return anchor; diff --git a/Ghidra/Framework/Gui/src/main/java/resources/Icons.java b/Ghidra/Framework/Gui/src/main/java/resources/Icons.java index d4708f1232..f7485fb8b2 100644 --- a/Ghidra/Framework/Gui/src/main/java/resources/Icons.java +++ b/Ghidra/Framework/Gui/src/main/java/resources/Icons.java @@ -80,13 +80,8 @@ public class Icons { public static final Icon MAKE_SELECTION_ICON = new GIcon("icon.make.selection"); - // Not necessarily re-usable, but this is needed for the help system; these should - // probably be moved to the client that uses them, while updating the - // help system to use them there. public static final Icon ARROW_DOWN_RIGHT_ICON = new GIcon("icon.arrow.down.right"); public static final Icon ARROW_UP_LEFT_ICON = new GIcon("icon.arrow.up.left"); - public static final Icon FILTER_NOT_ACCEPTED_ICON = new GIcon("icon.filter.not.accepted"); - public static final Icon APPLY_BLOCKED_MATCH_ICON = new GIcon("icon.blocked.match"); /** * Returns true if the given string is a Java code snippet that references this class diff --git a/Ghidra/Framework/Gui/src/main/java/resources/ResourceManager.java b/Ghidra/Framework/Gui/src/main/java/resources/ResourceManager.java index 7a9a9e3157..c59046825f 100644 --- a/Ghidra/Framework/Gui/src/main/java/resources/ResourceManager.java +++ b/Ghidra/Framework/Gui/src/main/java/resources/ResourceManager.java @@ -521,10 +521,12 @@ public class ResourceManager { ImageIcon icon = iconMap.get(iconPath); if (icon == null) { icon = doLoadIcon(iconPath); - iconMap.put(iconPath, icon == null ? DEFAULT_ICON : icon); + if (icon != null) { + iconMap.put(iconPath, icon); + } } - return icon == DEFAULT_ICON ? null : icon; + return icon; } /** @@ -538,7 +540,9 @@ public class ResourceManager { ImageIcon icon = iconMap.get(iconPath); if (icon == null) { icon = doLoadIcon(iconPath); - iconMap.put(iconPath, icon == null ? DEFAULT_ICON : icon); + if (icon != null) { + iconMap.put(iconPath, icon); + } } return icon == null ? new UnresolvedIcon(iconPath, DEFAULT_ICON) : icon; } diff --git a/Ghidra/Framework/Generic/src/main/resources/images/EmptyIcon.gif b/Ghidra/Framework/Gui/src/main/resources/images/EmptyIcon.gif similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/EmptyIcon.gif rename to Ghidra/Framework/Gui/src/main/resources/images/EmptyIcon.gif diff --git a/Ghidra/Framework/Generic/src/main/resources/images/EmptyIcon16.gif b/Ghidra/Framework/Gui/src/main/resources/images/EmptyIcon16.gif similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/EmptyIcon16.gif rename to Ghidra/Framework/Gui/src/main/resources/images/EmptyIcon16.gif diff --git a/Ghidra/Framework/Generic/src/main/resources/images/GhidraIcon128.png b/Ghidra/Framework/Gui/src/main/resources/images/GhidraIcon128.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/GhidraIcon128.png rename to Ghidra/Framework/Gui/src/main/resources/images/GhidraIcon128.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/GhidraIcon16.png b/Ghidra/Framework/Gui/src/main/resources/images/GhidraIcon16.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/GhidraIcon16.png rename to Ghidra/Framework/Gui/src/main/resources/images/GhidraIcon16.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/GhidraIcon24.png b/Ghidra/Framework/Gui/src/main/resources/images/GhidraIcon24.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/GhidraIcon24.png rename to Ghidra/Framework/Gui/src/main/resources/images/GhidraIcon24.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/GhidraIcon256.png b/Ghidra/Framework/Gui/src/main/resources/images/GhidraIcon256.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/GhidraIcon256.png rename to Ghidra/Framework/Gui/src/main/resources/images/GhidraIcon256.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/GhidraIcon32.png b/Ghidra/Framework/Gui/src/main/resources/images/GhidraIcon32.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/GhidraIcon32.png rename to Ghidra/Framework/Gui/src/main/resources/images/GhidraIcon32.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/GhidraIcon40.png b/Ghidra/Framework/Gui/src/main/resources/images/GhidraIcon40.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/GhidraIcon40.png rename to Ghidra/Framework/Gui/src/main/resources/images/GhidraIcon40.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/GhidraIcon48.png b/Ghidra/Framework/Gui/src/main/resources/images/GhidraIcon48.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/GhidraIcon48.png rename to Ghidra/Framework/Gui/src/main/resources/images/GhidraIcon48.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/GhidraIcon64.png b/Ghidra/Framework/Gui/src/main/resources/images/GhidraIcon64.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/GhidraIcon64.png rename to Ghidra/Framework/Gui/src/main/resources/images/GhidraIcon64.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/Plus2.png b/Ghidra/Framework/Gui/src/main/resources/images/Plus2.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/Plus2.png rename to Ghidra/Framework/Gui/src/main/resources/images/Plus2.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/checkmark_green.gif b/Ghidra/Framework/Gui/src/main/resources/images/checkmark_green.gif similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/checkmark_green.gif rename to Ghidra/Framework/Gui/src/main/resources/images/checkmark_green.gif diff --git a/Ghidra/Framework/Generic/src/main/resources/images/closedSmallFolder.png b/Ghidra/Framework/Gui/src/main/resources/images/closedSmallFolder.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/closedSmallFolder.png rename to Ghidra/Framework/Gui/src/main/resources/images/closedSmallFolder.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/collapse_all.png b/Ghidra/Framework/Gui/src/main/resources/images/collapse_all.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/collapse_all.png rename to Ghidra/Framework/Gui/src/main/resources/images/collapse_all.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/core.png b/Ghidra/Framework/Gui/src/main/resources/images/core.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/core.png rename to Ghidra/Framework/Gui/src/main/resources/images/core.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/core24.png b/Ghidra/Framework/Gui/src/main/resources/images/core24.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/core24.png rename to Ghidra/Framework/Gui/src/main/resources/images/core24.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/dialog-cancel.png b/Ghidra/Framework/Gui/src/main/resources/images/dialog-cancel.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/dialog-cancel.png rename to Ghidra/Framework/Gui/src/main/resources/images/dialog-cancel.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/disk.png b/Ghidra/Framework/Gui/src/main/resources/images/disk.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/disk.png rename to Ghidra/Framework/Gui/src/main/resources/images/disk.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/disk_save_as.png b/Ghidra/Framework/Gui/src/main/resources/images/disk_save_as.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/disk_save_as.png rename to Ghidra/Framework/Gui/src/main/resources/images/disk_save_as.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/down.png b/Ghidra/Framework/Gui/src/main/resources/images/down.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/down.png rename to Ghidra/Framework/Gui/src/main/resources/images/down.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/edit-cut.png b/Ghidra/Framework/Gui/src/main/resources/images/edit-cut.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/edit-cut.png rename to Ghidra/Framework/Gui/src/main/resources/images/edit-cut.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/edit-delete.png b/Ghidra/Framework/Gui/src/main/resources/images/edit-delete.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/edit-delete.png rename to Ghidra/Framework/Gui/src/main/resources/images/edit-delete.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/emblem-important.png b/Ghidra/Framework/Gui/src/main/resources/images/emblem-important.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/emblem-important.png rename to Ghidra/Framework/Gui/src/main/resources/images/emblem-important.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/erase16.png b/Ghidra/Framework/Gui/src/main/resources/images/erase16.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/erase16.png rename to Ghidra/Framework/Gui/src/main/resources/images/erase16.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/error.png b/Ghidra/Framework/Gui/src/main/resources/images/error.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/error.png rename to Ghidra/Framework/Gui/src/main/resources/images/error.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/exec.png b/Ghidra/Framework/Gui/src/main/resources/images/exec.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/exec.png rename to Ghidra/Framework/Gui/src/main/resources/images/exec.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/expand_all.png b/Ghidra/Framework/Gui/src/main/resources/images/expand_all.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/expand_all.png rename to Ghidra/Framework/Gui/src/main/resources/images/expand_all.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/flag.png b/Ghidra/Framework/Gui/src/main/resources/images/flag.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/flag.png rename to Ghidra/Framework/Gui/src/main/resources/images/flag.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/go-home.png b/Ghidra/Framework/Gui/src/main/resources/images/go-home.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/go-home.png rename to Ghidra/Framework/Gui/src/main/resources/images/go-home.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/help-browser.png b/Ghidra/Framework/Gui/src/main/resources/images/help-browser.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/help-browser.png rename to Ghidra/Framework/Gui/src/main/resources/images/help-browser.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/information.png b/Ghidra/Framework/Gui/src/main/resources/images/information.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/information.png rename to Ghidra/Framework/Gui/src/main/resources/images/information.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/kgpg.png b/Ghidra/Framework/Gui/src/main/resources/images/kgpg.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/kgpg.png rename to Ghidra/Framework/Gui/src/main/resources/images/kgpg.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/left.alternate.png b/Ghidra/Framework/Gui/src/main/resources/images/left.alternate.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/left.alternate.png rename to Ghidra/Framework/Gui/src/main/resources/images/left.alternate.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/left.png b/Ghidra/Framework/Gui/src/main/resources/images/left.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/left.png rename to Ghidra/Framework/Gui/src/main/resources/images/left.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/locationIn.gif b/Ghidra/Framework/Gui/src/main/resources/images/locationIn.gif similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/locationIn.gif rename to Ghidra/Framework/Gui/src/main/resources/images/locationIn.gif diff --git a/Ghidra/Framework/Generic/src/main/resources/images/locationOut.gif b/Ghidra/Framework/Gui/src/main/resources/images/locationOut.gif similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/locationOut.gif rename to Ghidra/Framework/Gui/src/main/resources/images/locationOut.gif diff --git a/Ghidra/Framework/Generic/src/main/resources/images/openFolder.png b/Ghidra/Framework/Gui/src/main/resources/images/openFolder.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/openFolder.png rename to Ghidra/Framework/Gui/src/main/resources/images/openFolder.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/openSmallFolder.png b/Ghidra/Framework/Gui/src/main/resources/images/openSmallFolder.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/openSmallFolder.png rename to Ghidra/Framework/Gui/src/main/resources/images/openSmallFolder.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/page_paste.png b/Ghidra/Framework/Gui/src/main/resources/images/page_paste.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/page_paste.png rename to Ghidra/Framework/Gui/src/main/resources/images/page_paste.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/page_white_copy.png b/Ghidra/Framework/Gui/src/main/resources/images/page_white_copy.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/page_white_copy.png rename to Ghidra/Framework/Gui/src/main/resources/images/page_white_copy.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/process-stop.png b/Ghidra/Framework/Gui/src/main/resources/images/process-stop.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/process-stop.png rename to Ghidra/Framework/Gui/src/main/resources/images/process-stop.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/program_obj.png b/Ghidra/Framework/Gui/src/main/resources/images/program_obj.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/program_obj.png rename to Ghidra/Framework/Gui/src/main/resources/images/program_obj.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/reload3.png b/Ghidra/Framework/Gui/src/main/resources/images/reload3.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/reload3.png rename to Ghidra/Framework/Gui/src/main/resources/images/reload3.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/right.alternate.png b/Ghidra/Framework/Gui/src/main/resources/images/right.alternate.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/right.alternate.png rename to Ghidra/Framework/Gui/src/main/resources/images/right.alternate.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/right.png b/Ghidra/Framework/Gui/src/main/resources/images/right.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/right.png rename to Ghidra/Framework/Gui/src/main/resources/images/right.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/software-update-urgent.png b/Ghidra/Framework/Gui/src/main/resources/images/software-update-urgent.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/software-update-urgent.png rename to Ghidra/Framework/Gui/src/main/resources/images/software-update-urgent.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/sortascending.png b/Ghidra/Framework/Gui/src/main/resources/images/sortascending.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/sortascending.png rename to Ghidra/Framework/Gui/src/main/resources/images/sortascending.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/sortdescending.png b/Ghidra/Framework/Gui/src/main/resources/images/sortdescending.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/sortdescending.png rename to Ghidra/Framework/Gui/src/main/resources/images/sortdescending.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/text_align_justify.png b/Ghidra/Framework/Gui/src/main/resources/images/text_align_justify.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/text_align_justify.png rename to Ghidra/Framework/Gui/src/main/resources/images/text_align_justify.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/up.png b/Ghidra/Framework/Gui/src/main/resources/images/up.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/up.png rename to Ghidra/Framework/Gui/src/main/resources/images/up.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/video-x-generic16.png b/Ghidra/Framework/Gui/src/main/resources/images/video-x-generic16.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/video-x-generic16.png rename to Ghidra/Framework/Gui/src/main/resources/images/video-x-generic16.png diff --git a/Ghidra/Framework/Generic/src/main/resources/images/viewmagfit.png b/Ghidra/Framework/Gui/src/main/resources/images/viewmagfit.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/viewmagfit.png rename to Ghidra/Framework/Gui/src/main/resources/images/viewmagfit.png diff --git a/Ghidra/Framework/Gui/src/main/resources/images/warning.png b/Ghidra/Framework/Gui/src/main/resources/images/warning.png new file mode 100644 index 0000000000..628cf2dae3 Binary files /dev/null and b/Ghidra/Framework/Gui/src/main/resources/images/warning.png differ diff --git a/Ghidra/Framework/Help/certification.manifest b/Ghidra/Framework/Help/certification.manifest index b189a7b238..aa0e9a25b3 100644 --- a/Ghidra/Framework/Help/certification.manifest +++ b/Ghidra/Framework/Help/certification.manifest @@ -5,6 +5,8 @@ Module.manifest||GHIDRA||||END| build.files/buildLocalHelp.xml||GHIDRA||||END| src/main/resources/help/shared/arrow.gif||GHIDRA||||END| +src/main/resources/help/shared/close16.gif||GHIDRA||||END| src/main/resources/help/shared/note.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0)|END| src/main/resources/help/shared/note.yellow.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0)|END| src/main/resources/help/shared/tip.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0)|END| +src/main/resources/help/shared/warning.png||Oxygen Icons - LGPL 3.0|||Oxygen icon theme (dual license; LGPL or CC-SA-3.0)|END| diff --git a/Ghidra/Framework/Help/src/main/java/help/GHelpHTMLEditorKit.java b/Ghidra/Framework/Help/src/main/java/help/GHelpHTMLEditorKit.java index ecd5ea65f1..982b4543ac 100644 --- a/Ghidra/Framework/Help/src/main/java/help/GHelpHTMLEditorKit.java +++ b/Ghidra/Framework/Help/src/main/java/help/GHelpHTMLEditorKit.java @@ -53,7 +53,7 @@ import utilities.util.FileUtilities; */ public class GHelpHTMLEditorKit extends HTMLEditorKit { - private static final String G_HELP_STYLE_SHEET = "Frontpage.css"; + private static final String G_HELP_STYLE_SHEET = "DefaultStyle.css"; private static final String DARK_G_HELP_STYLE_SHEET = "DarkStyle.css"; private static final Pattern EXTERNAL_URL_PATTERN = Pattern.compile("https?://.*"); diff --git a/Ghidra/Framework/Help/src/main/java/help/HelpBuildUtils.java b/Ghidra/Framework/Help/src/main/java/help/HelpBuildUtils.java index 883b72e8b0..5542b298f5 100644 --- a/Ghidra/Framework/Help/src/main/java/help/HelpBuildUtils.java +++ b/Ghidra/Framework/Help/src/main/java/help/HelpBuildUtils.java @@ -18,14 +18,16 @@ package help; import java.io.*; import java.net.*; import java.nio.file.*; -import java.text.MessageFormat; import java.util.Collection; import java.util.Collections; import java.util.regex.Matcher; import java.util.regex.Pattern; +import generic.jar.ResourceFile; import generic.theme.GIcon; import generic.theme.Gui; +import ghidra.framework.Application; +import ghidra.util.HelpLocation; import help.validator.location.*; import resources.IconProvider; import resources.Icons; @@ -34,26 +36,25 @@ public class HelpBuildUtils { private static final String HELP_TOPICS_ROOT_PATH = "help/topics"; - // Great. You've just summoned Cthulu. private static final Pattern HREF_PATTERN = Pattern.compile("\"(\\.\\./[^/.]+/[^/.]+\\.html*(#[^\"]+)*)\"", Pattern.CASE_INSENSITIVE); - private static final Pattern STYLE_SHEET_PATTERN = Pattern.compile( - "", Pattern.CASE_INSENSITIVE); - private static final Pattern STYLE_CLASS_PATTERN = Pattern.compile("class\\s*=\\s*\"(\\w+)\"", Pattern.CASE_INSENSITIVE); - private static final String STYLE_SHEET_FORMAT_STRING = - ""; - private static final String SHARED_DIRECTORY = "shared/"; - public static boolean debug = true; private HelpBuildUtils() { // utils class; can't create } + public static Path getSharedHelpDirectory() { + ResourceFile appRootDir = Application.getApplicationRootDirectory(); + ResourceFile sharedHelpDir = + new ResourceFile(appRootDir, "Framework/Help/src/main/resources/help/shared/"); + return Paths.get(sharedHelpDir.getAbsolutePath()); + } + public static HelpModuleLocation toLocation(File file) { if (file.isDirectory()) { return new DirectoryHelpModuleLocation(file); @@ -94,6 +95,14 @@ public class HelpBuildUtils { return null; } + /** + * Returns a path object using the given source file path as the source of the given relative + * path. The returned path represents a local file on the file system. + * + * @param srcFile the source file path + * @param relativePath the relative path + * @return a path or null if the resolved path is not a local file + */ public static Path getFile(Path srcFile, String relativePath) { if (relativePath == null || relativePath.isEmpty()) { return null; @@ -111,6 +120,13 @@ public class HelpBuildUtils { return null; // not sure why this is here } + if (relativePath.startsWith(HelpLocation.HELP_SHARED)) { + // special syntax that tells the help system to look in the shared directory + String updatedRelativePath = relativePath.substring(HelpLocation.HELP_SHARED.length()); + Path sharedDir = getSharedHelpDirectory(); + return sharedDir.resolve(updatedRelativePath); + } + Path parent = srcFile.getParent(); return parent.resolve(relativePath); } @@ -160,15 +176,6 @@ public class HelpBuildUtils { fileContents = newContents; } - String styleSheetFixupContents = fixStyleSheetLinkInFile(helpFile, fileContents); - if (styleSheetFixupContents != null) { - // a fixup has taken place - newContents = styleSheetFixupContents; - - // replace the input to future processing so we don't lose changes - fileContents = newContents; - } - String styleSheetClassFixupContents = fixStyleSheetClassNames(helpFile, fileContents); if (styleSheetClassFixupContents != null) { newContents = styleSheetClassFixupContents; @@ -181,56 +188,6 @@ public class HelpBuildUtils { writeFileContents(helpFile, newContents); } - private static String fixStyleSheetLinkInFile(Path helpFile, String fileContents) { - - int currentPosition = 0; - StringBuffer newContents = new StringBuffer(); - Matcher matcher = STYLE_SHEET_PATTERN.matcher(fileContents); - - boolean hasMatches = matcher.find(); - if (!hasMatches) { - return null; // no work to do - } - - // only care about the first hit, if there are multiple matches - // Groups: - // 0 - full match - // 1 - href text with relative notation "../.." - // 2 - href text without relative prefix - - int matchStart = matcher.start(); - String fullMatch = matcher.group(0); - - String beforeMatchString = fileContents.substring(currentPosition, matchStart); - newContents.append(beforeMatchString); - currentPosition = matchStart + fullMatch.length(); - - String fullHREFText = matcher.group(1); - if (fullHREFText.indexOf(SHARED_DIRECTORY) != -1) { - return null; // already fixed; nothing to do - } - - debug("Found stylesheet reference text: " + fullHREFText + " in file: " + - helpFile.getFileName()); - - // pull off the relative path structure - String filenameOnlyHREFText = matcher.group(2); - int filenameStart = fullHREFText.indexOf(filenameOnlyHREFText); - String reltativePrefix = fullHREFText.substring(0, filenameStart); - - String updatedStyleSheetTag = MessageFormat.format(STYLE_SHEET_FORMAT_STRING, - reltativePrefix, SHARED_DIRECTORY, filenameOnlyHREFText); - debug("\tnew link tag: " + updatedStyleSheetTag); - newContents.append(updatedStyleSheetTag); - - // grab the remaining content - if (currentPosition < fileContents.length()) { - newContents.append(fileContents.substring(currentPosition)); - } - - return newContents.toString(); - } - private static String fixStyleSheetClassNames(Path helpFile, String fileContents) { int currentPosition = 0; diff --git a/Ghidra/Framework/Help/src/main/java/help/validator/JavaHelpValidator.java b/Ghidra/Framework/Help/src/main/java/help/validator/JavaHelpValidator.java index f01bcba840..ff738de814 100644 --- a/Ghidra/Framework/Help/src/main/java/help/validator/JavaHelpValidator.java +++ b/Ghidra/Framework/Help/src/main/java/help/validator/JavaHelpValidator.java @@ -22,6 +22,7 @@ import java.util.Map.Entry; import generic.jar.ResourceFile; import ghidra.framework.Application; +import ghidra.util.HelpLocation; import help.HelpBuildUtils; import help.validator.links.*; import help.validator.location.HelpModuleCollection; @@ -176,40 +177,13 @@ public class JavaHelpValidator { private Path findPathInModules(IMG img) { String src = img.getSrcAttribute(); - - // TODO upcoming 'shared' unification -// if (src.startsWith(HelpLocation.HELP_IMAGES)) { - if (src.startsWith("../../shared/")) { + if (src.startsWith(HelpLocation.HELP_SHARED)) { // this prefix is a signal to look for images in a special directory inside of the // modules instead of help - String imagePath = "help/" + src.substring("../../".length()); - ResourceFile myModule = Application.getMyModuleRootDirectory(); ResourceFile resourceDir = new ResourceFile(myModule, "src/main/resources"); - Path toCheck = makePath(resourceDir, imagePath); - if (toCheck != null) { - return toCheck; - } - - // now try removing the 'shared' portion altogether - imagePath = "images/" + src.substring("../../shared/".length()); - Path path = doFindPathInModules(imagePath); - if (path != null) { - return path; - } - - // TODO upcoming 'shared' unification -// Path path = doFindPathInModules(imagePath); -// if (path != null) { -// return path; -// } - } - - // TODO upcoming 'shared' unification - fix the few of these that are left-over in the html - if (src.startsWith("../images/")) { - String imagePath = src.substring("../".length()); - Path toCheck = doFindPathInModules(imagePath); + Path toCheck = makePath(resourceDir, src); if (toCheck != null) { return toCheck; } diff --git a/Ghidra/Framework/Help/src/main/java/help/validator/ReferenceTagProcessor.java b/Ghidra/Framework/Help/src/main/java/help/validator/ReferenceTagProcessor.java index 36ff433e87..3770b57c6d 100644 --- a/Ghidra/Framework/Help/src/main/java/help/validator/ReferenceTagProcessor.java +++ b/Ghidra/Framework/Help/src/main/java/help/validator/ReferenceTagProcessor.java @@ -17,7 +17,8 @@ package help.validator; import java.io.IOException; import java.net.URISyntaxException; -import java.nio.file.*; +import java.nio.file.Files; +import java.nio.file.Path; import java.util.*; import ghidra.util.exception.AssertException; @@ -29,8 +30,7 @@ import help.validator.model.IMG; public class ReferenceTagProcessor extends TagProcessor { private static final String EOL = System.getProperty("line.separator"); - private static final String STYLESHEET_FILENAME = "Frontpage.css"; - private static final String STYLESHEET_PATHNAME = "shared/" + STYLESHEET_FILENAME; + private static final String STYLESHEET_FILENAME = "DefaultStyle.css"; private Path htmlFile; private SetTheme Actions
Import + invoke the Edit
Theme Actions
Import Theme... menu. A file chooser dialog will appear allowing the user to choose a theme file to import. The selected file can be either a standard theme file or a Zip file containing the theme file and any non-standard icon files defined by that theme.
styleSheets = new HashSet<>(); @@ -47,17 +47,10 @@ public class ReferenceTagProcessor extends TagProcessor { this.help = help; this.anchorManager = anchorManager; - // - // Note: currently all help being built has the required stylesheet living under - // /shared/ - // - // If we ever need a more robust styling mechanism, then this code would need to be - // updated to know how to search for the referenced stylesheet - Path helpPath = help.getHelpLocation(); - FileSystem fs = helpPath.getFileSystem(); - Path relativeSSPath = fs.getPath(STYLESHEET_PATHNAME); - defaultStyleSheet = helpPath.resolve(relativeSSPath); - if (Files.notExists(helpPath)) { + Path sharedHelpDir = HelpBuildUtils.getSharedHelpDirectory(); + defaultStyleSheet = sharedHelpDir.resolve(Path.of(STYLESHEET_FILENAME)); + + if (Files.notExists(defaultStyleSheet)) { throw new AssertException("Cannot find expected stylesheet: " + defaultStyleSheet); } } diff --git a/Ghidra/Framework/Help/src/main/resources/help/shared/Frontpage.css b/Ghidra/Framework/Help/src/main/resources/help/shared/Frontpage.css deleted file mode 100644 index 557c37ca39..0000000000 --- a/Ghidra/Framework/Help/src/main/resources/help/shared/Frontpage.css +++ /dev/null @@ -1,64 +0,0 @@ -/* ### - * 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-like formatting for things such as file system paths and proper names of classes, - methods, etc. To apply this to a file path, use this syntax: - ...
-*/ -code { color: black; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } -code.path { color: #4682B4; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } diff --git a/Ghidra/Debug/Debugger/src/main/help/help/shared/close16.gif b/Ghidra/Framework/Help/src/main/resources/help/shared/close16.gif similarity index 100% rename from Ghidra/Debug/Debugger/src/main/help/help/shared/close16.gif rename to Ghidra/Framework/Help/src/main/resources/help/shared/close16.gif diff --git a/Ghidra/Framework/Generic/src/main/resources/images/warning.png b/Ghidra/Framework/Help/src/main/resources/help/shared/warning.png similarity index 100% rename from Ghidra/Framework/Generic/src/main/resources/images/warning.png rename to Ghidra/Framework/Help/src/main/resources/help/shared/warning.png diff --git a/Ghidra/Framework/Help/src/test/java/help/AbstractHelpTest.java b/Ghidra/Framework/Help/src/test/java/help/AbstractHelpTest.java index 8d8a3cdd73..d763369d38 100644 --- a/Ghidra/Framework/Help/src/test/java/help/AbstractHelpTest.java +++ b/Ghidra/Framework/Help/src/test/java/help/AbstractHelpTest.java @@ -15,7 +15,7 @@ */ package help; -import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.*; import java.io.IOException; import java.nio.file.*; @@ -75,16 +75,13 @@ public abstract class AbstractHelpTest extends AbstractGenericTest { // HelpFile wants to read one of these, so put one there createEmpty_TOC_Source_File(helpDir); - createSharedDir(helpDir); + createImageDir(helpDir); } - protected Path createSharedDir(Path helpDir) throws IOException { - Path sharedDir = helpDir.resolve("shared"); + protected Path createImageDir(Path helpDir) throws IOException { + Path sharedDir = helpDir.resolve("images"); Files.createDirectory(sharedDir); - Path css = sharedDir.resolve("Frontpage.css"); - Files.createFile(css); - Path png = sharedDir.resolve("test.png"); Files.createFile(png); @@ -121,12 +118,12 @@ public abstract class AbstractHelpTest extends AbstractGenericTest { "\n" + "\n" + "Configure Tool \n" + - "\n" + + "\n" + "\n" + "\n" + "Configure Tool
\n" + - " Some text with reference to shared image\n" + + " Some text with reference to shared image
\n" + " \n" + "\n" + "\n"; @@ -147,7 +144,7 @@ public abstract class AbstractHelpTest extends AbstractGenericTest { "\n" + "\n" + "
Configure Tool \n" + - "\n" + + "\n" + "\n" + "\n" + @@ -174,7 +171,7 @@ public abstract class AbstractHelpTest extends AbstractGenericTest { "\n" + "\n" + "Configure Tool \n" + - "\n" + + "\n" + "\n" + "\n" + diff --git a/Ghidra/Framework/Help/src/test/java/help/HelpBuildUtilsTest.java b/Ghidra/Framework/Help/src/test/java/help/HelpBuildUtilsTest.java index b6a3a53683..be92d6e263 100644 --- a/Ghidra/Framework/Help/src/test/java/help/HelpBuildUtilsTest.java +++ b/Ghidra/Framework/Help/src/test/java/help/HelpBuildUtilsTest.java @@ -36,10 +36,6 @@ public class HelpBuildUtilsTest extends AbstractHelpTest { private static final String TOPIC_AND_FILENAME = "FooTopic/FooFile.html"; private static final String HTML_FILE_PATH = HELP_TOPIC_PATH + '/' + TOPIC_AND_FILENAME; - public HelpBuildUtilsTest() { - super(); - } - @Override protected ApplicationLayout createApplicationLayout() throws IOException { return new GhidraTestApplicationLayout(new File(getTestDirectoryPath())); diff --git a/Ghidra/Framework/Help/src/test/java/help/validator/model/HelpFileTest.java b/Ghidra/Framework/Help/src/test/java/help/validator/model/HelpFileTest.java index db76305442..393c478e66 100644 --- a/Ghidra/Framework/Help/src/test/java/help/validator/model/HelpFileTest.java +++ b/Ghidra/Framework/Help/src/test/java/help/validator/model/HelpFileTest.java @@ -15,8 +15,7 @@ */ package help.validator.model; -import static org.junit.Assert.assertTrue; -import static org.junit.Assert.fail; +import static org.junit.Assert.*; import java.io.IOException; import java.nio.file.*; @@ -188,7 +187,7 @@ public class HelpFileTest extends AbstractHelpTest { "\n" + "\n" + "Configure Tool \n" + - "\n" + + "\n" + "\n" + "\n" + "Configure Tool
\n" + @@ -213,7 +212,7 @@ public class HelpFileTest extends AbstractHelpTest { "\n" + "\n" + "Configure Tool \n" + - "\n" + + "\n" + "\n" + "\n" + "Configure Tool
\n" + @@ -238,7 +237,7 @@ public class HelpFileTest extends AbstractHelpTest { "\n" + "\n" + "Configure Tool \n" + - "\n" + + "\n" + "\n" + "\n" + "Configure Tool
\n" + @@ -267,7 +266,7 @@ public class HelpFileTest extends AbstractHelpTest { "\n" + "\n" + "Configure Tool
\n" + - "Some text with reference to shared image\n" + + "Some text with reference to shared image
\n" + "\n" + "\n" + "\n"; @@ -289,7 +288,7 @@ public class HelpFileTest extends AbstractHelpTest { "\n" + "\n" + "
Configure Tool \n" + - "\n" + + "\n" + "\n" + "\n" + "Configure Tool
\n" + diff --git a/GhidraBuild/Skeleton/src/main/help/help/shared/Frontpage.css b/GhidraBuild/Skeleton/src/main/help/help/shared/Frontpage.css deleted file mode 100644 index 557c37ca39..0000000000 --- a/GhidraBuild/Skeleton/src/main/help/help/shared/Frontpage.css +++ /dev/null @@ -1,64 +0,0 @@ -/* ### - * 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-like formatting for things such as file system paths and proper names of classes, - methods, etc. To apply this to a file path, use this syntax: -...
-*/ -code { color: black; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } -code.path { color: #4682B4; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } diff --git a/GhidraBuild/Skeleton/src/main/help/help/topics/skeleton/help.html b/GhidraBuild/Skeleton/src/main/help/help/topics/skeleton/help.html index 8f858d23fd..5a062bc471 100644 --- a/GhidraBuild/Skeleton/src/main/help/help/topics/skeleton/help.html +++ b/GhidraBuild/Skeleton/src/main/help/help/topics/skeleton/help.html @@ -10,7 +10,7 @@Skeleton Help File for a Module - + diff --git a/GhidraDocs/languages/html/Frontpage.css b/GhidraDocs/languages/html/Frontpage.css deleted file mode 100644 index 557c37ca39..0000000000 --- a/GhidraDocs/languages/html/Frontpage.css +++ /dev/null @@ -1,64 +0,0 @@ -/* ### - * 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-like formatting for things such as file system paths and proper names of classes, - methods, etc. To apply this to a file path, use this syntax: -...
-*/ -code { color: black; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; } -code.path { color: #4682B4; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; }