• 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
..
compressed-32.obj Loading commit data...
compressed-64.obj Loading commit data...
gcc-386-freebsd-exec Loading commit data...
gcc-amd64-linux-exec Loading commit data...
gcc-amd64-openbsd-debug-with-rela.obj Loading commit data...
go-relocation-test-clang-arm.obj Loading commit data...
go-relocation-test-clang-x86.obj Loading commit data...
go-relocation-test-gcc424-x86-64.obj Loading commit data...
go-relocation-test-gcc441-x86-64.obj Loading commit data...
go-relocation-test-gcc441-x86.obj Loading commit data...
go-relocation-test-gcc482-aarch64.obj Loading commit data...
go-relocation-test-gcc482-ppc64le.obj Loading commit data...
go-relocation-test-gcc492-arm.obj Loading commit data...
go-relocation-test-gcc492-mips64.obj Loading commit data...
go-relocation-test-gcc493-mips64le.obj Loading commit data...
go-relocation-test-gcc5-ppc.obj Loading commit data...
hello-world-core.gz Loading commit data...
hello.c Loading commit data...
zdebug-test-gcc484-x86-64.obj Loading commit data...