O'Reilly logo

Android Security Cookbook by Scott Alexander-Bown, Keith Makan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Debugging the Android processes using the GDB server

Debugging processes via some GDB-like tool is what most memory corruption, buffer overflow, and malware analysis jockeys do every day. Inspecting memory and performing dynamic analysis of an application process is something fundamental to any reverse engineer no matter what platform you're focused on; this, of course, includes Android. The following recipe shows you how to debug a process running on an Android device using GDB.

Getting ready

In order to pull off this recipe, you'll need to grab the following:

How to do it...

To debug a live Android process using gdbserver, you will need ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required