tags:

views:

91

answers:

0

I've been working on a mobilesubstrate extension to auto-answer certain calls (like, for example, calls from your own google voice number): I've found the correct function to hook, but I can't seem to do anything with the (struct __CTCall *) I'm getting back.

I've seen suggestions to use CTCallCopyAddress but I can find no reference to it in 3.1.2: there's a _CTCallCopyAddress symbol according to nm but I can't figure out what I have to do to get ld to accept it.

My attempts to reverse-engineer the struct I'm being passed are being hindered by my lack of familiarity with objective-c and the difficulty of attaching a debugger.