软件调试
麦晓宇
个人从事程序化交易、ios,android开发,逆向
展开
-
网址收集
http://www.openrce.org原创 2016-09-01 12:52:28 · 348 阅读 · 0 评论 -
dispatch_once造成的死锁----分析、解决与自动检测
现象 最近遇到了一个死锁crash,主线程在dispatch_once时卡住了: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 __ulock_wait + 8 1 _dispatch_unfair_lock_wait + 48 2 _dispatch_ga转载 2017-05-25 11:17:49 · 6330 阅读 · 0 评论 -
ios各种异常crash总结
1. dispatch重入,互锁了 2.发这种crash的原因如下 2.1 真心是没有定义这个函数 2.2 函数是定义了,但是参数个数不对 2.3 函数是定义了,类型参数也写对了,但是mm文件中和h中的定义不相同 2.4 在分类中调用了,但是调用者没有写上-force_load原创 2017-05-24 23:12:07 · 1508 阅读 · 0 评论 -
Runtime linking on Mac
Some files for testing With thanks to https://dev.lsstcorp.org/trac/wiki/LinkingDarwin Create files a.cc through d.cc mkdir \$HOME/dyldtest cd \$HOME/dyldtest cat a.cc #include void a() { st转载 2017-06-03 12:55:46 · 683 阅读 · 0 评论