Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-0: Fixing some javadoc warnings

Ryan Kurtz20645a4eed2b
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/script/GhidraScript.java b/Ghidra/Features/Base/src/main/java/ghidra/app/script/GhidraScript.java
index 818892110d..eae0a4e6ff 100644
--- a/Ghidra/Features/Base/src/main/java/ghidra/app/script/GhidraScript.java
+++ b/Ghidra/Features/Base/src/main/java/ghidra/app/script/GhidraScript.java
@@ -2995,12 +2995,12 @@ public abstract class GhidraScript extends FlatProgramAPI {
* only be used in headed mode.
* <p>
* In the GUI environment, this method displays a password popup dialog that prompts the user
- * for a secret, usually a password or other credential. There is no pre-population of the
- * input. If the user cancels the dialog, it is immediately disposed, and any input to that
- * dialog is cleared from memory. If the user completes the dialog, then the secret is returned
- * in a wrapped buffer. The buffer can be cleared by calling {@link Secret#close()}; however, it
- * is meant to be used in a {@code try-with-resources} block. The pattern does not guarantee
- * protection of the secret, but it will help you avoid some typical pitfalls:
+ * for a password. There is no pre-population of the input. If the user cancels the dialog, it
+ * is immediately disposed, and any input to that dialog is cleared from memory. If the user
+ * completes the dialog, then the password is returned in a wrapped buffer. The buffer can be
+ * cleared by calling {@link Password#close()}; however, it is meant to be used in a
+ * {@code try-with-resources} block. The pattern does not guarantee protection of the password,
+ * but it will help you avoid some typical pitfalls:
*
* <pre>
* String user = askString("Login", "Username:");
diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/symbol/IllegalCharCppTransformer.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/symbol/IllegalCharCppTransformer.java
index 40cefcf9d8..5e6d3d54a2 100644
--- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/symbol/IllegalCharCppTransformer.java
+++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/symbol/IllegalCharCppTransformer.java
@@ -18,8 +18,8 @@ package ghidra.program.model.symbol;
/**
* Replace illegal characters in the given name with '_'. The transformer treats the name as a
* C++ symbol. Letters and digits are generally legal. '~' is allowed at the start of the symbol.
- * Template parameters, surrounded by '<' and '>', allow additional special characters. Certain
- * special characters are allowed after the keyword "operator".
+ * Template parameters, surrounded by '&lt;' and '&gt;', allow additional special characters.
+ * Certain special characters are allowed after the keyword "operator".
*/
public class IllegalCharCppTransformer implements NameTransformer {