objdump

command
v0.0.0-...-c6f61ee Latest Latest
Warning

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

Go to latest
Published: May 10, 2014 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

Objdump is a minimal simulation of the GNU objdump tool, just enough to support pprof.

Usage:

go tool objdump binary start end

Objdump disassembles the binary starting at the start address and stopping at the end address. The start and end addresses are program counters written in hexadecimal with optional leading 0x prefix.

It prints a sequence of stanzas of the form:

file:line
 address: assembly
 address: assembly
 ...

Each stanza gives the disassembly for a contiguous range of addresses all mapped to the same original source file and line number.

The disassembler is missing (golang.org/issue/7452) but will be added before the Go 1.3 release.

This tool is intended for use only by pprof; its interface may change or it may be deleted entirely in future releases.

Jump to

Keyboard shortcuts

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