Class VmExecutionResult
Ergebnis einer vollständigen VM-Ausführung. / Result of a complete VM execution.
public sealed class VmExecutionResult
- Inheritance
-
VmExecutionResult
- Inherited Members
Constructors
VmExecutionResult(int[], int, IReadOnlyList<VmDiagnostic>)
Erstellt das bisherige Ergebnisformat. / Creates the previous result shape.
public VmExecutionResult(int[] stackSnapshot, int top, IReadOnlyList<VmDiagnostic> diagnostics)
Parameters
stackSnapshotint[]Zu kopierender Stack. / Stack to copy.
topintStackzeiger. / Stack pointer.
diagnosticsIReadOnlyList<VmDiagnostic>Zu kopierende Diagnosen. / Diagnostics to copy.
VmExecutionResult(int[], int, IReadOnlyList<VmDiagnostic>, VmCompletionReason, int, VmState)
Erstellt ein vollständiges Ausführungsergebnis. / Creates a complete execution result.
public VmExecutionResult(int[] stackSnapshot, int top, IReadOnlyList<VmDiagnostic> diagnostics, VmCompletionReason reason, int executedInstructions, VmState state)
Parameters
stackSnapshotint[]Zu kopierender Stack. / Stack to copy.
topintStackzeiger. / Stack pointer.
diagnosticsIReadOnlyList<VmDiagnostic>Zu kopierende Diagnosen. / Diagnostics to copy.
reasonVmCompletionReasonAbschlussgrund. / Completion reason.
executedInstructionsintBegonnene Instruktionen. / Started instructions.
stateVmStateTerminaler Zustand. / Terminal state.
Fields
diagnostics
private readonly VmDiagnostic[] diagnostics
Field Value
stackSnapshot
private readonly int[] stackSnapshot
Field Value
- int[]
Properties
CompletionReason
Ruft den Abschlussgrund unter dem Vertragsnamen ab. / Gets the completion reason by its contract name.
public VmCompletionReason CompletionReason { get; }
Property Value
Diagnostics
Ruft sichere Diagnosen ab. / Gets safe diagnostics.
public IReadOnlyList<VmDiagnostic> Diagnostics { get; }
Property Value
ExecutedInstructions
Ruft den Instruktionszähler ab. / Gets the instruction counter.
public int ExecutedInstructions { get; }
Property Value
Reason
Ruft den Abschlussgrund ab. / Gets the completion reason.
public VmCompletionReason Reason { get; }
Property Value
StackSnapshot
Ruft eine defensive Stackkopie ab. / Gets a defensive stack copy.
public int[] StackSnapshot { get; }
Property Value
- int[]
State
Ruft den terminalen Zustand ab. / Gets the terminal state.
public VmState State { get; }
Property Value
Success
Gibt an, ob regulär gehalten wurde. / Indicates whether execution halted normally.
public bool Success { get; }
Property Value
Top
Ruft den Stackzeiger ab. / Gets the stack pointer.
public int Top { get; }