]> Cypherpunks repositories - gostls13.git/commit
objdump: implement disassembly
authorRuss Cox <rsc@golang.org>
Wed, 14 May 2014 23:51:15 +0000 (19:51 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 14 May 2014 23:51:15 +0000 (19:51 -0400)
commit79fb16d32c20f14809a924e28d0ab18e1052647d
tree2ab06a848bfa4f9b1023c67404fd1b51eea489de
parente7ad1ebeac01ebfbc36b9848b05aa45712b3e2a2
objdump: implement disassembly

There is some duplication here with cmd/nm.
There is a TODO to address that after 1.3 is out.

Update #7452

x86 disassembly works and is tested.

The arm disassembler does not exist yet
and is therefore not yet hooked up.

LGTM=crawshaw, iant
R=crawshaw, iant
CC=golang-codereviews
https://golang.org/cl/91360046
src/cmd/objdump/Makefile
src/cmd/objdump/elf.go [new file with mode: 0644]
src/cmd/objdump/macho.go [new file with mode: 0644]
src/cmd/objdump/main.go
src/cmd/objdump/objdump_test.go
src/cmd/objdump/pe.go [new file with mode: 0644]
src/cmd/objdump/plan9obj.go [new file with mode: 0644]
src/cmd/objdump/testdata/fmthello.go [new file with mode: 0644]