Class DisjointPattern

java.lang.Object
ghidra.app.plugin.processors.sleigh.pattern.Pattern
ghidra.app.plugin.processors.sleigh.pattern.DisjointPattern
Direct Known Subclasses:
CombinePattern, ContextPattern, InstructionPattern

public abstract class DisjointPattern extends Pattern
A pattern with no ORs in it
  • Constructor Details

    • DisjointPattern

      public DisjointPattern()
  • Method Details

    • getBlock

      public abstract PatternBlock getBlock(boolean context)
    • getInstructionBlock

      public PatternBlock getInstructionBlock()
    • getContextBlock

      public PatternBlock getContextBlock()
    • getWholeInstructionBytes

      public byte[] getWholeInstructionBytes()
    • numDisjoint

      public int numDisjoint()
      Specified by:
      numDisjoint in class Pattern
    • getDisjoint

      public DisjointPattern getDisjoint(int i)
      Specified by:
      getDisjoint in class Pattern
    • getMask

      public int getMask(int startbit, int size, boolean context)
    • getValue

      public int getValue(int startbit, int size, boolean context)
    • getLength

      public int getLength(boolean context)
    • specializes

      public boolean specializes(DisjointPattern op2)
    • identical

      public boolean identical(DisjointPattern op2)
    • decodeDisjoint

      public static DisjointPattern decodeDisjoint(Decoder decoder) throws DecoderException
      Throws:
      DecoderException