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. A successful
execve always leaves the calling thread as the thread group leader, so
the exec-flagged COMM record is sufficient to identify the process whose
address space was replaced.
Refs COD-2779
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments