elf

package
v0.0.0-...-a9260fc Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsImportSymbol

func IsImportSymbol(sym *elf.Symbol) bool

Types

type Module

type Module interface {
	debugger.Module
	Symbols(yield func(debugger.Symbol) bool)
	Class() elf.Class
	DynValue(tag elf.DynTag) []uint64
	Needed() []string
	GetSymbol(index uint32) *elf.Symbol
	Reloc(rel any)
}

func Import

func Import(dbg debugger.Debugger, path string, r io.ReaderAt) (Module, error)

func ImportFile

func ImportFile(dbg debugger.Debugger, file fs.File) (Module, error)

func ImportPath

func ImportPath(dbg debugger.Debugger, path string) (Module, error)

Jump to

Keyboard shortcuts

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