Class ContextSymbol


public class ContextSymbol extends ValueSymbol
A ValueSymbol that gets its semantic value from contiguous bits in a VarnodeSymbol. This serves as an embedding of a ContextOp into an actual Varnode and is probably only relevant at compile time
  • Constructor Details

    • ContextSymbol

      public ContextSymbol()
  • Method Details

    • getVarnode

      public VarnodeSymbol getVarnode()
    • getLow

      public int getLow()
      Get starting bit of context value within its context register.
      Returns:
      the starting bit
    • getHigh

      public int getHigh()
      Get ending bit of context value within its context register.
      Returns:
      the ending bit
    • getInternalLow

      public int getInternalLow()
      Get the starting bit of the context value within the "global" buffer, after the values have been packed.
      Returns:
      the starting bit
    • getInternalHigh

      public int getInternalHigh()
      Get the ending bit of the context value within the "global" buffer, after the values have been packed.
      Returns:
      the ending bit
    • followsFlow

      public boolean followsFlow()
    • decode

      public void decode(Decoder decoder, SleighLanguage sleigh) throws DecoderException
      Overrides:
      decode in class ValueSymbol
      Throws:
      DecoderException