core

package
v0.0.0-...-691c107 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	COREDUMP_TLV_IMAGE = 1
	COREDUMP_TLV_MEM   = 2
	COREDUMP_TLV_REGS  = 3
)
View Source
const (
	COREDUMP_MAGIC = 0x690c47c3
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CoreConvert

type CoreConvert struct {
	Source    *os.File
	Target    *os.File
	ImageHash []byte
	// contains filtered or unexported fields
}

func ConvertFilenames

func ConvertFilenames(srcFilename string,
	dstFilename string) (*CoreConvert, error)

func NewCoreConvert

func NewCoreConvert() *CoreConvert

func (*CoreConvert) Convert

func (cc *CoreConvert) Convert() error

type CoreDumpHdr

type CoreDumpHdr struct {
	Magic uint32
	Size  uint32
}

type CoreDumpTlv

type CoreDumpTlv struct {
	Type uint8

	Len uint16
	Off uint32
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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