commit | 6ef5bc2642e57aae2963dfc0a05d28b9cf3bab28 | [log] [tgz] |
---|---|---|
author | Wang Deyu <wangdeyu.2021@bytedance.com> | Wed Dec 06 11:55:45 2023 +0800 |
committer | Gopher Robot <gobot@golang.org> | Thu Jan 11 21:07:32 2024 +0000 |
tree | e0d7ea7203d11427296b74c59136424dd2195168 | |
parent | f175d0adc34362bd85065c5e8abe95821b28a22b [diff] |
internal/gocore: handle unsafe.pointer case for hchan.buf in chan In the hchan struct, buf field is an unsefa.Pointer, and its actual type is an array of length hchan.dataqsiz and type hchan.elemtype. Correct its type so that the object it points to can continue to be analyzed. For golang/go#57447. Change-Id: I47969a9a8e2870bb9573587bac5416fbea9db9ac Reviewed-on: https://go-review.googlesource.com/c/debug/+/547536 Reviewed-by: Keith Randall <khr@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Keith Randall <khr@golang.org> Reviewed-by: Keith Randall <khr@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
This repository holds utilities and libraries for debugging Go programs.
WARNING! Please expect breaking changes and unstable APIs. Most of them are currently are at an early, experimental stage.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the debug repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/debug:” in the subject line, so it is easy to find.