elf_dump

command
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

README

ELF Parsing leveraging templates

By default

elf_dump just dumps the Program Headers and the Section Headers as well the symbol table

However what makes this interesting the ability to use templates to do interesting stuff

An few examples

You can filter the symbol table to extract information in different ways

elf_dump -f '{{tablealt (head (promote .Sections "SectionHeader") 3)}}' curl
elf_dump -f '{{range (head .ImportedSymbols 3)}}{{println .}}{{end}}' curl
elf_dump -f '{{range .DynamicSymbols}}{{println .}}{{end}}' curl

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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