Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed CrashReporter framework

… symbolication issues
  • Loading branch information...
commit c65b9549b0696bd4b3a239e769cbd708bce9a308 1 parent 5282f8e
@mattrajca mattrajca authored
Showing with 0 additions and 1,419 deletions.
  1. +0 −1  Frameworks/CrashReporter.framework/CrashReporter
  2. +0 −1  Frameworks/CrashReporter.framework/Headers
  3. +0 −1  Frameworks/CrashReporter.framework/Resources
  4. BIN  Frameworks/CrashReporter.framework/Versions/A/CrashReporter
  5. +0 −229 Frameworks/CrashReporter.framework/Versions/A/Headers/CrashReporter.h
  6. +0 −169 Frameworks/CrashReporter.framework/Versions/A/Headers/PLCrashReport.h
  7. +0 −53 Frameworks/CrashReporter.framework/Versions/A/Headers/PLCrashReportApplicationInfo.h
  8. +0 −90 Frameworks/CrashReporter.framework/Versions/A/Headers/PLCrashReportBinaryImageInfo.h
  9. +0 −65 Frameworks/CrashReporter.framework/Versions/A/Headers/PLCrashReportExceptionInfo.h
  10. +0 −51 Frameworks/CrashReporter.framework/Versions/A/Headers/PLCrashReportFormatter.h
  11. +0 −73 Frameworks/CrashReporter.framework/Versions/A/Headers/PLCrashReportMachineInfo.h
  12. +0 −92 Frameworks/CrashReporter.framework/Versions/A/Headers/PLCrashReportProcessInfo.h
  13. +0 −74 Frameworks/CrashReporter.framework/Versions/A/Headers/PLCrashReportProcessorInfo.h
  14. +0 −60 Frameworks/CrashReporter.framework/Versions/A/Headers/PLCrashReportSignalInfo.h
  15. +0 −142 Frameworks/CrashReporter.framework/Versions/A/Headers/PLCrashReportSystemInfo.h
  16. +0 −62 Frameworks/CrashReporter.framework/Versions/A/Headers/PLCrashReportTextFormatter.h
  17. +0 −114 Frameworks/CrashReporter.framework/Versions/A/Headers/PLCrashReportThreadInfo.h
  18. +0 −97 Frameworks/CrashReporter.framework/Versions/A/Headers/PLCrashReporter.h
  19. BIN  Frameworks/CrashReporter.framework/Versions/A/Resources/English.lproj/InfoPlist.strings
  20. +0 −38 Frameworks/CrashReporter.framework/Versions/A/Resources/Info.plist
  21. +0 −1  Frameworks/CrashReporter.framework/Versions/Current
  22. +0 −6 Pixen.xcodeproj/project.pbxproj
View
1  Frameworks/CrashReporter.framework/CrashReporter
View
1  Frameworks/CrashReporter.framework/Headers
View
1  Frameworks/CrashReporter.framework/Resources
View
BIN  Frameworks/CrashReporter.framework/Versions/A/CrashReporter
Binary file not shown
View
229 Frameworks/CrashReporter.framework/Versions/A/Headers/CrashReporter.h
@@ -1,229 +0,0 @@
-/*
- * Author: Landon Fuller <landonf@plausiblelabs.com>
- *
- * Copyright (c) 2008-2009 Plausible Labs Cooperative, Inc.
- * All rights reserved.
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use,
- * copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following
- * conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- */
-
-#import <Foundation/Foundation.h>
-
-#ifdef __APPLE__
-#import <AvailabilityMacros.h>
-#endif
-
-#import "PLCrashReporter.h"
-#import "PLCrashReport.h"
-#import "PLCrashReportTextFormatter.h"
-
-/**
- * @defgroup functions Crash Reporter Functions Reference
- */
-
-/**
- * @defgroup types Crash Reporter Data Types Reference
- */
-
-/**
- * @defgroup constants Crash Reporter Constants Reference
- */
-
-/**
- * @internal
- * @defgroup plcrash_internal Crash Reporter Internal Documentation
- */
-
-/**
- * @defgroup enums Enumerations
- * @ingroup constants
- */
-
-/**
- * @defgroup globals Global Variables
- * @ingroup constants
- */
-
-/**
- * @defgroup exceptions Exceptions
- * @ingroup constants
- */
-
-/* Exceptions */
-extern NSString *PLCrashReporterException;
-
-/* Error Domain and Codes */
-extern NSString *PLCrashReporterErrorDomain;
-
-/**
- * NSError codes in the Plausible Crash Reporter error domain.
- * @ingroup enums
- */
-typedef enum {
- /** An unknown error has occured. If this
- * code is received, it is a bug, and should be reported. */
- PLCrashReporterErrorUnknown = 0,
-
- /** An Mach or POSIX operating system error has occured. The underlying NSError cause may be fetched from the userInfo
- * dictionary using the NSUnderlyingErrorKey key. */
- PLCrashReporterErrorOperatingSystem = 1,
-
- /** The crash report log file is corrupt or invalid */
- PLCrashReporterErrorCrashReportInvalid = 2,
-} PLCrashReporterError;
-
-
-/* Library Imports */
-#import "PLCrashReporter.h"
-#import "PLCrashReport.h"
-#import "PLCrashReportTextFormatter.h"
-
-/**
- * @mainpage Plausible Crash Reporter
- *
- * @section intro_sec Introduction
- *
- * Plausile CrashReporter implements in-process crash reporting on the iPhone and Mac OS X.
- *
- * The following features are supported:
- *
- * - Implemented as an in-process signal handler.
- * - Does not interfer with debugging in gdb..
- * - Handles both uncaught Objective-C exceptions and fatal signals (SIGSEGV, SIGBUS, etc).
- * - Full thread state for all active threads (backtraces, register dumps) is provided.
- *
- * If your application crashes, a crash report will be written. When the application is next run, you may check for a
- * pending crash report, and submit the report to your own HTTP server, send an e-mail, or even introspect the
- * report locally.
- *
- * @section intro_encoding Crash Report Format
- *
- * Crash logs are encoded using <a href="http://code.google.com/p/protobuf/">google protobuf</a>, and may be decoded
- * using the provided PLCrashReport API. Additionally, the include plcrashutil handles conversion of binary crash reports to the
- * symbolicate-compatible iPhone text format.
- *
- * @section doc_sections Documentation Sections
- * - @subpage example_usage_iphone
- * - @subpage error_handling
- * - @subpage async_safety
- */
-
-/**
- * @page example_usage_iphone Example iPhone Usage
- *
- * @code
- * //
- * // Called to handle a pending crash report.
- * //
- * - (void) handleCrashReport {
- * PLCrashReporter *crashReporter = [PLCrashReporter sharedReporter];
- * NSData *crashData;
- * NSError *error;
- *
- * // Try loading the crash report
- * crashData = [crashReporter loadPendingCrashReportDataAndReturnError: &error];
- * if (crashData == nil) {
- * NSLog(@"Could not load crash report: %@", error);
- * goto finish;
- * }
- *
- * // We could send the report from here, but we'll just print out
- * // some debugging info instead
- * PLCrashReport *report = [[[PLCrashReport alloc] initWithData: crashData error: &error] autorelease];
- * if (report == nil) {
- * NSLog(@"Could not parse crash report");
- * goto finish;
- * }
- *
- * NSLog(@"Crashed on %@", report.systemInfo.timestamp);
- * NSLog(@"Crashed with signal %@ (code %@, address=0x%" PRIx64 ")", report.signalInfo.name,
- * report.signalInfo.code, report.signalInfo.address);
- *
- * // Purge the report
- * finish:
- * [crashReporter purgePendingCrashReport];
- * return;
- * }
- *
- * // from UIApplicationDelegate protocol
- * - (void) applicationDidFinishLaunching: (UIApplication *) application {
- * PLCrashReporter *crashReporter = [PLCrashReporter sharedReporter];
- * NSError *error;
- *
- * // Check if we previously crashed
- * if ([crashReporter hasPendingCrashReport])
- * [self handleCrashReport];
-
- * // Enable the Crash Reporter
- * if (![crashReporter enableCrashReporterAndReturnError: &error])
- * NSLog(@"Warning: Could not enable crash reporter: %@", error);
- *
- * }
- * @endcode
- *
- */
-
-/**
- * @page error_handling Error Handling Programming Guide
- *
- * Where a method may return an error, Plausible Crash Reporter provides access to the underlying
- * cause via an optional NSError argument.
- *
- * All returned errors will be a member of one of the below defined domains, however, new domains and
- * error codes may be added at any time. If you do not wish to report on the error cause, many methods
- * support a simple form that requires no NSError argument.
- *
- * @section error_domains Error Domains, Codes, and User Info
- *
- * @subsection crashreporter_errors Crash Reporter Errors
- *
- * Any errors in Plausible Crash Reporter use the #PLCrashReporterErrorDomain error domain, and and one
- * of the error codes defined in #PLCrashReporterError.
- */
-
-/**
- * @page async_safety Async-Safe Programming Guide
- *
- * Plausible CrashReporter provides support for executing an application specified function in the context of the
- * crash reporter's signal handler, after the crash report has been written to disk. This was a regularly requested
- * feature, and provides the ability to implement application finalization in the event of a crash. However, writing
- * code intended for execution inside of a signal handler is exceptionally difficult, and is not recommended.
- *
- * @section program_flow Program Flow and Signal Handlers
- *
- * When the signal handler is called the normal flow of the program is interrupted, and your program is an unknown
- * state. Locks may be held, the heap may be corrupt (or in the process of being updated), and your signal
- * handler may invoke a function that was being executed at the time of the signal. This may result in deadlocks,
- * data corruption, and program termination.
- *
- * @section functions Async-Safe Functions
- *
- * A subset of functions are defined to be async-safe by the OS, and are safely callable from within a signal handler. If
- * you do implement a custom post-crash handler, it must be async-safe. A table of POSIX-defined async-safe functions
- * and additional information is available from the
- * <a href="https://www.securecoding.cert.org/confluence/display/seccode/SIG30-C.+Call+only+asynchronous-safe+functions+within+signal+handlers">CERT programming guide - SIG30-C</a>
- *
- * Most notably, the Objective-C runtime itself is not async-safe, and Objective-C may not be used within a signal
- * handler.
- *
- * @sa PLCrashReporter::setCrashCallbacks:
- */
View
169 Frameworks/CrashReporter.framework/Versions/A/Headers/PLCrashReport.h
@@ -1,169 +0,0 @@
-/*
- * Author: Landon Fuller <landonf@plausiblelabs.com>
- *
- * Copyright (c) 2008-2010 Plausible Labs Cooperative, Inc.
- * All rights reserved.
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use,
- * copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following
- * conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- */
-
-#import <Foundation/Foundation.h>
-#import "PLCrashReportSystemInfo.h"
-#import "PLCrashReportMachineInfo.h"
-#import "PLCrashReportApplicationInfo.h"
-#import "PLCrashReportProcessInfo.h"
-#import "PLCrashReportSignalInfo.h"
-#import "PLCrashReportThreadInfo.h"
-#import "PLCrashReportBinaryImageInfo.h"
-#import "PLCrashReportExceptionInfo.h"
-
-/**
- * @ingroup constants
- * Crash file magic identifier */
-#define PLCRASH_REPORT_FILE_MAGIC "plcrash"
-
-/**
- * @ingroup constants
- * Crash format version byte identifier. Will not change outside of the introduction of
- * an entirely new crash log format. */
-#define PLCRASH_REPORT_FILE_VERSION 1
-
-/**
- * @ingroup types
- * Crash log file header format.
- *
- * Crash log files start with 7 byte magic identifier (#PLCRASH_REPORT_FILE_MAGIC),
- * followed by a single unsigned byte version number (#PLCRASH_REPORT_FILE_VERSION).
- * The crash log message format itself is extensible, so this version number will only
- * be incremented in the event of an incompatible encoding or format change.
- */
-struct PLCrashReportFileHeader {
- /** Crash log magic identifier, not NULL terminated */
- const char magic[7];
-
- /** Crash log encoding/format version */
- const uint8_t version;
-
- /** File data */
- const uint8_t data[];
-} __attribute__((packed));
-
-
-/**
- * @internal
- * Private decoder instance variables (used to hide the underlying protobuf parser).
- */
-typedef struct _PLCrashReportDecoder _PLCrashReportDecoder;
-
-@interface PLCrashReport : NSObject {
-@private
- /** Private implementation variables (used to hide the underlying protobuf parser) */
- _PLCrashReportDecoder *_decoder;
-
- /** System info */
- PLCrashReportSystemInfo *_systemInfo;
-
- /** Machine info */
- PLCrashReportMachineInfo *_machineInfo;
-
- /** Application info */
- PLCrashReportApplicationInfo *_applicationInfo;
-
- /** Process info */
- PLCrashReportProcessInfo *_processInfo;
-
- /** Signal info */
- PLCrashReportSignalInfo *_signalInfo;
-
- /** Thread info (PLCrashReportThreadInfo instances) */
- NSArray *_threads;
-
- /** Binary images (PLCrashReportBinaryImageInfo instances */
- NSArray *_images;
-
- /** Exception information (may be nil) */
- PLCrashReportExceptionInfo *_exceptionInfo;
-}
-
-- (id) initWithData: (NSData *) encodedData error: (NSError **) outError;
-
-- (PLCrashReportBinaryImageInfo *) imageForAddress: (uint64_t) address;
-
-/**
- * System information.
- */
-@property(nonatomic, readonly) PLCrashReportSystemInfo *systemInfo;
-
-/**
- * YES if machine information is available.
- */
-@property(nonatomic, readonly) BOOL hasMachineInfo;
-
-/**
- * Machine information. Only available in later (v1.1+) crash report format versions. If not available,
- * will be nil.
- */
-@property(nonatomic, readonly) PLCrashReportMachineInfo *machineInfo;
-
-/**
- * Application information.
- */
-@property(nonatomic, readonly) PLCrashReportApplicationInfo *applicationInfo;
-
-/**
- * YES if process information is available.
- */
-@property(nonatomic, readonly) BOOL hasProcessInfo;
-
-/**
- * Process information. Only available in later (v1.1+) crash report format versions. If not available,
- * will be nil.
- */
-@property(nonatomic, readonly) PLCrashReportProcessInfo *processInfo;
-
-/**
- * Signal information. This provides the signal and signal code of the fatal signal.
- */
-@property(nonatomic, readonly) PLCrashReportSignalInfo *signalInfo;
-
-/**
- * Thread information. Returns a list of PLCrashReportThreadInfo instances.
- */
-@property(nonatomic, readonly) NSArray *threads;
-
-/**
- * Binary image information. Returns a list of PLCrashReportBinaryImageInfo instances.
- */
-@property(nonatomic, readonly) NSArray *images;
-
-/**
- * YES if exception information is available.
- */
-@property(nonatomic, readonly) BOOL hasExceptionInfo;
-
-/**
- * Exception information. Only available if a crash was caused by an uncaught exception,
- * otherwise nil.
- */
-@property(nonatomic, readonly) PLCrashReportExceptionInfo *exceptionInfo;
-
-@end
View
53 Frameworks/CrashReporter.framework/Versions/A/Headers/PLCrashReportApplicationInfo.h
@@ -1,53 +0,0 @@
-/*
- * Author: Landon Fuller <landonf@plausiblelabs.com>
- *
- * Copyright (c) 2008-2009 Plausible Labs Cooperative, Inc.
- * All rights reserved.
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use,
- * copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following
- * conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- */
-
-#import <Foundation/Foundation.h>
-
-@interface PLCrashReportApplicationInfo : NSObject {
-@private
- /** Application identifier */
- NSString *_applicationIdentifier;
-
- /** Application version */
- NSString *_applicationVersion;
-}
-
-- (id) initWithApplicationIdentifier: (NSString *) applicationIdentifier
- applicationVersion: (NSString *) applicationVersion;
-
-/**
- * The application identifier. This is usually the application's CFBundleIdentifier value.
- */
-@property(nonatomic, readonly) NSString *applicationIdentifier;
-
-/**
- * The application version. This is usually the application's CFBundleVersion value.
- */
-@property(nonatomic, readonly) NSString *applicationVersion;
-
-@end
View
90 Frameworks/CrashReporter.framework/Versions/A/Headers/PLCrashReportBinaryImageInfo.h
@@ -1,90 +0,0 @@
-/*
- * Author: Landon Fuller <landonf@plausiblelabs.com>
- *
- * Copyright (c) 2008-2009 Plausible Labs Cooperative, Inc.
- * All rights reserved.
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use,
- * copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following
- * conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- */
-
-#import <Foundation/Foundation.h>
-#import "PLCrashReportProcessorInfo.h"
-
-@interface PLCrashReportBinaryImageInfo : NSObject {
-@private
- /** Code type */
- PLCrashReportProcessorInfo *_processorInfo;
-
- /** Base image address */
- uint64_t _baseAddress;
-
- /** Image segment size */
- uint64_t _imageSize;
-
- /** Name of binary image */
- NSString *_imageName;
-
- /** If the UUID is available */
- BOOL _hasImageUUID;
-
- /** 128-bit object UUID. May be nil. */
- NSString *_imageUUID;
-}
-
-- (id) initWithCodeType: (PLCrashReportProcessorInfo *) processorInfo
- baseAddress: (uint64_t) baseAddress
- size: (uint64_t) imageSize
- name: (NSString *) imageName
- uuid: (NSData *) uuid;
-
-/**
- * Image code type, or nil if unavailable.
- */
-@property(nonatomic, readonly) PLCrashReportProcessorInfo *codeType;
-
-/**
- * Image base address.
- */
-@property(nonatomic, readonly) uint64_t imageBaseAddress;
-
-/**
- * Segment size.
- */
-@property(nonatomic, readonly) uint64_t imageSize;
-
-/**
- * Image name (absolute path)
- */
-@property(nonatomic, readonly) NSString *imageName;
-
-
-/**
- * YES if this image has an associated UUID.
- */
-@property(nonatomic, readonly) BOOL hasImageUUID;
-
-/**
- * 128-bit object UUID (matches Mach-O DWARF dSYM files). May be nil if unavailable.
- */
-@property(nonatomic, readonly) NSString *imageUUID;
-
-@end
View
65 Frameworks/CrashReporter.framework/Versions/A/Headers/PLCrashReportExceptionInfo.h
@@ -1,65 +0,0 @@
-/*
- * Author: Landon Fuller <landonf@plausiblelabs.com>
- *
- * Copyright (c) 2008-2009 Plausible Labs Cooperative, Inc.
- * All rights reserved.
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use,
- * copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following
- * conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- */
-
-#import <Foundation/Foundation.h>
-#import "PLCrashReportThreadInfo.h"
-
-
-@interface PLCrashReportExceptionInfo : NSObject {
-@private
- /** Name */
- NSString *_name;
-
- /** Reason */
- NSString *_reason;
-
- /** Ordered list of PLCrashReportStackFrame instances, or nil if unavailable. */
- NSArray *_stackFrames;
-}
-
-- (id) initWithExceptionName: (NSString *) name reason: (NSString *) reason;
-
-- (id) initWithExceptionName: (NSString *) name
- reason: (NSString *) reason
- stackFrames: (NSArray *) stackFrames;
-
-/**
- * The exception name.
- */
-@property(nonatomic, readonly) NSString *exceptionName;
-
-/**
- * The exception reason.
- */
-@property(nonatomic, readonly) NSString *exceptionReason;
-
-/* The exception's original call stack, as an array of PLCrashReportStackFrameInfo instances, or nil if unavailable.
- * This may be preserved across rethrow of an exception, and can be used to determine the original call stack. */
-@property(nonatomic, readonly) NSArray *stackFrames;
-
-@end
View
51 Frameworks/CrashReporter.framework/Versions/A/Headers/PLCrashReportFormatter.h
@@ -1,51 +0,0 @@
-/*
- * Author: Landon Fuller <landonf@plausiblelabs.com>
- *
- * Copyright (c) 2008-2010 Plausible Labs Cooperative, Inc.
- * All rights reserved.
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use,
- * copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following
- * conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- */
-
-#import <Foundation/Foundation.h>
-
-#import "PLCrashReport.h"
-
-/**
- * A crash report formatter accepts a PLCrashReport instance, formats it according to implementation-specified rules,
- * (such as implementing text output support), and returns the result.
- */
-@protocol PLCrashReportFormatter
-
-/**
- * Format the provided @a report.
- *
- * @param report Report to be formatted.
- * @param outError A pointer to an NSError object variable. If an error occurs, this pointer will contain an error
- * object indicating why the pending crash report could not be formatted. If no error occurs, this parameter will
- * be left unmodified. You may specify nil for this parameter, and no error information will be provided.
- *
- * @return Returns the formatted report data on success, or nil on failure.
- */
-- (NSData *) formatReport: (PLCrashReport *) report error: (NSError **) outError;
-
-@end
View
73 Frameworks/CrashReporter.framework/Versions/A/Headers/PLCrashReportMachineInfo.h
@@ -1,73 +0,0 @@
-/*
- * Author: Landon Fuller <landonf@plausible.coop>
- *
- * Copyright (c) 2008-2011 Plausible Labs Cooperative, Inc.
- * All rights reserved.
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use,
- * copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following
- * conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- */
-
-#import <Foundation/Foundation.h>
-
-#import "PLCrashReportProcessorInfo.h"
-
-@interface PLCrashReportMachineInfo : NSObject {
-@private
- /** The hardware model name (eg, MacBookPro6,1). This may be unavailable, and this property will be nil. */
- NSString *_modelName;
-
- /** The processor type. */
- PLCrashReportProcessorInfo *_processorInfo;
-
- /* The number of actual physical processor cores. */
- NSUInteger _processorCount;
-
- /* The number of logical processors. */
- NSUInteger _logicalProcessorCount;
-}
-
-- (id) initWithModelName: (NSString *) modelName
- processorInfo: (PLCrashReportProcessorInfo *) processorInfo
- processorCount: (NSUInteger) processorCount
- logicalProcessorCount: (NSUInteger) logicalProcessorCount;
-
-/** The hardware model name (eg, MacBookPro6,1). This may be unavailable, and this property will be nil. */
-@property(nonatomic, readonly) NSString *modelName;
-
-/** The processor type. */
-@property(nonatomic, readonly) PLCrashReportProcessorInfo *processorInfo;
-
-/*
- * The number of actual physical processor cores. Note that the number of active processors may be managed by the
- * operating system's power management system, and this value may not reflect the number of active
- * processors at the time of the crash.
- */
-@property(nonatomic, readonly) NSUInteger processorCount;
-
-/*
- * The number of logical processors. Note that the number of active processors may be managed by the
- * operating system's power management system, and this value may not reflect the number of active
- * processors at the time of the crash.
- */
-@property(nonatomic, readonly) NSUInteger logicalProcessorCount;
-
-@end
View
92 Frameworks/CrashReporter.framework/Versions/A/Headers/PLCrashReportProcessInfo.h
@@ -1,92 +0,0 @@
-/*
- * Author: Damian Morris <damian@moso.com.au>
- *
- * Copyright (c) 2010 MOSO Corporation, Pty Ltd.
- * Copyright (c) 2010 Plausible Labs Cooperative, Inc.
- *
- * All rights reserved.
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use,
- * copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following
- * conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- */
-
-#import <Foundation/Foundation.h>
-
-@interface PLCrashReportProcessInfo : NSObject {
-@private
- /** Process name */
- NSString *_processName;
-
- /** Process ID */
- NSUInteger _processID;
-
- /** Process path */
- NSString* _processPath;
-
- /** Parent process name */
- NSString *_parentProcessName;
-
- /** Parent process ID */
- NSUInteger _parentProcessID;
-
- /** If false, the process is being run via process-level CPU emulation (such as Rosetta). */
- BOOL _native;
-}
-
-- (id) initWithProcessName: (NSString *) processName
- processID: (NSUInteger) processID
- processPath: (NSString *) processPath
- parentProcessName: (NSString *) parentProcessName
- parentProcessID: (NSUInteger) parentProcessID
- native: (BOOL) native;
-
-/**
- * The process name. This value may not be included in the crash report, in which case this property
- * will be nil.
- */
-@property(nonatomic, readonly) NSString *processName;
-
-/**
- * The process ID.
- */
-@property(nonatomic, readonly) NSUInteger processID;
-
-/**
- * The path to the process executable. This value may not be included in the crash report, in which case this property
- * will be nil.
- */
-@property(nonatomic, readonly) NSString *processPath;
-
-/**
- * The parent process name. This value may not be included in the crash report, in which case this property
- * will be nil.
- */
-@property(nonatomic, readonly) NSString *parentProcessName;
-
-/**
- * The parent process ID.
- */
-@property(nonatomic, readonly) NSUInteger parentProcessID;
-
-/** The process' native execution status. If false, the process is being run via process-level CPU emulation (such as Rosetta). */
-@property(nonatomic, readonly) BOOL native;
-
-@end
View
74 Frameworks/CrashReporter.framework/Versions/A/Headers/PLCrashReportProcessorInfo.h
@@ -1,74 +0,0 @@
-/*
- * Author: Landon Fuller <landonf@plausible.coop>
- *
- * Copyright (c) 2008-2011 Plausible Labs Cooperative, Inc.
- * All rights reserved.
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use,
- * copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following
- * conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- */
-
-#import <Foundation/Foundation.h>
-#import <mach/machine.h>
-
-/**
- * @ingroup constants
- *
- * The type encodings supported for CPU types and subtypes. Currently only Apple
- * Mach-O defined encodings are supported.
- *
- * @internal
- * These enum values match the protobuf values. Keep them synchronized.
- */
-typedef enum {
- /** Unknown cpu type encoding. */
- PLCrashReportProcessorTypeEncodingUnknown = 0,
-
- /** Apple Mach-defined processor types. */
- PLCrashReportProcessorTypeEncodingMach = 1
-} PLCrashReportProcessorTypeEncoding;
-
-@interface PLCrashReportProcessorInfo : NSObject {
-@private
- /** Type encoding */
- PLCrashReportProcessorTypeEncoding _typeEncoding;
-
- /** CPU type */
- uint64_t _type;
-
- /** CPU subtype */
- uint64_t _subtype;
-}
-
-- (id) initWithTypeEncoding: (PLCrashReportProcessorTypeEncoding) typeEncoding
- type: (uint64_t) type
- subtype: (uint64_t) subtype;
-
-/** The CPU type encoding. */
-@property(nonatomic, readonly) PLCrashReportProcessorTypeEncoding typeEncoding;
-
-/** The CPU type. */
-@property(nonatomic, readonly) uint64_t type;
-
-/** The CPU subtype. */
-@property(nonatomic, readonly) uint64_t subtype;
-
-@end
View
60 Frameworks/CrashReporter.framework/Versions/A/Headers/PLCrashReportSignalInfo.h
@@ -1,60 +0,0 @@
-/*
- * Author: Landon Fuller <landonf@plausiblelabs.com>
- *
- * Copyright (c) 2008-2009 Plausible Labs Cooperative, Inc.
- * All rights reserved.
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use,
- * copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following
- * conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- */
-
-#import <Foundation/Foundation.h>
-
-@interface PLCrashReportSignalInfo : NSObject {
-@private
- /** Signal name */
- NSString *_name;
-
- /** Signal code */
- NSString *_code;
-
- /** Fauling instruction or address */
- uint64_t _address;
-}
-
-- (id) initWithSignalName: (NSString *) name code: (NSString *) code address: (uint64_t) address;
-
-/**
- * The signal name.
- */
-@property(nonatomic, readonly) NSString *name;
-
-/**
- * The signal code.
- */
-@property(nonatomic, readonly) NSString *code;
-
-/**
- * The faulting instruction or address.
- */
-@property(nonatomic, readonly) uint64_t address;
-
-@end
View
142 Frameworks/CrashReporter.framework/Versions/A/Headers/PLCrashReportSystemInfo.h
@@ -1,142 +0,0 @@
-/*
- * Author: Landon Fuller <landonf@plausiblelabs.com>
- *
- * Copyright (c) 2008-2009 Plausible Labs Cooperative, Inc.
- * All rights reserved.
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use,
- * copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following
- * conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- */
-
-#import <Foundation/Foundation.h>
-
-/**
- * @ingroup constants
- *
- * Indicates the Operating System under which a Crash Log was generated.
- *
- * @internal
- * These enum values match the protobuf values. Keep them synchronized.
- */
-typedef enum {
- /** Mac OS X. */
- PLCrashReportOperatingSystemMacOSX = 0,
-
- /** iPhone OS */
- PLCrashReportOperatingSystemiPhoneOS = 1,
-
- /** iPhone Simulator (Mac OS X with additional simulator-specific runtime libraries) */
- PLCrashReportOperatingSystemiPhoneSimulator = 2,
-
- /** Unknown operating system */
- PLCrashReportOperatingSystemUnknown = 3,
-} PLCrashReportOperatingSystem;
-
-/**
- * @ingroup constants
- *
- * Indicates the architecture under which a Crash Log was generated.
- *
- * @deprecated The architecture value has been deprecated in v1.1 and later crash reports. All new reports
- * will make use of the new PLCrashReportProcessorInfo CPU type encodings.
- *
- * @internal
- * These enum values match the protobuf values. Keep them synchronized.
- */
-typedef enum {
- /** x86-32. */
- PLCrashReportArchitectureX86_32 = 0,
-
- /** x86-64 */
- PLCrashReportArchitectureX86_64 = 1,
-
- /** ARMv6 */
- PLCrashReportArchitectureARMv6 = 2,
-
- /**
- * ARMv6
- * @deprecated
- * @sa PLCrashReportArchitectureARMv6
- */
- PLCrashReportArchitectureARM = PLCrashReportArchitectureARMv6,
-
- /** PPC */
- PLCrashReportArchitecturePPC = 3,
-
- /** PPC64 */
- PLCrashReportArchitecturePPC64 = 4,
-
- /** ARMv7 */
- PLCrashReportArchitectureARMv7 = 5,
-
- /** Unknown */
- PLCrashReportArchitectureUnknown = 6
-} PLCrashReportArchitecture;
-
-
-extern PLCrashReportOperatingSystem PLCrashReportHostOperatingSystem;
-extern PLCrashReportArchitecture PLCrashReportHostArchitecture;
-
-@interface PLCrashReportSystemInfo : NSObject {
-@private
- /** Operating system */
- PLCrashReportOperatingSystem _operatingSystem;
-
- /** Operating system version */
- NSString *_osVersion;
-
- /** OS build. May be nil. */
- NSString *_osBuild;
-
- /** Architecture */
- PLCrashReportArchitecture _architecture;
-
- /** Date crash report was generated. May be nil if the date is unknown. */
- NSDate *_timestamp;
-}
-
-- (id) initWithOperatingSystem: (PLCrashReportOperatingSystem) operatingSystem
- operatingSystemVersion: (NSString *) operatingSystemVersion
- architecture: (PLCrashReportArchitecture) architecture
- timestamp: (NSDate *) timestamp;
-
-- (id) initWithOperatingSystem: (PLCrashReportOperatingSystem) operatingSystem
- operatingSystemVersion: (NSString *) operatingSystemVersion
- operatingSystemBuild: (NSString *) operatingSystemBuild
- architecture: (PLCrashReportArchitecture) architecture
- timestamp: (NSDate *) timestamp;
-
-/** The operating system. */
-@property(nonatomic, readonly) PLCrashReportOperatingSystem operatingSystem;
-
-/** The operating system's release version. */
-@property(nonatomic, readonly) NSString *operatingSystemVersion;
-
-/** The operating system's build identifier (eg, 10J869). This may be unavailable, and this property will be nil. */
-@property(nonatomic, readonly) NSString *operatingSystemBuild;
-
-/** Architecture. */
-@property(nonatomic, readonly) PLCrashReportArchitecture architecture;
-
-/** Date and time that the crash report was generated. This may be unavailable, and this property will be nil. */
-@property(nonatomic, readonly) NSDate *timestamp;
-
-@end
View
62 Frameworks/CrashReporter.framework/Versions/A/Headers/PLCrashReportTextFormatter.h
@@ -1,62 +0,0 @@
-/*
- * Authors:
- * Landon Fuller <landonf@plausiblelabs.com>
- * Damian Morris <damian@moso.com.au>
- *
- * Copyright (c) 2008-2010 Plausible Labs Cooperative, Inc.
- * Copyright (c) 2010 MOSO Corporation, Pty Ltd.
- * All rights reserved.
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use,
- * copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following
- * conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- */
-
-
-#import <Foundation/Foundation.h>
-
-#import "PLCrashReportFormatter.h"
-
-/**
- * Supported text output formats.
- *
- * @ingroup enums
- */
-typedef enum {
- /** An iOS-compatible crash log text format. Compatible with the crash logs generated by the device and available
- * through iTunes Connect. */
- PLCrashReportTextFormatiOS = 0
-} PLCrashReportTextFormat;
-
-
-@interface PLCrashReportTextFormatter : NSObject <PLCrashReportFormatter> {
-@private
- /** Text output format. */
- PLCrashReportTextFormat _textFormat;
-
- /** Encoding to use for string output. */
- NSStringEncoding _stringEncoding;
-}
-
-+ (NSString *) stringValueForCrashReport: (PLCrashReport *) report withTextFormat: (PLCrashReportTextFormat) textFormat;
-
-- (id) initWithTextFormat: (PLCrashReportTextFormat) textFormat stringEncoding: (NSStringEncoding) stringEncoding;
-
-@end
View
114 Frameworks/CrashReporter.framework/Versions/A/Headers/PLCrashReportThreadInfo.h
@@ -1,114 +0,0 @@
-/*
- * Author: Landon Fuller <landonf@plausiblelabs.com>
- *
- * Copyright (c) 2008-2009 Plausible Labs Cooperative, Inc.
- * All rights reserved.
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use,
- * copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following
- * conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- */
-
-#import <Foundation/Foundation.h>
-
-@interface PLCrashReportStackFrameInfo : NSObject {
-@private
- /** Frame instruction pointer. */
- uint64_t _instructionPointer;
-}
-
-- (id) initWithInstructionPointer: (uint64_t) instructionPointer;
-
-/**
- * Frame's instruction pointer.
- */
-@property(nonatomic, readonly) uint64_t instructionPointer;
-
-@end
-
-
-@interface PLCrashReportRegisterInfo : NSObject {
-@private
- /** Register name */
- NSString *_registerName;
-
- /** Register value */
- uint64_t _registerValue;
-}
-
-- (id) initWithRegisterName: (NSString *) registerName registerValue: (uint64_t) registerValue;
-
-/**
- * Register name.
- */
-@property(nonatomic, readonly) NSString *registerName;
-
-/**
- * Register value.
- */
-@property(nonatomic, readonly) uint64_t registerValue;
-
-@end
-
-
-@interface PLCrashReportThreadInfo : NSObject {
-@private
- /** The thread number. Should be unique within a given crash log. */
- NSInteger _threadNumber;
-
- /** Ordered list of PLCrashReportStackFrame instances */
- NSArray *_stackFrames;
-
- /** YES if this thread crashed. */
- BOOL _crashed;
-
- /** List of PLCrashReportRegister instances. Will be empty if _crashed is NO. */
- NSArray *_registers;
-}
-
-- (id) initWithThreadNumber: (NSInteger) threadNumber
- stackFrames: (NSArray *) stackFrames
- crashed: (BOOL) crashed
- registers: (NSArray *) registers;
-
-/**
- * Application thread number.
- */
-@property(nonatomic, readonly) NSInteger threadNumber;
-
-/**
- * Thread backtrace. Provides an array of PLCrashReportStackFrameInfo instances.
- * The array is ordered, last callee to first.
- */
-@property(nonatomic, readonly) NSArray *stackFrames;
-
-/**
- * If this thread crashed, set to YES.
- */
-@property(nonatomic, readonly) BOOL crashed;
-
-/**
- * State of the general purpose and related registers, as a list of
- * PLCrashReportRegister instances. If this thead did not crash (crashed returns NO),
- * this list will be empty.
- */
-@property(nonatomic, readonly) NSArray *registers;
-
-@end
View
97 Frameworks/CrashReporter.framework/Versions/A/Headers/PLCrashReporter.h
@@ -1,97 +0,0 @@
-/*
- * Author: Landon Fuller <landonf@plausiblelabs.com>
- *
- * Copyright (c) 2008-2009 Plausible Labs Cooperative, Inc.
- * All rights reserved.
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use,
- * copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following
- * conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- */
-
-#import <Foundation/Foundation.h>
-
-/**
- * @ingroup functions
- *
- * Prototype of a callback function used to execute additional user code with signal information as provided
- * by PLCrashReporter. Called upon completion of crash handling, after the crash report has been written to disk.
- *
- * @param info The signal info.
- * @param uap The crash's threads context.
- * @param context The API client's supplied context value.
- *
- * @sa @ref async_safety
- * @sa PLCrashReporter::setPostCrashCallbacks:
- */
-typedef void (*PLCrashReporterPostCrashSignalCallback)(siginfo_t *info, ucontext_t *uap, void *context);
-
-/**
- * @ingroup types
- *
- * This structure contains callbacks supported by PLCrashReporter to allow the host application to perform
- * additional tasks prior to program termination after a crash has occured.
- *
- * @sa @ref async_safety
- */
-typedef struct PLCrashReporterCallbacks {
- /** The version number of this structure. If not one of the defined version numbers for this type, the behavior
- * is undefined. The current version of this structure is 0. */
- uint16_t version;
-
- /** An arbitrary user-supplied context value. This value may be NULL. */
- void *context;
-
- /** The callback used to report caught signal information. In version 0 of this structure, all crashes will be
- * reported via this function. */
- PLCrashReporterPostCrashSignalCallback handleSignal;
-} PLCrashReporterCallbacks;
-
-@interface PLCrashReporter : NSObject {
-@private
- /** YES if the crash reporter has been enabled */
- BOOL _enabled;
-
- /** Application identifier */
- NSString *_applicationIdentifier;
-
- /** Application version */
- NSString *_applicationVersion;
-
- /** Path to the crash reporter internal data directory */
- NSString *_crashReportDirectory;
-}
-
-+ (PLCrashReporter *) sharedReporter;
-
-- (BOOL) hasPendingCrashReport;
-
-- (NSData *) loadPendingCrashReportData;
-- (NSData *) loadPendingCrashReportDataAndReturnError: (NSError **) outError;
-
-- (BOOL) purgePendingCrashReport;
-- (BOOL) purgePendingCrashReportAndReturnError: (NSError **) outError;
-
-- (BOOL) enableCrashReporter;
-- (BOOL) enableCrashReporterAndReturnError: (NSError **) outError;
-
-- (void) setCrashCallbacks: (PLCrashReporterCallbacks *) callbacks;
-
-@end
View
BIN  Frameworks/CrashReporter.framework/Versions/A/Resources/English.lproj/InfoPlist.strings
Binary file not shown
View
38 Frameworks/CrashReporter.framework/Versions/A/Resources/Info.plist
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>BuildMachineOSBuild</key>
- <string>11B26</string>
- <key>CFBundleDevelopmentRegion</key>
- <string>English</string>
- <key>CFBundleExecutable</key>
- <string>CrashReporter</string>
- <key>CFBundleIdentifier</key>
- <string>com.yourcompany.CrashReporter</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>CrashReporter</string>
- <key>CFBundlePackageType</key>
- <string>FMWK</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- <key>CFBundleVersion</key>
- <string>1.0</string>
- <key>DTCompiler</key>
- <string></string>
- <key>DTPlatformBuild</key>
- <string>4B110</string>
- <key>DTPlatformVersion</key>
- <string>GM</string>
- <key>DTSDKBuild</key>
- <string>11A511a</string>
- <key>DTSDKName</key>
- <string>macosx10.7</string>
- <key>DTXcode</key>
- <string>0410</string>
- <key>DTXcodeBuild</key>
- <string>4B110</string>
-</dict>
-</plist>
View
1  Frameworks/CrashReporter.framework/Versions/Current
View
6 Pixen.xcodeproj/project.pbxproj
@@ -47,8 +47,6 @@
C96541EC13FF44A600F1F83C /* PXDeleteCollectionView.m in Sources */ = {isa = PBXBuildFile; fileRef = C96541EA13FF44A600F1F83C /* PXDeleteCollectionView.m */; };
C968A8E114A5292700905E3D /* Pixen128.png in Resources */ = {isa = PBXBuildFile; fileRef = C968A8E014A5292700905E3D /* Pixen128.png */; };
C969A18E13D2012A00F1C1FE /* QLPlugin.qlgenerator in Copy QuickLook plugin */ = {isa = PBXBuildFile; fileRef = C969A18A13D200B400F1C1FE /* QLPlugin.qlgenerator */; };
- C96AF5C81517FE1200E6FF67 /* CrashReporter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C96AF5C71517FE1200E6FF67 /* CrashReporter.framework */; };
- C96AF5C91517FE2C00E6FF67 /* CrashReporter.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = C96AF5C71517FE1200E6FF67 /* CrashReporter.framework */; };
C96BABB513ABD3AB00015C92 /* PXHotkeysPreferences.xib in Resources */ = {isa = PBXBuildFile; fileRef = C96BABB313ABD3AB00015C92 /* PXHotkeysPreferences.xib */; };
C96BABBB13ABD44A00015C92 /* PXHotkeysPreferencesController.h in Headers */ = {isa = PBXBuildFile; fileRef = C96BABB813ABD44A00015C92 /* PXHotkeysPreferencesController.h */; };
C96BABBC13ABD44A00015C92 /* PXHotkeysPreferencesController.m in Sources */ = {isa = PBXBuildFile; fileRef = C96BABB913ABD44A00015C92 /* PXHotkeysPreferencesController.m */; };
@@ -533,7 +531,6 @@
dstPath = "";
dstSubfolderSpec = 10;
files = (
- C96AF5C91517FE2C00E6FF67 /* CrashReporter.framework in Copy Frameworks */,
C9FEF7B514E986B50028F8AA /* Sparkle.framework in Copy Frameworks */,
);
name = "Copy Frameworks";
@@ -593,7 +590,6 @@
C96541EA13FF44A600F1F83C /* PXDeleteCollectionView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PXDeleteCollectionView.m; sourceTree = "<group>"; };
C968A8E014A5292700905E3D /* Pixen128.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Pixen128.png; sourceTree = "<group>"; };
C969A18513D200B300F1C1FE /* QLPlugin.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = QLPlugin.xcodeproj; path = QLPlugin/QLPlugin.xcodeproj; sourceTree = "<group>"; };
- C96AF5C71517FE1200E6FF67 /* CrashReporter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CrashReporter.framework; path = Frameworks/CrashReporter.framework; sourceTree = "<group>"; };
C96BABB413ABD3AB00015C92 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/PXHotkeysPreferences.xib; sourceTree = "<group>"; };
C96BABB813ABD44A00015C92 /* PXHotkeysPreferencesController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PXHotkeysPreferencesController.h; sourceTree = "<group>"; };
C96BABB913ABD44A00015C92 /* PXHotkeysPreferencesController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PXHotkeysPreferencesController.m; sourceTree = "<group>"; };
@@ -1039,7 +1035,6 @@
buildActionMask = 2147483647;
files = (
C931682414E9857C00B3E817 /* Sparkle.framework in Frameworks */,
- C96AF5C81517FE1200E6FF67 /* CrashReporter.framework in Frameworks */,
EAF6951106A9AE0B0019D8D7 /* Cocoa.framework in Frameworks */,
EA5E9EE80877237800FCE6FE /* Carbon.framework in Frameworks */,
BF269FE6091307BF00B7A218 /* QTKit.framework in Frameworks */,
@@ -1056,7 +1051,6 @@
children = (
EA5E9EE70877237800FCE6FE /* Carbon.framework */,
1058C7A7FEA54F5311CA2CBB /* Cocoa.framework */,
- C96AF5C71517FE1200E6FF67 /* CrashReporter.framework */,
61BB8ED608FB58F9009C75A6 /* QTKit.framework */,
D8B300DB13AFC443004E83F3 /* QuartzCore.framework */,
C98182C314F0212C0052616F /* SenTestingKit.framework */,
Please sign in to comment.
Something went wrong with that request. Please try again.