dwarfutil

package
v0.0.0-...-138cc27 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2022 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindDwarf

func FindDwarf(path string) (string, error)

FindDwarf returns the path to the elf containing debug symbols for the given path. If debug symbols are present in the original path, that path is returned.

Logic based on https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html

Types

type Node

type Node struct {
	Entry     dwarf.Entry
	Children  []*Node
	OffsetMap map[dwarf.Offset]*Node
}

func Tree

func Tree(r *dwarf.Reader) *Node

Jump to

Keyboard shortcuts

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