Is it possible to debug other applications in iphone jailbreak using gdb in xcode? remote debugging?

Is it possible to debug other applications in iphone jailbreak using gdb in xcode? remote debugging? No gdb version works with ios 6.1 ... What are the other ways to use gdb in ios 6.1?

+4
source share
3 answers

You must install debugserver (iphonedevwiki.net/index.php/Debugserver) on your iDevice in order to be able to debug the application remotely. Using the IDA, you can attach the "gdb remote debugger" to the debugserver server running on iDevice. I got it to connect to the IDA with the debugserver server, unfortunately this is as much as possible. Something in the gdb remote debugger IDA does not match send commands. I think this is due to this (sourceware.org/gdb/onlinedocs/gdb/Darwin.html) which describes that gdb should be configured to debug darwin. The IDA does not do this, and therefore it does not synchronize with the debugserver server running on iDevice. However, using the native gnu gdb client works, but I think the lack of a GUI is tiring and that getting it to work in the IDA would be great. You can also connect to the debugserver server using LLDB (lldb.llvm.org), which gives you some more control than using gdb.

Hope this helps.

+3
source

To debug iphone apps on ios6, you need to use gdb. I'm not sure what you mean when you ask if Ida can do this. The IDA disassembles the IDA file. To decrypt it, you must hack the application using the clutch or rasticrac on the iPhone. for debugging you should use gdb. Yes, all of them CAN be executed on ios 6.1 jailbroken.

+1
source

Ida is not only a disassembler, but also a very capable debugger. Unfortunately, it does not seem to be able to remove debugs using debugserver.

0
source

Source: https://habr.com/ru/post/1469085/


All Articles