Microsoft Word - iOSAppReverseEngineering.docx

(Romina) #1
#"<CKComposition: 0x160b79d0> text:'iMessage {\n}' subject:'(null)'"

It’ s an object of CKComposition, which clearly contains message text and subject. Keep


digging into sendComposition:, as shown in figure 10-59.


Figure 10- 59 [self sendComposition:]


The implementation is rather complicated. As we said earlier in this section, we’ll try to


avoid massive use of LLDB, thus let’s first go over all branches in this method to glimpse the


possible execution flows, then debug the uncertain ones with LLDB. We start from


loc_268D427C, as shown in figure 10-60.


Figure 10- 60 loc_268D427C


If the iMessage “hasContent”, branches right. According to figure 10-56, our content is


“iMessage”, so branch right and arrive at figure 10-61.

Free download pdf