snapshot

package
v0.0.0-...-7a19e20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: BSD-3-Clause Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Buffers

type Buffers struct {
	Services []Service
	Input    []byte // Buffered data which the program hasn't received yet.
	Output   []byte // Buffered data which the program has already sent.
}

Buffers of a suspended, halted or terminated program. Contents are undefined while the program is running.

Services, Input, and Output array contents are not mutated, but the arrays may be replaced. Buffers can be reused by making shallow copies.

type Flags

type Flags uint64
const (
	FlagFinal Flags = 1 << iota
)

func (Flags) Final

func (f Flags) Final() bool

Final indicates that the instance should not be resumed - it should only be inspected for debugging purposes.

type Service

type Service struct {
	Name   string
	Buffer []byte
}

Service state representation.

type Snapshot

type Snapshot struct {
	Flags
	Trap          trap.ID
	Result        int32 // Meaningful when Trap is Exit.
	MonotonicTime uint64
	Breakpoints   []uint64
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL