mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-21 19:42:14 +00:00
GP-0: Fixing the remainder of the "psuedo" spellings (#4601)
This commit is contained in:
parent
e65e4b2d92
commit
0ed00bdd50
@ -145,12 +145,12 @@ public class GBinaryReader {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the current index to the specified value.
|
* Sets the current index to the specified value.
|
||||||
* The pointer index will allow the reader
|
* 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
|
* @param index the byte provider index value
|
||||||
*/
|
*/
|
||||||
public void setPointerIndex(long index) {
|
public void setPointerIndex(long index) {
|
||||||
this.currentIndex = index;
|
this.currentIndex = index;
|
||||||
}
|
}
|
||||||
|
@ -235,7 +235,7 @@
|
|||||||
|
|
||||||
<BLOCKQUOTE>
|
<BLOCKQUOTE>
|
||||||
<P>Some processors have "modes" or state information that affects how they will interpret and
|
<P>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
|
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
|
or options of the processor. The language specifies a default for these modes, but the
|
||||||
user can effectively change the defaults using the <B>Processor Options</B> dialog.<BR>
|
user can effectively change the defaults using the <B>Processor Options</B> dialog.<BR>
|
||||||
|
@ -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
|
// 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<Byte> allBytes = InstructionSearchUtils.toByteArray(input);
|
List<Byte> allBytes = InstructionSearchUtils.toByteArray(input);
|
||||||
|
|
||||||
// Now we have a valid byte string so we can start disassembling. To do this, we pass
|
// Now we have a valid byte string so we can start disassembling. To do this, we pass
|
||||||
|
@ -204,7 +204,7 @@ public class BinaryReader {
|
|||||||
/**
|
/**
|
||||||
* Sets the current index to the specified value.
|
* Sets the current index to the specified value.
|
||||||
* The pointer index will allow the reader
|
* 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
|
* @param index the byte provider index value
|
||||||
*/
|
*/
|
||||||
|
@ -252,7 +252,7 @@ public class PseudoDisassembler {
|
|||||||
*
|
*
|
||||||
* @param addr location to get a PseudoData item for
|
* @param addr location to get a PseudoData item for
|
||||||
* @param dt the data type to be applied
|
* @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) {
|
public PseudoData applyDataType(Address addr, DataType dt) {
|
||||||
|
|
||||||
|
@ -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
|
* 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.
|
* on the this Disassembler instance. Disassembler must be instantiated with a Program object.
|
||||||
* @param addr start of block
|
* @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
|
* WARNING! This method should not be used in conjunction with other disassembly methods
|
||||||
* on the this Disassembler instance.
|
* on the this Disassembler instance.
|
||||||
* @param blockMemBuffer block memory buffer
|
* @param blockMemBuffer block memory buffer
|
||||||
|
@ -78,7 +78,7 @@ attach names xpp [ P4 P5 P6 P7 ];
|
|||||||
|
|
||||||
|
|
||||||
################################################################
|
################################################################
|
||||||
# Psuedo Instructions
|
# Pseudo Instructions
|
||||||
################################################################
|
################################################################
|
||||||
|
|
||||||
define pcodeop nop;
|
define pcodeop nop;
|
||||||
|
@ -58,7 +58,7 @@ attach variables [ sRegPair4_2 dRegPair4_2 ] [ BC DE HL SP ];
|
|||||||
attach variables [ qRegPair4_2 ] [ BC DE HL AF ];
|
attach variables [ qRegPair4_2 ] [ BC DE HL AF ];
|
||||||
|
|
||||||
################################################################
|
################################################################
|
||||||
# Psuedo Instructions
|
# Pseudo Instructions
|
||||||
################################################################
|
################################################################
|
||||||
|
|
||||||
define pcodeop BCDadjust;
|
define pcodeop BCDadjust;
|
||||||
|
@ -29,7 +29,7 @@ define token data (16)
|
|||||||
imm16 = (0,15)
|
imm16 = (0,15)
|
||||||
;
|
;
|
||||||
################################################################
|
################################################################
|
||||||
# Psuedo Instructions
|
# Pseudo Instructions
|
||||||
################################################################
|
################################################################
|
||||||
|
|
||||||
define pcodeop readIRQ;
|
define pcodeop readIRQ;
|
||||||
|
@ -1936,7 +1936,7 @@ with : phase = 2 {
|
|||||||
|
|
||||||
|
|
||||||
# The pdf manual is very confusing for this instruction. The final conclusion is that the .B
|
# 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
|
# '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 {
|
:bclr.w f12_t,bit4_t is OP_23_20=0xA & OP_19_16=0x9 & bit4_t & f12_t {
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ attach variables [ qRegPair4_2 ] [ BC DE HL AF ];
|
|||||||
attach variables [ pRegPair4_2 ] [ BC DE IX SP ];
|
attach variables [ pRegPair4_2 ] [ BC DE IX SP ];
|
||||||
attach variables [ rRegPair4_2 ] [ BC DE IY SP ];
|
attach variables [ rRegPair4_2 ] [ BC DE IY SP ];
|
||||||
################################################################
|
################################################################
|
||||||
# Psuedo Instructions
|
# Pseudo Instructions
|
||||||
################################################################
|
################################################################
|
||||||
define pcodeop segment; # Define special pcodeop that calculates the RAM address
|
define pcodeop segment; # Define special pcodeop that calculates the RAM address
|
||||||
# given the segment selector and offset as input
|
# given the segment selector and offset as input
|
||||||
|
Loading…
Reference in New Issue
Block a user