snapshot

package
v0.0.0-...-bbc83da Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type GoRuntimeTypeResolver

type GoRuntimeTypeResolver interface {
	ResolveTypeAddressToGoRuntimeTypeId(addr uint64) uint64
}

type OutBuf

type OutBuf interface {
	// Ptr returns a pointer to the memory at the given offset.
	Ptr(offset uint32) unsafe.Pointer
	// PrepareFrameData writes the frame header and queue entry to the outBuf and returns
	// the offset to the data location for the queue entry.
	PrepareFrameData(typeID uint32, progID uint32, dataLen uint32, depth uint32) (offset uint32, ok bool)
	// GetEntryLen assumes that the passed offset is immediately following a queue entry
	// and it extracts the length from that queue entry.
	GetEntryLen(entryOffset uint32) uint32

	// Zero the memory at the given offset for the given length.
	Zero(offset uint32, len uint32)

	// Dereference the given memory range.
	Dereference(offset uint32, ptr uintptr, len uint32) bool

	// The length of the outBuf in bytes.
	Len() uint32
}

OutBuf is an interface for interacting with the output buffer.

type Queue

type Queue interface {
	Push(addr uintptr, t uint32, len uint32) bool
}

type ResolvedAnyType

type ResolvedAnyType struct {
	// contains filtered or unexported fields
}

type ResolvedEmptyInterface

type ResolvedEmptyInterface struct {
	// contains filtered or unexported fields
}

type TypeIDResolver

type TypeIDResolver interface {
	ResolveGoRuntimeTypeToTypeId(addr uint64) uint32
}

Jump to

Keyboard shortcuts

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