| commit | 5a189bc297f7bfd286854af560f3b82c4e81bd20 | [log] [tgz] |
|---|---|---|
| author | Nicolas Hillegeer <aktau@google.com> | Thu Oct 10 16:01:11 2024 -0700 |
| committer | Gopher Robot <gobot@golang.org> | Thu Oct 10 23:27:56 2024 +0000 |
| tree | 1530c529280d2de3c1b23b50e0fa5c69758f6b65 | |
| parent | a0ffd1005ce9b0c8f93daa6fd675fe1cd072a084 [diff] |
internal/gocore: ignore execute-only mappings
Currently viewcore panics when seeing an execute-only (`--xp`) mapping.
But such mappings do exist. From /proc/self/smaps in a process on one of
our machines:
ffffffffff600000-ffffffffff601000 --xp 00000000 00:00 0 [vsyscall]
This implies `vsyscall=xonly` on that host. See
https://lwn.net/Articles/790886/.
Change-Id: I9299a53cfe07332e55fd7f6bed60f4a0f222293e
Reviewed-on: https://go-review.googlesource.com/c/debug/+/618981
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Nicolas Hillegeer <aktau@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@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.