Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fallback to the first executable map if the given executable is invalid
When a core file is created from a Python script that's executed directly via shebang, the reported executable will be the shell script. This is a problem because when we proceed to analyse the core file pystack fails as this is not the correct binary that was used to generate the core. To avoid this problem, detect when this happens and fall back to the executable reported in the first map that has a path in the core, which is generally the real executable that we need.
- Loading branch information