• Austin Clements's avatar
    debug/elf: transparently decompress compressed sections · 76483877
    Austin Clements authored
    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/17341Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
    Run-TryBot: Austin Clements <austin@google.com>
    76483877
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...