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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode(Decoder decoder, SleighLanguage lang) booleanintintintintgetShift()booleanintlonggetValue(ParserWalker walker) inthashCode()booleanlongmaxValue()longminValue()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:
minValuein classPatternValue
-
maxValue
public long maxValue()- Specified by:
maxValuein classPatternValue
-
getValue
- Specified by:
getValuein classPatternExpression- Throws:
MemoryAccessException
-
decode
- Specified by:
decodein classPatternExpression- Throws:
DecoderException
-
hasSignbit
public boolean hasSignbit() -
getByteStart
public int getByteStart() -
getByteEnd
public int getByteEnd() -
getShift
public int getShift() -
toString
- Specified by:
toStringin classPatternExpression
-