]> git.saurik.com Git - apple/security.git/blobdiff - OSX/utilities/debugging.h
Security-59754.80.3.tar.gz
[apple/security.git] / OSX / utilities / debugging.h
index 3a2a31068387261a4d0da87b0630521ef6b50bb4..caa2b9c22dea5cda406491783977b7dda435a0cb 100644 (file)
@@ -144,10 +144,14 @@ void __security_stackshotreport(CFStringRef reason, uint32_t code);
 #define __sec_exception_code_SQLiteBusy             __sec_exception_code(10)
 #define __sec_exception_code_CorruptDb(rc)          __sec_exception_code(11|((rc)<<8))
 #define __sec_exception_code_Watchdog               __sec_exception_code(12)
+#define __sec_exception_code_BadStash               __sec_exception_code(13)
+#define __sec_exception_code_UnexpectedState        __sec_exception_code(14)
+#define __sec_exception_code_RateLimit              __sec_exception_code(15)
 
 /* For testing only, turns off/on simulated crashes, when turning on, returns number of
    simulated crashes which were not reported since last turned off. */
 int __security_simulatecrash_enable(bool enable);
+bool __security_simulatecrash_enabled(void);
 
 /* Logging control functions */