An evaluation sample extracted from a script reduction trace – includes the range of the evaluation from which the sample was extracted, the instruction that was evaluated, the range in the source script over which the instruction was defined, and the resulting program state.
The range of the evaluation node in which this sample was generated.
This can be used to identify which other samples were part of the same evaluation that produced this sample.
The final instruction that was evaluated during this sample.
Note, the first sample from any evaluation is the initial state before any
instructions are executed, so its
undefined. For all
instruction must be defined.
An ordered array of instructions and program states that occurred within
the range of a single reduction trace node before the final instruction and
state (assigned to
This occurs in unusual cases where multiple opcodes are defined in the same reduced node, e.g. a long hex literal of operations as bytecode or an evaluation that is not wrapped in a push.
Usually, this will be an empty array.
The range over which this sample was defined in the source script.
The program state after the evaluation of this sample's
Generated using TypeDoc