cmd/pprof: disassembly support for PIE binaries / shared libraries #46639
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
go tool pprof
does not support disassembly of position independent code (PIE binaries or shared libraries). Notably, on Windows PIE is default, so disassembly doesn't work by default:Without PIE:
Upstream pprof's binutils backend supports base address computation to handle position independent code, but our implementation skips that entirely.
The "binutils" implementation doesn't actually seem particularly specific to binutils, so it would likely not be too difficult to support in our implementation.
cc @cherrymui @mknyszek
The text was updated successfully, but these errors were encountered: