// Copyright (c) 2006, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
// Framework to provide a simple C API to crash reporting for
// applications. By default, if any machine-level exception (e.g.,
// EXC_BAD_ACCESS) occurs, it will be handled by the BreakpadRef
// object as follows:
//
// 1. Create a minidump file (see Breakpad for details)
// 2. Prompt the user (using CFUserNotification)
// 3. Invoke a command line reporting tool to send the minidump to a
// server
//
// By specifying parameters to the BreakpadCreate function, you can
// modify the default behavior to suit your needs and wants and
// desires.
// A service name associated with the original bootstrap parent port, saved in
// OnDemandServer and restored in Inspector.
#define BREAKPAD_BOOTSTRAP_PARENT_PORT "com.Breakpad.BootstrapParent"
typedef void *BreakpadRef;
#ifdef __cplusplus
extern "C" {
#endif
#include <CoreFoundation/CoreFoundation.h>
#include <Foundation/Foundation.h>
#include "BreakpadDefines.h"
// Optional user-defined function to dec to decide if we should handle
// this crash or forward it along.
// Return true if you want Breakpad to handle it.
// Return false if you want Breakpad to skip it
// The exception handler always returns false, as if SEND_AND_EXIT were false
// (which means the next exception handler will take the exception)
typedef bool (*BreakpadFilterCallback)(int exception_type,
int exception_code,
mach_port_t crashing_thread,
void *context);
// Create a new BreakpadRef object and install it as an exception
// handler. The |parameters| will typically be the contents of your
// bundle's Info.plist.
//
// You can also specify these additional keys for customizable behavior:
// Key: Value:
// BREAKPAD_PRODUCT Product name (e.g., "MyAwesomeProduct")
// This one is used as the key to identify
// the product when uploading. Falls back to
// CFBundleName if not specified.
// REQUIRED
//
// BREAKPAD_PRODUCT_DISPLAY This is the display name, e.g. a pretty
// name for the product when the crash_sender
// pops up UI for the user. Falls back first to
// CFBundleDisplayName and then to
// BREAKPAD_PRODUCT if not specified.
//
// BREAKPAD_VERSION Product version (e.g., 1.2.3), used
// as metadata for crash report. Falls back to
// CFBundleVersion if not specified.
// REQUIRED
//
// BREAKPAD_VENDOR Vendor name, used in UI (e.g. "A report has
// been created that you can send to <vendor>")
//
// BREAKPAD_URL URL destination for reporting
// REQUIRED
//
// BREAKPAD_REPORT_INTERVAL # of seconds between sending
// reports. If an additional report is
// generated within this time, it will
// be ignored. Default: 3600sec.
// Specify 0 to send all reports.
//
// BREAKPAD_SKIP_CONFIRM If true, the reporter will send the report
// without any user intervention.
// Defaults to NO
//
// BREAKPAD_CONFIRM_TIMEOUT Number of seconds before the upload
// confirmation dialog will be automatically
// dismissed (cancelling the upload).
// Default: 300 seconds (min of 60).
// Specify 0 to prevent timeout.
//
// BREAKPAD_SEND_AND_EXIT If true, the handler will exit after sending.
// This will prevent any other handler (e.g.,
// CrashReporter) from getting the crash.
// Defaults TO YES
//
// BREAKPAD_DUMP_DIRECTORY The directory to store crash-dumps
// in. By default, we use
// ~/Library/Breakpad/<BREAKPAD_PRODUCT>
// The path you specify here is tilde-expanded.
//
// BREAKPAD_INSPECTOR_LOCATION The full path to the Inspector executable.
// Defaults to <Framework resources>/Inspector
//
// BREAKPAD_REPORTER_EXE_LOCATION The full path to the Reporter/sender
// executable.
// Default:
// <Framework Resources>/crash_report_sender.app
//
// BREAKPAD_LOGFILES Indicates an array of log file paths that
// should be uploaded at crash time.
//
// BREAKPAD_REQUEST_COMMENTS If true, the message dialog will have a
// text box for the user to enter comments.
// Default: NO
//
// BREAKPAD_REQUEST_EMAIL If true and BREAKPAD_REQUEST_COMMENTS is also
// true, the message dialog will have a text
// box for the user to enter their email address.
// Default: NO
//
// BREAKPAD_SERVER_TYPE A parameter that tells Breakpad how to
// rewrite the upload parameters for a specific
// server type. The currently valid values are
// 'socorro' or 'google'. If you want to add
// other types, see the function in
// crash_report_sender.m that maps parameters to
// URL parameters. Defaults to 'google'.
//
// BREAKPAD_SERVER_PARAMETER_DICT A plist dictionary of static
// parameters that are uploaded to the
// server. The parameters are sent as
// is to the crash server. Their
// content isn't added to the minidump
// but pass as URL parameters
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
Redis Desktop Manager-0.9.3.dmg for mac (1459个子文件)
Breakpad 77KB
Breakpad 25B
CodeResources 493KB
CodeResources 16KB
CodeResources 2KB
CodeResources 2KB
CodeResources 2KB
CodeResources 2KB
CodeResources 2KB
CodeResources 2KB
CodeResources 2KB
CodeResources 2KB
CodeResources 2KB
CodeResources 2KB
CodeResources 2KB
CodeResources 2KB
CodeResources 2KB
qt.conf 78B
crash_report_sender 73KB
crashreporter 82KB
Current 1B
Current 1B
Current 1B
Current 1B
Current 1B
Current 1B
Current 1B
Current 1B
Current 1B
Current 1B
Current 1B
Current 1B
Current 1B
Current 1B
libcrypto.1.0.0.dylib 1.85MB
libqcocoa.dylib 1.6MB
libqtquickextrasflatplugin.dylib 841KB
libqwebp.dylib 597KB
libqtchartsqml2.dylib 462KB
libqtiff.dylib 433KB
libqtquickcontrolsplugin.dylib 388KB
libssl.1.0.0.dylib 371KB
libqtquicktemplates2plugin.dylib 334KB
libqjpeg.dylib 270KB
libdialogplugin.dylib 182KB
libwidgetsplugin.dylib 156KB
libqtquickcontrols2plugin.dylib 133KB
libqtquickcontrols2materialstyleplugin.dylib 131KB
libqquicklayoutsplugin.dylib 116KB
libqtquickcontrols2universalstyleplugin.dylib 112KB
libqtquickextrasplugin.dylib 104KB
breakpadUtilities.dylib 96KB
libqmlfolderlistmodelplugin.dylib 78KB
libdialogsprivateplugin.dylib 68KB
libqtgraphicaleffectsprivate.dylib 67KB
libqgenericbearer.dylib 60KB
libqsvgicon.dylib 56KB
libqicns.dylib 55KB
libqsvg_debug.dylib 50KB
libqgif.dylib 48KB
libqico.dylib 46KB
libqmlsettingsplugin.dylib 43KB
libqsvg.dylib 42KB
libqmacjp2.dylib 41KB
libqwbmp.dylib 40KB
libqtga.dylib 39KB
libcocoaprintersupport.dylib 37KB
libqtquick2plugin.dylib 33KB
libwindowplugin.dylib 32KB
libqtgraphicaleffectsplugin.dylib 32KB
libmodelsplugin.dylib 28KB
libqtquickcontrols2universalstyleplugin.dylib 74B
libqtquickcontrols2materialstyleplugin.dylib 73B
libqtquickextrasflatplugin.dylib 64B
libqmlfolderlistmodelplugin.dylib 62B
libqtgraphicaleffectsprivate.dylib 60B
libdialogsprivateplugin.dylib 58B
libqtquicktemplates2plugin.dylib 58B
libqtquickcontrols2plugin.dylib 57B
libqtgraphicaleffectsplugin.dylib 56B
libqtquickcontrolsplugin.dylib 56B
libqmlsettingsplugin.dylib 55B
libqquicklayoutsplugin.dylib 54B
libqtquickextrasplugin.dylib 54B
libwidgetsplugin.dylib 48B
libmodelsplugin.dylib 47B
libwindowplugin.dylib 47B
libdialogplugin.dylib 47B
libqtquick2plugin.dylib 46B
libqtchartsqml2.dylib 44B
Breakpad.h 14KB
BreakpadDefines.h 4KB
Headers 24B
crash_report_sender.icns 167KB
rdm.icns 71KB
Inspector 23KB
CalendarUtils.js 5KB
style.js 2KB
StackView.js 2KB
CalendarUtils.jsc 10KB
共 1459 条
- 1
- 2
- 3
- 4
- 5
- 6
- 15
明华瓦哈哈
- 粉丝: 20
- 资源: 10
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于matlab实现的机械振动分析 的作业 自己编写关于机械振动建模 从物理模型到数学分析模型.rar
- 基于matlab实现的活性污泥模型的计算中进水水质转化的源代码.rar
- 基于matlab实现的霍夫变换的令一种算法,对于直线检测效果很好.rar
- 基于STM32F334的数字太阳能充电宝源码+项目说明..zip
- 基于matlab实现的进行霍夫变换检测圆...未使用matlab的源码.rar
- 基于matlab实现的集群优化算法-和声算法,可添加到其他工程进行二次开发.rar
- 基于matlab实现的利用Hough(霍夫)变换检测图片中的圆,并进行分割.rar
- 基于matlab实现的数学形态滤波器用于旋转机械的振动信号的降噪.rar
- 基于matlab实现的文档+程序 红外弱小目标检测
- 4444444444444444444444
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
- 5
- 6
前往页