Figure 4- 12 Select iMessage addresses
The return value indicates our correctness by far. Finally, let’s check if my iMessage account
is ready to rock!
cy# [#0x166e7b30 CNFRegSignInComplete]
1
1 in number is YES in BOOL. We can start iMessaging others right now.
Simple and clear, right? No further explanation needed. As the exercise of this section, now
it’ s your turn to convert the above Cycript code into Objective-C code, and write a tweak to
verify your conversion as well get familiar with Cycript. One last note, remember to change my
Apple ID to yours.
4.3 LLDB and debugserver
4.3.1 Introduction to LLDB
If IDA is caliburn, then LLDB is excalibur, they are at roughly the same position in iOS
reverse engineering. LLDB, a production of Apple, stands for “Low Level Debugger”. It’s the
Xcode built-in dynamic debugger supporting C, C++ and Objective-C, working on OSX, iOS
and the iOS simulator.
LLDB’s functionality sums up in 4 points: