proc

package
v0.0.0-...-c684d4a Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LibKey

type LibKey struct {
	DeviceID uint64
	INode    uint64
}

func FindLibKey

func FindLibKey(path string) (*LibKey, error)

type ProcTLSLib

type ProcTLSLib struct {
	Path string
	Type TLSLibType
}

func DetectDynTLSLib

func DetectDynTLSLib(dl *execve.DynLib) ([]ProcTLSLib, error)

DetectDynTLSLib detects the TLS lib from the dynamic library load event. 1. filepath 2. fd -> readlink 3. scan maps

func DetectTLSLibType

func DetectTLSLibType(proc int32) ([]ProcTLSLib, error)

type TLSLibType

type TLSLibType int
const (
	TLSLibOpenSSL TLSLibType = iota
	TLSLibBoringSSL
)

Jump to

Keyboard shortcuts

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