You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(perf): purge inherited mappings on execve to fix unknown symbols
A child forked from a parent (e.g. bash) inherits the parent's memory
mappings. When it then execve's its own binary, the inherited PIE
mappings remain and can collide with the new binary's mappings at the
same base address, leading to wrong symbolication and unknown symbols.
Handle COMM records flagged as execve and purge the exec'ing process's
inherited mappings so only its post-exec mappings are used. Guard on
pid==tid so thread renames and plain COMM records don't purge the whole
process's mappings.
Refs COD-2779
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments