From 0ed00bdd50b49773f744c9cd1faab787c82c2f15 Mon Sep 17 00:00:00 2001 From: Ryan Kurtz Date: Tue, 20 Sep 2022 01:02:00 -0400 Subject: [PATCH] GP-0: Fixing the remainder of the "psuedo" spellings (#4601) --- .../java/mobiledevices/dmg/ghidra/GBinaryReader.java | 12 ++++++------ .../help/topics/DisassemblerPlugin/Disassembly.htm | 2 +- .../core/instructionsearch/ui/InsertBytesWidget.java | 2 +- .../main/java/ghidra/app/util/bin/BinaryReader.java | 2 +- .../java/ghidra/app/util/PseudoDisassembler.java | 2 +- .../ghidra/program/disassemble/Disassembler.java | 4 ++-- Ghidra/Processors/8048/data/languages/8048.slaspec | 2 +- Ghidra/Processors/8085/data/languages/8085.slaspec | 2 +- Ghidra/Processors/MC6800/data/languages/6805.slaspec | 2 +- Ghidra/Processors/PIC/data/languages/PIC24.sinc | 2 +- Ghidra/Processors/Z80/data/languages/z80.slaspec | 2 +- 11 files changed, 17 insertions(+), 17 deletions(-) diff --git a/GPL/DMG/src/dmg/java/mobiledevices/dmg/ghidra/GBinaryReader.java b/GPL/DMG/src/dmg/java/mobiledevices/dmg/ghidra/GBinaryReader.java index 3ebf67c4da..6788dbcd14 100644 --- a/GPL/DMG/src/dmg/java/mobiledevices/dmg/ghidra/GBinaryReader.java +++ b/GPL/DMG/src/dmg/java/mobiledevices/dmg/ghidra/GBinaryReader.java @@ -145,12 +145,12 @@ public class GBinaryReader { } /** - * Sets the current index to the specified value. - * The pointer index will allow the reader - * to operate as a psuedo-iterator. - * - * @param index the byte provider index value - */ + * Sets the current index to the specified value. + * The pointer index will allow the reader + * to operate as a pseudo-iterator. + * + * @param index the byte provider index value + */ public void setPointerIndex(long index) { this.currentIndex = index; } diff --git a/Ghidra/Features/Base/src/main/help/help/topics/DisassemblerPlugin/Disassembly.htm b/Ghidra/Features/Base/src/main/help/help/topics/DisassemblerPlugin/Disassembly.htm index 6a1e55fc02..dac7109337 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/DisassemblerPlugin/Disassembly.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/DisassemblerPlugin/Disassembly.htm @@ -235,7 +235,7 @@

Some processors have "modes" or state information that affects how they will interpret and - execute the bytes that make up an instruction. To support this, Ghidra creates a psuedo + execute the bytes that make up an instruction. To support this, Ghidra creates a pseudo register called the "contextRegister" that contains bits corresponding to the different modes or options of the processor.  The language specifies a default for these modes, but the user can effectively change the defaults using the Processor Options dialog.
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/instructionsearch/ui/InsertBytesWidget.java b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/instructionsearch/ui/InsertBytesWidget.java index b98bb2e31b..0b1743217a 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/instructionsearch/ui/InsertBytesWidget.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/instructionsearch/ui/InsertBytesWidget.java @@ -245,7 +245,7 @@ public class InsertBytesWidget extends DialogComponentProvider implements KeyLis } // Everything looks good, so take the input and convert it to a Byte list, which we'll - // need for the PsuedoDisassembler. + // need for the PseudoDisassembler. List allBytes = InstructionSearchUtils.toByteArray(input); // Now we have a valid byte string so we can start disassembling. To do this, we pass diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/BinaryReader.java b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/BinaryReader.java index 627bb2fa4c..6fbb274823 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/BinaryReader.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/BinaryReader.java @@ -204,7 +204,7 @@ public class BinaryReader { /** * Sets the current index to the specified value. * The pointer index will allow the reader - * to operate as a psuedo-iterator. + * to operate as a pseudo-iterator. * * @param index the byte provider index value */ diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/util/PseudoDisassembler.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/util/PseudoDisassembler.java index 286cd91857..7d9d751931 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/util/PseudoDisassembler.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/util/PseudoDisassembler.java @@ -252,7 +252,7 @@ public class PseudoDisassembler { * * @param addr location to get a PseudoData item for * @param dt the data type to be applied - * @return PsuedoData that acts like Data + * @return {@link PseudoData} that acts like Data */ public PseudoData applyDataType(Address addr, DataType dt) { 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 3ddf8321cf..eb957ddd56 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 @@ -718,7 +718,7 @@ public class Disassembler implements DisassemblerConflictHandler { } /** - * Perform a psuedo-disassembly of an single instruction block only following fall-throughs. + * Perform a pseudo-disassembly of an single instruction block only following fall-throughs. * WARNING! This method should not be used in conjunction with other disassembly methods * on the this Disassembler instance. Disassembler must be instantiated with a Program object. * @param addr start of block @@ -738,7 +738,7 @@ public class Disassembler implements DisassemblerConflictHandler { } /** - * Perform a psuedo-disassembly of an single instruction block only following fall-throughs. + * Perform a pseudo-disassembly of an single instruction block only following fall-throughs. * WARNING! This method should not be used in conjunction with other disassembly methods * on the this Disassembler instance. * @param blockMemBuffer block memory buffer diff --git a/Ghidra/Processors/8048/data/languages/8048.slaspec b/Ghidra/Processors/8048/data/languages/8048.slaspec index 6596706859..464bb2cdd1 100644 --- a/Ghidra/Processors/8048/data/languages/8048.slaspec +++ b/Ghidra/Processors/8048/data/languages/8048.slaspec @@ -78,7 +78,7 @@ attach names xpp [ P4 P5 P6 P7 ]; ################################################################ -# Psuedo Instructions +# Pseudo Instructions ################################################################ define pcodeop nop; diff --git a/Ghidra/Processors/8085/data/languages/8085.slaspec b/Ghidra/Processors/8085/data/languages/8085.slaspec index c9874f6b21..e69108ac41 100644 --- a/Ghidra/Processors/8085/data/languages/8085.slaspec +++ b/Ghidra/Processors/8085/data/languages/8085.slaspec @@ -58,7 +58,7 @@ attach variables [ sRegPair4_2 dRegPair4_2 ] [ BC DE HL SP ]; attach variables [ qRegPair4_2 ] [ BC DE HL AF ]; ################################################################ -# Psuedo Instructions +# Pseudo Instructions ################################################################ define pcodeop BCDadjust; diff --git a/Ghidra/Processors/MC6800/data/languages/6805.slaspec b/Ghidra/Processors/MC6800/data/languages/6805.slaspec index 68c13849d6..23d42bbe4b 100644 --- a/Ghidra/Processors/MC6800/data/languages/6805.slaspec +++ b/Ghidra/Processors/MC6800/data/languages/6805.slaspec @@ -29,7 +29,7 @@ define token data (16) imm16 = (0,15) ; ################################################################ -# Psuedo Instructions +# Pseudo Instructions ################################################################ define pcodeop readIRQ; diff --git a/Ghidra/Processors/PIC/data/languages/PIC24.sinc b/Ghidra/Processors/PIC/data/languages/PIC24.sinc index 8c29995d01..dc031229e4 100644 --- a/Ghidra/Processors/PIC/data/languages/PIC24.sinc +++ b/Ghidra/Processors/PIC/data/languages/PIC24.sinc @@ -1936,7 +1936,7 @@ with : phase = 2 { # The pdf manual is very confusing for this instruction. The final conclusion is that the .B -# is really a psuedo instruction and that everything is actually encoded as a word with the +# is really a pseudo instruction and that everything is actually encoded as a word with the # 'f' bits being left shifted by 1 :bclr.w f12_t,bit4_t is OP_23_20=0xA & OP_19_16=0x9 & bit4_t & f12_t { diff --git a/Ghidra/Processors/Z80/data/languages/z80.slaspec b/Ghidra/Processors/Z80/data/languages/z80.slaspec index 845aec10bb..6932ee633a 100644 --- a/Ghidra/Processors/Z80/data/languages/z80.slaspec +++ b/Ghidra/Processors/Z80/data/languages/z80.slaspec @@ -78,7 +78,7 @@ attach variables [ qRegPair4_2 ] [ BC DE HL AF ]; attach variables [ pRegPair4_2 ] [ BC DE IX SP ]; attach variables [ rRegPair4_2 ] [ BC DE IY SP ]; ################################################################ -# Psuedo Instructions +# Pseudo Instructions ################################################################ define pcodeop segment; # Define special pcodeop that calculates the RAM address # given the segment selector and offset as input