X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/5c19dc3ae3bd8e40a9c028b0deddd50ff337692c..07691282a056c4efea71e1e505527601e8cc166b:/OSX/libsecurity_apple_csp/lib/cspdebugging.h diff --git a/OSX/libsecurity_apple_csp/lib/cspdebugging.h b/OSX/libsecurity_apple_csp/lib/cspdebugging.h index 8648f239..91fdd945 100644 --- a/OSX/libsecurity_apple_csp/lib/cspdebugging.h +++ b/OSX/libsecurity_apple_csp/lib/cspdebugging.h @@ -108,10 +108,13 @@ extern void dblog4(char *str, void * arg1, void * arg2, void * arg3, void * arg4 extern "C" { #endif +#include + static inline void _panic(const char *str) { printf("%s\n", str); - exit(1); + CRSetCrashLogMessage(str); + abort(); } #ifdef __cplusplus