Class DecoderForOneStride

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

public class DecoderForOneStride extends Object
The decoder for a single stride.

This starts at a given seed and proceeds linearly until it hits an instruction without fall through. It may also stop if it encounters an existing entry point or an erroneous user inject.

See Also:
  • Constructor Details

    • DecoderForOneStride

      public DecoderForOneStride(JitPassageDecoder decoder, DecoderForOnePassage passage, JitPassage.AddrCtx start, FoldedState state)
      Construct a stride decoder
      Parameters:
      decoder - the thread's passage decoder
      passage - the decoder for this specific passage
      start - the seed to start this stride
      state - the constant-folding state
  • Method Details

    • decode

      public DecodedStride decode()
      Decode the stride.
      Returns:
      the decoded stride