MCPcopy Create free account
hub / github.com/Selectively11/CloudRedirect / InstallCrashDumpHandler

Function InstallCrashDumpHandler

src/platform/linux/init.cpp:510–519  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508}
509
510static void InstallCrashDumpHandler()
511{
512 struct sigaction sa = {};
513 sa.sa_sigaction = CrashDumpHandler;
514 sigemptyset(&sa.sa_mask);
515 sa.sa_flags = SA_SIGINFO | SA_RESETHAND; // one-shot, with siginfo
516 sigaction(SIGSEGV, &sa, nullptr);
517 sigaction(SIGBUS, &sa, nullptr);
518 sigaction(SIGABRT, &sa, nullptr);
519}
520
521static bool SteamclientMapped()
522{

Callers 1

DeferredInitThreadFunction · 0.85

Calls 1

sigactionClass · 0.70

Tested by

no test coverage detected