pclntab

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FuncInfo

type FuncInfo struct {
	Name    string
	EntryPC uint64
	EndPC   uint64
	Size    uint64
	Package string
}

FuncInfo represents a single function extracted from pclntab.

type PclntabInfo

type PclntabInfo struct {
	NumFunctions int
	TextStart    uint64
	Functions    []FuncInfo
	RawSize      uint64
}

PclntabInfo holds parsed pclntab data.

func Parse

func Parse(ef *elf.File) (*PclntabInfo, error)

Parse extracts function information from the pclntab of an ELF binary.

Jump to

Keyboard shortcuts

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