runtime/pprof: provide memory mapping info on Windows #43296
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-Windows
Milestone
Noticed during google/pprof#592.
Currently Windows is missing memory mapping info similarly to Mac (#19790). This doesn't work very well in conjunction with ASLR. This results in addresses that do not match the binary. The workaround is to use
-buildmode exe
to disable it.Windows does seem to have
VirtualQueryEx
to get the necessary information. (https://reverseengineering.stackexchange.com/a/8299). Minimally it would be nice to get the mapping for the main executable.The text was updated successfully, but these errors were encountered: