]> Cypherpunks repositories - gostls13.git/commit
debug/elf: ajdust SectionOverlap test for proper fields
authorMeng Zhuo <mzh@golangcn.org>
Sat, 26 Mar 2022 07:15:45 +0000 (15:15 +0800)
committermzh <mzh@golangcn.org>
Fri, 1 Apr 2022 01:06:18 +0000 (01:06 +0000)
commitbaf6df06c0525b0bbcf43066f3360eb31b8e7941
tree08c49d0bea01b4e974fa6c3d7c25a17747ca53f4
parenta4ffeb9edd23e1edbea87eb9ebd8cbb84fad6efa
debug/elf: ajdust SectionOverlap test for proper fields

The current SectionOverlap tests Size (addr) with Offset (file)

This CL set this test for overlap of Size + Addr and
Offset + FileSize

Fixes #51939

Change-Id: Ied4c0b87f61c4d5e52139a8295c371f55abc776f
Reviewed-on: https://go-review.googlesource.com/c/go/+/395920
Trust: mzh <mzh@golangcn.org>
Trust: Than McIntosh <thanm@google.com>
Run-TryBot: mzh <mzh@golangcn.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/debug/elf/file_test.go