Improve debug binary location detection

This commit is contained in:
Justine Tunney 2023-11-16 23:26:05 -08:00
parent 68c7c9c1e0
commit 7a9e176ecf
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
17 changed files with 92 additions and 50 deletions

View file

@ -76,6 +76,7 @@ static void InstallCrashHandler(int sig, int flags) {
void ShowCrashReports(void) {
struct sigaltstack ss;
static char crashstack[65536];
FindDebugBinary();
ss.ss_flags = 0;
ss.ss_size = sizeof(crashstack);
ss.ss_sp = crashstack;