go_offsets

package
v0.0.0-...-4b8dcb2 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2025 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const PtrSize int = 8

Variables

This section is empty.

Functions

func GetStructMemberOffset

func GetStructMemberOffset(filePath string, structName string, memberName string) (uint64, error)

Types

type GoAbi

type GoAbi int
const (
	ABI0 GoAbi = iota
	ABIInternal
)

type GoExtendedOffset

type GoExtendedOffset struct {
	Enter uint64
	Exits []uint64
}

func GetSymbolOffset

func GetSymbolOffset(filePath string, symbolName string) (*GoExtendedOffset, error)

type GoOffsets

type GoOffsets struct {
	GoWriteOffset *GoExtendedOffset
	GoReadOffset  *GoExtendedOffset
	GoVersion     string
	Abi           GoAbi
	SysFdOffset   uint64
}

Jump to

Keyboard shortcuts

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