+ Reply
Results 1 to 6 of 6
  1. #1
    What's Jailbreak?
    Join Date
    May 2008
    Posts
    7
    Thanks
    1
    Thanked 14 Times in 1 Post

    Default Help with disassembling iPhone apps.

    I use IDA Pro.
    Functions calls aren't displayed correctly (due to the "structure" of OBJ-C) - For example:
    Code:
    __text:0000F860                 LDR     R1, =off_356C8
    __text:0000F864                 ADD     R7, SP, #8+var_8
    __text:0000F868                 ADD     R3, PC, R1
    __text:0000F86C                 LDR     R1, [R3]
    __text:0000F870                 MOV     R2, #1
    __text:0000F874                 BL      _objc_msgSend
    How could I know which function is called in here?

    Thanks.

  2. #2
    plain jane vanilla (post count restored to FULL AWESOMENESS) cpjr's Avatar
    Join Date
    Jul 2007
    Location
    ATL
    Posts
    11,692
    Thanks
    181
    Thanked 1,456 Times in 1,263 Posts

    Why would you be doing this?

  3. #3
    What's Jailbreak?
    Join Date
    May 2008
    Posts
    7
    Thanks
    1
    Thanked 14 Times in 1 Post
    RE...
    I want to know how some program works

  4. #4
    Developer/Hacker JStraitiff's Avatar
    Join Date
    Oct 2008
    Location
    Buffalo, NY
    Posts
    2,391
    Thanks
    81
    Thanked 283 Times in 214 Posts

    so you are trying to decompile it?

    good luck
    Last edited by JStraitiff; 03-14-2009 at 01:02 PM.

  5. #5
    What's Jailbreak?
    Join Date
    May 2008
    Posts
    7
    Thanks
    1
    Thanked 14 Times in 1 Post
    Quote Originally Posted by him121213 View Post
    so you are trying to decompile it?

    good luck
    I'm trying to see the ASM code (and I've managed it),
    but I don't know which functions are called, each call.

    Eeach function call is displayed as a call to _objc_msgSend.

  6. #6
    Developer NetMage's Avatar
    Join Date
    Aug 2007
    Location
    Virginia
    Posts
    1,292
    Thanks
    71
    Thanked 210 Times in 168 Posts

    I suggest using otool instead.
    Starlight Computer Wizardry
    Pocket-sized Development
    Follow me on twitter: @NetMage

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts