libc

package
v0.0.202601 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Unspec int = iota
	TSDBase
	TSDElementBase
	TSDIndex
	TSDValue
	TSDConstant
)

Variables

This section is empty.

Functions

func IsPotentialTSDDSO

func IsPotentialTSDDSO(filename string) bool

IsPotentialTSDDSO determines if the DSO filename potentially contains pthread code

Types

type Analyzer

type Analyzer struct {
	// FunctionName is the kernel function which can be analyzed
	FunctionName string

	// Analyze can inspect the kernel function mentioned above for the Thread Pointer Base
	Analyze func([]byte) (uint32, error)
}

func GetTpBaseAnalyzers

func GetTpBaseAnalyzers() ([]Analyzer, error)

type LibcInfo

type LibcInfo struct {
	// TSDInfo is the TSDInfo extracted for this C-library
	TSDInfo TSDInfo
}

LibcInfo contains introspection information extracted from the C-library

func ExtractLibcInfo

func ExtractLibcInfo(ef *pfelf.File) (*LibcInfo, error)

type TSDInfo

type TSDInfo = support.TSDInfo

Jump to

Keyboard shortcuts

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