Skip to primary content

未完待续

To Be Continued

Main menu

  • Home
  • About

Post navigation

← Previous Next →

[中文]iOS技术问答 QA1361 检测调试器

Posted on 2013/03/20 by 枯藤昏鸦

问:我如何确定程序是在调试器下运行?
答:当进程被调试的时候,内核自动设置进程选项为P_TRACED,可以通过检查当前进程是否存在该标记来确认是否处于被调试状态。

via Technical Q&A QA1361 Detecting the Debugger
-EOF-

This entry was posted in 就是不分类 and tagged iOS, QA by 枯藤昏鸦. Bookmark the permalink.
Proudly powered by WordPress