Skip to content

Ghidra is a software reverse engineering (SRE) framework

chore: remove redundant word in comment

chuangjinglu149e03c8472c
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/actions/associate/SyncAction.java b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/actions/associate/SyncAction.java
index 89cc9ffe4a..66bed74adf 100644
--- a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/actions/associate/SyncAction.java
+++ b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/actions/associate/SyncAction.java
@@ -304,7 +304,7 @@ public abstract class SyncAction extends DockingAction implements Comparable<Syn
}
/**
- * Checks if datatype is really out of sync or only is is marked as out of sync but really
+ * Checks if datatype is really out of sync or only is marked as out of sync but really
* is not changed. If datatypes are really in sync, updates the time marks to indicate that
* they are in sync;
* @param outOfSynchDataTypes list of all datatypes that are marked as "out of sync".
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/editor/DataTypeEditorManager.java b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/editor/DataTypeEditorManager.java
index e5693e84b2..ea98a2b04b 100644
--- a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/editor/DataTypeEditorManager.java
+++ b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/editor/DataTypeEditorManager.java
@@ -123,7 +123,7 @@ public class DataTypeEditorManager implements EditorListener {
}
/**
- * Displays a data type editor for editing the given Structure. If the structure is is already
+ * Displays a data type editor for editing the given Structure. If the structure is already
* being edited then it is brought to the front. Otherwise, a new editor is created and
* displayed.
* @param structure the structure.
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/formats/gfilesystem/crypto/CryptoSession.java b/Ghidra/Features/Base/src/main/java/ghidra/formats/gfilesystem/crypto/CryptoSession.java
index 2e33c7cd88..d264ffc336 100644
--- a/Ghidra/Features/Base/src/main/java/ghidra/formats/gfilesystem/crypto/CryptoSession.java
+++ b/Ghidra/Features/Base/src/main/java/ghidra/formats/gfilesystem/crypto/CryptoSession.java
@@ -28,7 +28,7 @@ import ghidra.framework.generic.auth.Password;
* Typically used to query passwords and to add known good passwords
* to caches for later re-retrieval.
* <p>
- * Closing a CryptoSession instance does not invalidate the instance, instead is is a suggestion
+ * Closing a CryptoSession instance does not invalidate the instance, instead is a suggestion
* that the instance should not be used for any further nested sessions.
* <p>
* See {@link CryptoProviders#newSession()}.
diff --git a/Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RecoveredClassHelper.java b/Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RecoveredClassHelper.java
index ba0ee5fbcf..03260558d5 100644
--- a/Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RecoveredClassHelper.java
+++ b/Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RecoveredClassHelper.java
@@ -6140,7 +6140,7 @@ public class RecoveredClassHelper {
}
// if one or more is a constructor and none are destructors then the indeterminate
- // inline is is an inlined constructor
+ // inline is an inlined constructor
if (isConstructor == true && isDestructor == false) {
processInlineConstructor(recoveredClass, inlineFunction, referenceToClassMap);
}
diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/DataType.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/DataType.java
index 95a52f7b30..0316858556 100644
--- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/DataType.java
+++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/DataType.java
@@ -398,7 +398,7 @@ public interface DataType {
/**
* Returns the prefix to use for this datatype when an abbreviated prefix is desired.
* <p>
- * For example, some datatypes will built a large default label, at which is is more desirable
+ * For example, some datatypes will built a large default label, at which is more desirable
* to have a shortened prefix.
*
* @return the prefix to use for this datatype when an abbreviated prefix is desired. May return
diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/mem/MemBuffer.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/mem/MemBuffer.java
index 61cb948474..f46a635d38 100644
--- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/mem/MemBuffer.java
+++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/mem/MemBuffer.java
@@ -228,7 +228,7 @@ public interface MemBuffer {
* Returns a stream that supplies the bytes of this buffer, starting at offset 0.
* <p>
* Note: the default implementation will produce invalid results if the underlying
- * MemBuffer instance is is mutated to point to different memory.
+ * MemBuffer instance is mutated to point to different memory.
*
* @return an InputStream that returns the bytes of this mem buffer
*/
@@ -240,7 +240,7 @@ public interface MemBuffer {
* Returns a stream that supplies the bytes of this buffer, starting at the specified offset.
* <p>
* Note: the default implementation will produce invalid results if the underlying
- * MemBuffer instance is is mutated to point to different memory.
+ * MemBuffer instance is mutated to point to different memory.
*
* @param initialPosition location in membuffer where the stream should start
* @param length number of bytes to limit the stream to