Class PcodeOpAST

java.lang.Object
ghidra.program.model.pcode.PcodeOp
ghidra.program.model.pcode.PcodeOpAST

public class PcodeOpAST extends PcodeOp
Some extra things attached to PcodeOp for ease of walking the syntax tree
  • Constructor Details

    • PcodeOpAST

      public PcodeOpAST(SequenceNumber sq, int op, int numinputs)
    • PcodeOpAST

      public PcodeOpAST(Address a, int uq, int op, int numinputs)
  • Method Details

    • isDead

      public boolean isDead()
      Description copied from class: PcodeOp
      Check if the pcode has been determined to be a dead operation.
      Overrides:
      isDead in class PcodeOp
      Returns:
      true if the pcode has been determined to have no effect in the context it is used
    • getParent

      public PcodeBlockBasic getParent()
      Overrides:
      getParent in class PcodeOp
      Returns:
      the pcode basic block this pcode belongs to
    • getBasicIter

      public Iterator<PcodeOp> getBasicIter()
      Overrides:
      getBasicIter in class PcodeOp
    • getInsertIter

      public Iterator<Object> getInsertIter()
      Overrides:
      getInsertIter in class PcodeOp
    • setParent

      public void setParent(PcodeBlockBasic par)
      Set the parent basic block this pcode is contained within.
      Parameters:
      par - parent basic block.
    • setBasicIter

      public void setBasicIter(Iterator<PcodeOp> iter)
      Set the iterator being used to iterate the pcode within a basic block.
      Parameters:
      iter -
    • setInsertIter

      public void setInsertIter(Iterator<Object> iter)
      Set the iterator being used to iterate the pcode to insert within a block.
      Parameters:
      iter -