kallsyms

package
v1.0.1 Latest Latest
Warning

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

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

Documentation

Overview

Package kallsyms loads and parses the kernel symbol table so that other modules can attach kprobe to functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(
	kallsyms []byte, interestedModules map[string]struct{},
) map[string]*SymbolTable

Parse the kallsyms data and return the parsed symbol table.

Types

type SymbolTable

type SymbolTable struct {
	// contains filtered or unexported fields
}

SymbolTable is the parsed symbol table from kernel.

func (*SymbolTable) Lookup

func (t *SymbolTable) Lookup(name, types string) uint64

Lookup looks up the symbol in a module.

Jump to

Keyboard shortcuts

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