Class ContextField
java.lang.Object
ghidra.app.plugin.processors.sleigh.expression.PatternExpression
ghidra.app.plugin.processors.sleigh.expression.PatternValue
ghidra.app.plugin.processors.sleigh.expression.ContextField
Contiguous bits in the non-instruction part of the context interpreted
as an integer value
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
decode
(Decoder decoder, SleighLanguage lang) boolean
int
int
int
int
getShift()
boolean
int
long
getValue
(ParserWalker walker) int
hashCode()
boolean
long
maxValue()
long
minValue()
toString()
Methods inherited from class ghidra.app.plugin.processors.sleigh.expression.PatternExpression
decodeExpression
-
Constructor Details
-
ContextField
public ContextField()
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
getStartBit
public int getStartBit() -
getEndBit
public int getEndBit() -
getSignBit
public boolean getSignBit() -
minValue
public long minValue()- Specified by:
minValue
in classPatternValue
-
maxValue
public long maxValue()- Specified by:
maxValue
in classPatternValue
-
getValue
- Specified by:
getValue
in classPatternExpression
- Throws:
MemoryAccessException
-
decode
- Specified by:
decode
in classPatternExpression
- Throws:
DecoderException
-
hasSignbit
public boolean hasSignbit() -
getByteStart
public int getByteStart() -
getByteEnd
public int getByteEnd() -
getShift
public int getShift() -
toString
- Specified by:
toString
in classPatternExpression
-