All Projects → Wuou → Wocrashprotector

Wuou / Wocrashprotector

Licence: mit
一个无侵入的 iOS crash 防护框架,基于 Swizzle Method 的 Crash 防护。能有效的防止代码潜在的crash,自动在app运行时实时捕获导致app崩溃的破环因子,使app避免崩溃,照样可以继续正常运行。 主要参考了《大白健康系统--iOS APP运行时Crash自动修复系统》此文,以及AvoidCrash、QYCrashProtector、NeverCrash这三个框架编写而成。更多内容请看项目吧。

Labels

Projects that are alternatives of or similar to Wocrashprotector

Bugsnag Laravel
Bugsnag notifier for the Laravel PHP framework. Monitor and report Laravel errors.
Stars: ✭ 746 (+323.86%)
Mutual labels:  crash
Csgo Crash Exploit
Allows you to crash any Windows user
Stars: ✭ 87 (-50.57%)
Mutual labels:  crash
Recovery
Blog:https://zhengxiaoyong.com Wechat:
Stars: ✭ 1,679 (+853.98%)
Mutual labels:  crash
Crashanalyse
iOS crash log analyse,One click to complete.
Stars: ✭ 34 (-80.68%)
Mutual labels:  crash
Bugsnag Python
Official bugsnag error monitoring and error reporting for django, flask, tornado and other python apps.
Stars: ✭ 69 (-60.8%)
Mutual labels:  crash
Crashsdk
catch crash on Android(arm/x86)
Stars: ✭ 107 (-39.2%)
Mutual labels:  crash
Rxjava2debug
RxJava 2.x extension to provide meaningful Stack Traces
Stars: ✭ 673 (+282.39%)
Mutual labels:  crash
Nevercrash
🌍 全局捕获Crash。信NeverCrash,永不Crash。
Stars: ✭ 170 (-3.41%)
Mutual labels:  crash
Jjexception
Protect the objective-c application(保护App不闪退)
Stars: ✭ 1,216 (+590.91%)
Mutual labels:  crash
Defensecrash
Android defense crash
Stars: ✭ 128 (-27.27%)
Mutual labels:  crash
Bugsnag Android
Bugsnag crash monitoring and reporting tool for Android apps
Stars: ✭ 990 (+462.5%)
Mutual labels:  crash
Sentry React Native
Official Sentry SDK for react-native
Stars: ✭ 1,032 (+486.36%)
Mutual labels:  crash
Koom
KOOM is an OOM killer on mobile platform by Kwai.
Stars: ✭ 2,247 (+1176.7%)
Mutual labels:  crash
Planb Android
A crash recovery library for Android. It allows tracking and handling crashes with different rules for debugging and production.
Stars: ✭ 29 (-83.52%)
Mutual labels:  crash
Xcrash
🔥 xCrash provides the Android app with the ability to capture java crash, native crash and ANR. No root permission or any system permissions are required.
Stars: ✭ 148 (-15.91%)
Mutual labels:  crash
Esp32 esp8266 attacks
Proof of Concept of ESP32/8266 Wi-Fi vulnerabilties (CVE-2019-12586, CVE-2019-12587, CVE-2019-12588)
Stars: ✭ 686 (+289.77%)
Mutual labels:  crash
Crashreporter
Lightweight macOS Crash Reporter Setup
Stars: ✭ 100 (-43.18%)
Mutual labels:  crash
Crashcanary
CrashCanary是一个无侵入的安卓崩溃日志记录工具,对你的代码没有任务侵入性,无需申请权限,只需要添加依赖,即可在程序崩溃时记录崩溃日志并可查看所有日志。
Stars: ✭ 175 (-0.57%)
Mutual labels:  crash
Bugsnag Go
Automatic panic monitoring for Go and Go web frameworks, like negroni, gin, and revel
Stars: ✭ 155 (-11.93%)
Mutual labels:  crash
Dr.light
iOS safety kit to avoid crash in some cases(OC)
Stars: ✭ 127 (-27.84%)
Mutual labels:  crash

WOCrashProtector

Crash protection based on Swizzle Method. Can effectively prevent the code potential crash, automatically capture the broken loop factor that causes the app to crash when the app runs, so as to prevent the app from collapsing, so it can continue to function normally

前言

 一个无侵入的 iOS crash 防护框架,基于 Swizzle Method 的 Crash 防护。能有效的防止代码潜在的crash,自动在app运行时实时捕获导致app崩溃的破环因子,使app避免崩溃,照样可以继续正常运行。 主要参考了《大白健康系统--iOS APP运行时Crash自动修复系统》此文,以及AvoidCrashQYCrashProtectorNeverCrash这三个框架编写而成。更多内容请看项目吧。简书地址👈

功能

  • unrecognized selector crash
  • KVO、KVC crash
  • NSNotification crash
  • NSTimer crash
  • Container crash(数组越界,插nil,字典objc、key为nil等)
  • NSString crash(字符串截取越界等)
  • NSAttributedString

使用方法

导入#import "WOCrashProtectorManager.h"

/**
 启动所有组件
 */
+ (void)makeAllEffective;
     
/**
 单独启动组件

 @param protectorType 启动的组件类型
 */
+ (void)configCrashProtectorService:(WOCrashProtectorStyle)protectorType;

版本适配  

系统支持 iOS 8.0 ~ iOS 11.2

注意事项

** 建议实际开发的时候关闭该组件,以便及时发现crash bug,需要上架或者演示的时候开启crash防护组件。 **

  • 该组件中使用了@try@catch捕捉crash会占用极少量内存,不过正常情况下不影响性能。
  •  目前尚未测试其他第三方框架共同使用时是否存在冲突的情况,如bugly、友盟等。
  •  如果您发现了问题希望能issue,大家一起来解决问题 ^_^
  •  最后,如果你觉得这个框架对你有帮助就给个star吧 ^_^
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].