Open asgrim opened 1 month ago
I think these should be downloaded to /tmp
and not $HOME/.pie
, but having a predictable path is very useful.
Especially when debugging crashes, as the path is in the symbol information that gdb outputs.
A random value is probably still worth keeping in a higher level path, to avoid race conditions if PIE gets run twice at the same time.
This is actually the path inside the zip that GitHub gives from the release, so we don't control that part. That said, we could add additional step to move it. Also, we may want to consider using a predictable path, e.g.
$HOME/.pie/sources/xdebug/xdebug/3.4.0alpha1/
instead of a random path.