go/src/debug
Austin Clements 7648387705 debug/elf: transparently decompress compressed sections
This adds support for compressed ELF sections. This compression is
treated as a framing issue and hence the package APIs all
transparently decompress compressed sections. This requires some
subtlety for (*Section).Open, which returns an io.ReadSeeker: since
the decompressed data comes from an io.Reader, this commit introduces
a Reader-to-ReadSeeker adapter that is efficient for common uses of
Seek and does what it can otherwise.

Fixes #11773.

Change-Id: Ic0cb7255a85cadf4c1d15fb563d5a2e89dbd3c36
Reviewed-on: https://go-review.googlesource.com/17341
Reviewed-by: Russ Cox <rsc@golang.org>
Run-TryBot: Austin Clements <austin@google.com>
2015-12-03 20:53:11 +00:00
..
dwarf debug/dwarf: add test for split DWARF 2015-09-15 17:57:56 +00:00
elf debug/elf: transparently decompress compressed sections 2015-12-03 20:53:11 +00:00
gosym debug/gosym: clean up and modernize pclntab_test 2015-10-07 17:01:59 +00:00
macho all: remove executable bit from several files 2015-09-04 02:59:49 +00:00
pe debug/pe: truncate pe sections to their size in memory 2015-07-10 03:33:38 +00:00
plan9obj all: remove executable bit from several files 2015-09-04 02:59:49 +00:00