Get the latest tech news

Debugging an Undebuggable App


This app has a surprising number of anti-debugging protections. Let's figure out how to bypass them.

That’s a system call, meaning this function is delegating to the kernel to do the actual heavy lifting — which makes sense for something as low level as a debugging integration. I’ll often do that when I have a debugger attached, when I need some more complex utilities to help me dive into an app — like wanting to quickly log the accessibility information of all buttons on screen, for example. On a jailbroken device, we still need to attach a debugger and bypass the earlier protections again, but once we do, we’re back in the app, this time with Flex successfully injected, giving us a whole bunch of other useful debugging tools:

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Undebuggable App

Undebuggable App