Class DecoderForOnePassage

java.lang.Object
ghidra.pcode.emu.jit.decode.DecoderForOnePassage

public class DecoderForOnePassage extends Object
The decoder for a single passage

This is a sort of "mutable" passage or passage "builder" that is used while the passage is being decoded. Once complete, this provides an immutable decoded JitPassage.

  • Field Details

  • Method Details

    • library MODIFIED

      public PcodeUseropLibrary<MaskedBytes> library()
      return type: PcodeUseropLibrary → PcodeUseropLibrary
      -ghidra.pcode.exec.PcodeUseropLibrary<java.lang.Object> library()
      +ghidra.pcode.exec.PcodeUseropLibrary<ghidra.pcode.emu.jit.folding.MaskedBytes> library()
      Get the decoder-wrapped userop library
      Returns:
      the library
    • checkSameInline

      public boolean checkSameInline(PcodeOp op, List<PcodeOp> revalidated)
      Check if the given op was replaced with the same program as before
      Parameters:
      op - the inlined op
      revalidated - the newly-observed replacement
      Returns:
      true if the replacement observed during decode is the same as the one given