lookup

package
v0.0.0-...-0c83327 Latest Latest
Warning

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

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

Documentation

Overview

Package lookup provides a lookup table for the protocol package.

Index

Constants

This section is empty.

Variables

View Source
var MinGoVersion = goversion.GoVersion{Major: 1, Minor: 13, Rev: 0}
View Source
var SupportedArchitectures = []string{"amd64", "arm64"}

Functions

func GetCloseParams

func GetCloseParams(version goversion.GoVersion, goarch string) ([]bininspect.ParameterMetadata, error)

GetCloseParams gets the parameter metadata (positions/types) for crypto/tls.(*Conn).Close

func GetConnFDOffset

func GetConnFDOffset(version goversion.GoVersion, goarch string) (uint64, error)

GetConnFDOffset gets the offset of the "fd" field in the "net.conn" struct

func GetFD_SysfdOffset

func GetFD_SysfdOffset(version goversion.GoVersion, goarch string) (uint64, error)

GetFD_SysfdOffset gets the offset of the "Sysfd" field in the "internal/poll.FD" struct

func GetLimitListenerConn_NetConnOffset

func GetLimitListenerConn_NetConnOffset(version goversion.GoVersion, goarch string) (uint64, error)

GetLimitListenerConn_NetConnOffset gets the offset of the "net.Conn" field in the "netutil/limitListenerConn" struct

func GetNetFD_PFDOffset

func GetNetFD_PFDOffset(version goversion.GoVersion, goarch string) (uint64, error)

GetNetFD_PFDOffset gets the offset of the "pfd" field in the "net.netFD" struct

func GetReadParams

func GetReadParams(version goversion.GoVersion, goarch string) ([]bininspect.ParameterMetadata, error)

GetReadParams gets the parameter metadata (positions/types) for crypto/tls.(*Conn).Read

func GetTCPConnInnerConnOffset

func GetTCPConnInnerConnOffset(version goversion.GoVersion, goarch string) (uint64, error)

GetTCPConnInnerConnOffset gets the offset of the "conn" field in the "net.TCPConn" struct

func GetTLSConnInnerConnOffset

func GetTLSConnInnerConnOffset(version goversion.GoVersion, goarch string) (uint64, error)

GetTLSConnInnerConnOffset gets the offset of the "conn" field in the "crypto/tls.Conn" struct

func GetWriteParams

func GetWriteParams(version goversion.GoVersion, goarch string) ([]bininspect.ParameterMetadata, error)

GetWriteParams gets the parameter metadata (positions/types) for crypto/tls.(*Conn).Write

Types

This section is empty.

Directories

Path Synopsis
internal
testprogram
Package main provides a test program for generating lookup tables for TLS types
Package main provides a test program for generating lookup tables for TLS types

Jump to

Keyboard shortcuts

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