diff --git a/GPL/DemanglerGnu/src/demangler_gnu_v2_24/c/cplus-dem.c b/GPL/DemanglerGnu/src/demangler_gnu_v2_24/c/cplus-dem.c index 657fe438d5..0b7c5f1fbe 100644 --- a/GPL/DemanglerGnu/src/demangler_gnu_v2_24/c/cplus-dem.c +++ b/GPL/DemanglerGnu/src/demangler_gnu_v2_24/c/cplus-dem.c @@ -903,7 +903,7 @@ ada_demangle (const char *mangled, int option ATTRIBUTE_UNUSED) goto unknown; /* Most of the demangling will trivially remove chars. Operator names - may add one char but because they are always preceeded by '__' which is + may add one char but because they are always preceded by '__' which is replaced by '.', they eventually never expand the size. A few special names such as '___elabs' add a few chars (at most 7), but they occur only once. */ diff --git a/GPL/DemanglerGnu/src/demangler_gnu_v2_41/c/cplus-dem.c b/GPL/DemanglerGnu/src/demangler_gnu_v2_41/c/cplus-dem.c index c789b2abbf..26c0cf6a3f 100644 --- a/GPL/DemanglerGnu/src/demangler_gnu_v2_41/c/cplus-dem.c +++ b/GPL/DemanglerGnu/src/demangler_gnu_v2_41/c/cplus-dem.c @@ -219,7 +219,7 @@ ada_demangle (const char *mangled, int option ATTRIBUTE_UNUSED) goto unknown; /* Most of the demangling will trivially remove chars. Operator names - may add one char but because they are always preceeded by '__' which is + may add one char but because they are always preceded by '__' which is replaced by '.', they eventually never expand the size. A few special names such as '___elabs' add a few chars (at most 7), but they occur only once. */ 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 306a2e8d1f..86aecc62ee 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 @@ -306,7 +306,7 @@
Enter file(n), where n is a file offset of the program's source file bytes (at time of import), into the text area of the dialog. The file offset entered will be - assumed to be in decimal unless it is preceeded by 0x. That is, "file(0x1000)" and + assumed to be in decimal unless it is preceded by 0x. That is, "file(0x1000)" and "file(1000)" are different values.
Ghidra does not support storing 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 654d973b05..ceef476d3c 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 @@ -1037,7 +1037,7 @@ c cause the Add Reference Dialog to be displayed for the current Source code unit. Once displayed, the Source code unit mnemonic or operand may be selected by 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.
+ of Reference may be constrained based upon the chosen operand.In general, only flow references should be set on an instruction mnemonic, unless of course the instruction has no operands. References @@ -1061,7 +1061,7 @@ c
-Based upon the choosen Type of Reference, the lower portion of the dialog will +
Based upon the chosen Type of Reference, the lower portion of the dialog will change. The following sections discuss the input panels for each of the four possible choices:
@@ -1238,7 +1238,7 @@ c
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/field/CommentUtils.java b/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/field/CommentUtils.java index 0ee2b46127..642b729b20 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/field/CommentUtils.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/field/CommentUtils.java @@ -202,8 +202,8 @@ public class CommentUtils { int start = word.getStart(); if (offset != start) { // text between annotations - String preceeding = text.substring(offset, start); - results.add(new StringCommentPart(preceeding, prototype)); + String preceding = text.substring(offset, start); + results.add(new StringCommentPart(preceding, prototype)); } String annotationText = word.getWord(); diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/field/PreCommentFieldFactory.java b/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/field/PreCommentFieldFactory.java index b6154b5318..2ca8ba052a 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/field/PreCommentFieldFactory.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/field/PreCommentFieldFactory.java @@ -242,7 +242,7 @@ public class PreCommentFieldFactory extends FieldFactory { } /** - * A composite which immediately preceeds the current address may contain trailing zero-length + * A composite which immediately precedes the current address may contain trailing zero-length * components which implicitly refer to this address and are not rendered by the opened composite. * This comment is intended to convey the existence of such hidden components which correspond * to addr. diff --git a/Ghidra/Features/Base/src/main/java/ghidra/formats/gfilesystem/FileSystemProbeConflictResolver.java b/Ghidra/Features/Base/src/main/java/ghidra/formats/gfilesystem/FileSystemProbeConflictResolver.java index 73b4ff3422..1740048351 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/formats/gfilesystem/FileSystemProbeConflictResolver.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/formats/gfilesystem/FileSystemProbeConflictResolver.java @@ -31,7 +31,7 @@ public interface FileSystemProbeConflictResolver { * Picks a single {@link FileSystemInfoRec} to use when mounting a filesystem. *This field identifies a namespace name corresponding to the External Program and - may be typed-in or choosen from the pull-down list of those previously defined. This + may be typed-in or chosen from the pull-down list of those previously defined. This is a required input.
* @param factories a {@link List} of {@link FileSystemInfoRec}s. - * @return the choosen FSIR, or null + * @return the chosen FSIR, or null */ default public FileSystemInfoRec resolveFSIR(List
factories) { switch (factories.size()) { @@ -51,7 +51,7 @@ public interface FileSystemProbeConflictResolver { * This method will only be called if the list contains more than a single item. * * @param factories {@link List} of {@link FileSystemInfoRec}, always more than 1 element. - * @return the choosen FSIR, or null + * @return the chosen FSIR, or null */ public FileSystemInfoRec chooseFSIR(List
factories); diff --git a/Ghidra/Features/Base/src/main/java/ghidra/plugins/importer/tasks/ImportBatchTask.java b/Ghidra/Features/Base/src/main/java/ghidra/plugins/importer/tasks/ImportBatchTask.java index c705a3e554..e7c4e25c29 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/plugins/importer/tasks/ImportBatchTask.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/plugins/importer/tasks/ImportBatchTask.java @@ -137,7 +137,7 @@ public class ImportBatchTask extends Task { LoadSpec loadSpec = batchLoadConfig.getLoadSpec(selectedBatchGroupLoadSpec); if (loadSpec == null) { Msg.error(this, - "Failed to get load spec from application that matches choosen batch load spec " + + "Failed to get load spec from application that matches chosen batch load spec " + selectedBatchGroupLoadSpec); return; } diff --git a/Ghidra/Features/Base/src/main/java/ghidra/program/flatapi/FlatProgramAPI.java b/Ghidra/Features/Base/src/main/java/ghidra/program/flatapi/FlatProgramAPI.java index 6061b49f31..8621ad75c6 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/program/flatapi/FlatProgramAPI.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/program/flatapi/FlatProgramAPI.java @@ -1331,7 +1331,7 @@ public class FlatProgramAPI { /** * Returns the defined data after the specified data or null if no data exists. - * @param data preceeding data + * @param data preceding data * @return the defined data after the specified data or null if no data exists */ public final Data getDataAfter(Data data) { diff --git a/Ghidra/Features/BytePatterns/src/main/java/ghidra/closedpatternmining/ProjectedDatabase.java b/Ghidra/Features/BytePatterns/src/main/java/ghidra/closedpatternmining/ProjectedDatabase.java index 4245263551..a635249742 100644 --- a/Ghidra/Features/BytePatterns/src/main/java/ghidra/closedpatternmining/ProjectedDatabase.java +++ b/Ghidra/Features/BytePatterns/src/main/java/ghidra/closedpatternmining/ProjectedDatabase.java @@ -237,7 +237,7 @@ public class ProjectedDatabase { dittedPosition++;//advance past fixedPosition } - //if all of the preceeding positions are filled, there can't be any backward + //if all of the preceding positions are filled, there can't be any backward //extension items if (positionsToSymbols.isEmpty()) { return backwardExtensionItems; diff --git a/Ghidra/Features/FileFormats/src/lzfse/c/lzvn_decode_base.c b/Ghidra/Features/FileFormats/src/lzfse/c/lzvn_decode_base.c index 3651d66029..fc9eaf98ec 100644 --- a/Ghidra/Features/FileFormats/src/lzfse/c/lzvn_decode_base.c +++ b/Ghidra/Features/FileFormats/src/lzfse/c/lzvn_decode_base.c @@ -429,7 +429,7 @@ copy_literal_and_match: PTR_LEN_INC(dst_ptr, dst_len, L); PTR_LEN_INC(src_ptr, src_len, L); // Check if the match distance is valid; matches must not reference - // bytes that preceed the start of the output buffer, nor can the match + // bytes that precede the start of the output buffer, nor can the match // distance be zero. if (D > dst_ptr - state->dst_begin || D == 0) goto invalid_match_distance; diff --git a/Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/dump/mdmp/MemoryRange64.java b/Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/dump/mdmp/MemoryRange64.java index baf7dbdbee..f8bcb7e484 100644 --- a/Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/dump/mdmp/MemoryRange64.java +++ b/Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/dump/mdmp/MemoryRange64.java @@ -32,7 +32,7 @@ public class MemoryRange64 implements StructConverter { // MemoryRange64 is used for full-memory minidumps where // all of the raw memory is laid out sequentially at the // end of the dump. There is no need for individual RVAs - // as the RVA is the base RVA plus the sum of the preceeding + // as the RVA is the base RVA plus the sum of the preceding // data blocks. private DumpFileReader reader; diff --git a/Ghidra/Features/GnuDemangler/ghidra_scripts/VxWorksSymTab_Finder.java b/Ghidra/Features/GnuDemangler/ghidra_scripts/VxWorksSymTab_Finder.java index bf142b0a39..72bc18be2e 100644 --- a/Ghidra/Features/GnuDemangler/ghidra_scripts/VxWorksSymTab_Finder.java +++ b/Ghidra/Features/GnuDemangler/ghidra_scripts/VxWorksSymTab_Finder.java @@ -25,7 +25,7 @@ // table entries are deleted. Mangled C++ symbol names are demangled. // // The VxWorks symbol table is an array [0..n-1] of (struct SYMBOL) entries. -// The table may be immediately followed or preceeded by an (int) vxSymTblLen +// The table may be immediately followed or preceded by an (int) vxSymTblLen // value. // // Prerequisites: diff --git a/Ghidra/Framework/DB/src/main/java/db/Field.java b/Ghidra/Framework/DB/src/main/java/db/Field.java index 17200a6bf2..fa23de8346 100644 --- a/Ghidra/Framework/DB/src/main/java/db/Field.java +++ b/Ghidra/Framework/DB/src/main/java/db/Field.java @@ -343,7 +343,7 @@ public abstract class Field implements Comparable { /** * Write the field to buf at the specified offset. When writing variable length - * fields, the length preceeds the actual data. + * fields, the length precedes the actual data. * @param buf data buffer * @param offset data offset * @return next available Field offset within buffer, or -1 if end of buffer reached. @@ -354,7 +354,7 @@ public abstract class Field implements Comparable { /** * Read the field value from buf at the specified offset. When reading variable length - * fields, the length preceeds the actual data. + * fields, the length precedes the actual data. * @param buf data buffer * @param offset data offset * @return next Field offset within buffer, or -1 if end of buffer reached. diff --git a/Ghidra/Framework/Docking/src/main/java/docking/menu/MenuHandler.java b/Ghidra/Framework/Docking/src/main/java/docking/menu/MenuHandler.java index 28dac06da5..9f286acf80 100644 --- a/Ghidra/Framework/Docking/src/main/java/docking/menu/MenuHandler.java +++ b/Ghidra/Framework/Docking/src/main/java/docking/menu/MenuHandler.java @@ -59,7 +59,7 @@ public abstract class MenuHandler implements MenuListener, PopupMenuListener { } /** - * Invoked when a menu is no longer selected. This is always preceeded + * Invoked when a menu is no longer selected. This is always preceded * by a menuSelected invocation. This is invoked prior to the processMenuAction * if an action item is selected. * @see javax.swing.event.MenuListener#menuDeselected(javax.swing.event.MenuEvent) diff --git a/Ghidra/Framework/Generic/src/main/java/ghidra/util/graph/attributes/DoubleAttribute.java b/Ghidra/Framework/Generic/src/main/java/ghidra/util/graph/attributes/DoubleAttribute.java index 5d77ffd7db..31897e59ee 100644 --- a/Ghidra/Framework/Generic/src/main/java/ghidra/util/graph/attributes/DoubleAttribute.java +++ b/Ghidra/Framework/Generic/src/main/java/ghidra/util/graph/attributes/DoubleAttribute.java @@ -150,7 +150,7 @@ public class DoubleAttribute extends Attribute { catch (ghidra.util.exception.NoValueException exc) { try { value2 = getValue(ko2); - return 1; //ko2 is ok so it preceeds ko1 + return 1; //ko2 is ok so it precedes ko1 } catch (ghidra.util.exception.NoValueException exc2) { if ((ko1.key() - ko2.key()) < 0) { diff --git a/Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/mgr/ToolTaskManager.java b/Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/mgr/ToolTaskManager.java index 6ed721b5a0..ceb9358d17 100644 --- a/Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/mgr/ToolTaskManager.java +++ b/Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/mgr/ToolTaskManager.java @@ -217,7 +217,7 @@ public class ToolTaskManager implements Runnable { taskThread.start(); try { // Wait for background command task to start its transaction and notify us. - // This is done to ensure any preceeding foreground Command transaction + // This is done to ensure any preceding foreground Command transaction // becomes entangled with the task execution. wait(1000); } diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/processors/sleigh/symbol/SubtableSymbol.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/processors/sleigh/symbol/SubtableSymbol.java index e98cac30eb..ef6e0ba332 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/processors/sleigh/symbol/SubtableSymbol.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/processors/sleigh/symbol/SubtableSymbol.java @@ -32,7 +32,7 @@ import ghidra.program.model.pcode.DecoderException; /** * A collection of Constructors or a Symbol representing - * one out of a family of Constructors, choosen based on InstructionContext + * one out of a family of Constructors, chosen based on InstructionContext */ public class SubtableSymbol extends TripleSymbol { diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/disassemble/Disassembler.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/disassemble/Disassembler.java index 3eaa7622bc..b6c80be916 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/disassemble/Disassembler.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/disassemble/Disassembler.java @@ -1120,7 +1120,7 @@ public class Disassembler implements DisassemblerConflictHandler { /** * Perform parse of instruction bytes and context to produce an instruction prototype. * @param instrMemBuffer memory buffer - * @param block fallthrough sequence of instructions preceeding current instruction + * @param block fallthrough sequence of instructions preceding current instruction * required to facilitate potential crossbuilds for current instruction. * @return instruction prototype * @throws InsufficientBytesException diff --git a/GhidraBuild/BuildFiles/Doclets/src/main/java/ghidra/doclets/typestubs/JavadocConverter.java b/GhidraBuild/BuildFiles/Doclets/src/main/java/ghidra/doclets/typestubs/JavadocConverter.java index 2b12f0a466..33e221117a 100644 --- a/GhidraBuild/BuildFiles/Doclets/src/main/java/ghidra/doclets/typestubs/JavadocConverter.java +++ b/GhidraBuild/BuildFiles/Doclets/src/main/java/ghidra/doclets/typestubs/JavadocConverter.java @@ -308,7 +308,7 @@ public class JavadocConverter extends DocConverter { * @return the converted tag */ private String convertSinceTag(Element el, SinceTree since) { - // NOTE: there must be a preceeding new line + // NOTE: there must be a preceding new line String msg = convertTree(el, since.getBody()); return "\n.. versionadded:: " + msg + '\n'; }