elf

package
v0.0.0-...-3532737 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Expand

func Expand(p, prefix string) (string, error)

Types

type ELF

type ELF interface {
	Interpreter() (string, error)
	Dynamic() (File, error)
	Class() elf.Class
	Close() error
}

type File

type File struct {
	Runpath []string
	Rpath   []string
	Needed  []string
}

type Loader

type Loader func(file, prefix string) (ELF, error)

type Resolver

type Resolver struct {
	Loader Loader
	// contains filtered or unexported fields
}

func NewResolver

func NewResolver(prefix string) *Resolver

func (*Resolver) Find

func (r *Resolver) Find(file string) (string, error)

func (*Resolver) ReadConfig

func (r *Resolver) ReadConfig(file string) error

func (*Resolver) Resolve

func (r *Resolver) Resolve(file string, ld ...string) ([]string, error)

Jump to

Keyboard shortcuts

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