elftree

command module
v0.0.0-...-02ab70b Latest Latest
Warning

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

Go to latest
Published: May 16, 2018 License: MIT Imports: 10 Imported by: 0

README

ELF tree

Show library dependency of an ELF binary in a tree form. It supports folding and expanding subtree and shows related information.

screenshot

Usage

$ elftree
Usage: elftree [<options>] <executable>

$ elftree -h
Usage of elftree:
  -p	Show library path
  -stdio
	Show it on standard IO
  -tui
	Show it with TUI (default true)
  -v	Show binary info

$ elftree -stdio `which firefox`
firefox
   libpthread.so.0
      libc.so.6
         ld-linux-x86-64.so.2
      ld-linux-x86-64.so.2
   libdl.so.2
      libc.so.6
      ld-linux-x86-64.so.2
   libstdc++.so.6
      libm.so.6
         libc.so.6
         ld-linux-x86-64.so.2
      libc.so.6
      ld-linux-x86-64.so.2
      libgcc_s.so.1
         libc.so.6
   libm.so.6
   libgcc_s.so.1
   libc.so.6
   ld-linux-x86-64.so.2
TUI keys
  • f: file header view
  • s: section header view
  • d: dynamic info view
  • y: symbol view
  • ENTER: toggle folding
  • TAB: switch window
  • q: quit

How to install

If you have golang environment setup:

$ go get github.com/namhyung/elftree

Or, just download the binary:

$ wget https://github.com/namhyung/elftree/releases/download/v0.1/elftree-linux-amd64
$ sudo install -D elftree-linux-amd64 /usr/local/bin/elftree

Documentation

Overview

* ELF tree - Tree viewer for ELF library dependency * * Copyright (C) 2017-2018 Namhyung Kim <namhyung@gmail.com> * * Released under MIT license.

* ELF tree - Tree viewer for ELF library dependency * * Copyright (C) 2017 Namhyung Kim <namhyung@gmail.com> * * Released under MIT license.

* ELF tree - Tree viewer for ELF library dependency * * Copyright (C) 2017 Namhyung Kim <namhyung@gmail.com> * * Released under MIT license.

Jump to

Keyboard shortcuts

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