tobefuturer / restore-symbol

A reverse engineering tool to restore stripped symbol table for iOS app.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

请问如何用xcode调试其他app的

imrazor opened this issue · comments

作者你好,请问如何用xcode调试其他app的,多谢!

2016-08-31 2 09 35连上手机点这里

收到,多谢!

commented

您好,xcode提示
error: attach by process ID '1048' failed
unable to attach
请教这种情况是因为安装了usbmuxd, libmobiledevice的原因吗?

commented

和usbmuxd, libmobiledevice无关吧 我也装了这两个, 你看看签名是不是调试证书签的?

@tobefuturer 君哥,hopper怎么去解析block的符号表?

commented

下个ida demo版吧
hopper版的提取脚本 我师弟写过一个 不过hopper的破解版有点问题 会丢一些信息 所以就没放出来了

请问下断点报错是什么原因?给系统的方法下断点可以成功,但是不是系统的方法下断点是不成功的

(lldb) breakpoint set -F "-[UIViewController viewDidLoad]"
Breakpoint 39: where = UIKit`-[UIViewController viewDidLoad], address = 0x2d02bdbc
(lldb) breakpoint set -F "-[FGNodeListController refreshButtonPushed:]"
Breakpoint 40: no locations (pending).
WARNING:  Unable to resolve breakpoint to any actual locations.
(lldb) 

untitled 2

符号表是否恢复???

已经用这个工具恢复了符号表

如何确认符号表恢复的对不对呢?

给-[FGNodeListController refreshButtonPushed:] 内存偏移下断点,触发然后 bt

内存偏移下断点可以下,但是符号表没正确显示

(lldb) bt
* thread #1: tid = 0x2654, 0x000c3b42 fing`_mh_execute_header + 92994, queue = 'com.apple.main-thread', stop reason = breakpoint 7.1
  * frame #0: 0x000c3b42 fing`_mh_execute_header + 92994
    frame #1: 0x2df25fcc UIKit`-[UIBarButtonItem(UIInternal) _sendAction:withEvent:] + 120
    frame #2: 0x2ddc2496 UIKit`-[UIApplication sendAction:to:from:forEvent:] + 70
    frame #3: 0x2ddc2438 UIKit`-[UIControl sendAction:to:forEvent:] + 44
    frame #4: 0x2ddad04c UIKit`-[UIControl _sendActionsForEvents:withEvent:] + 584
    frame #5: 0x2ddc1e68 UIKit`-[UIControl touchesEnded:withEvent:] + 584
    frame #6: 0x2ddc1b42 UIKit`-[UIWindow _sendTouchesForEvent:] + 522
    frame #7: 0x2ddbb450 UIKit`-[UIWindow sendEvent:] + 540
    frame #8: 0x2dd91cc4 UIKit`-[UIApplication sendEvent:] + 196
    frame #9: 0x2e005512 UIKit`_UIApplicationHandleEventFromQueueEvent + 13874
    frame #10: 0x2dd90706 UIKit`_UIApplicationHandleEventQueue + 1294
    frame #11: 0x2a8d9806 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 14
    frame #12: 0x2a8d8c1a CoreFoundation`__CFRunLoopDoSources0 + 222
    frame #13: 0x2a8d7298 CoreFoundation`__CFRunLoopRun + 768
    frame #14: 0x2a824db0 CoreFoundation`CFRunLoopRunSpecific + 476
    frame #15: 0x2a824bc2 CoreFoundation`CFRunLoopRunInMode + 106
    frame #16: 0x31b89050 GraphicsServices`GSEventRunModal + 136
    frame #17: 0x2ddf0a30 UIKit`UIApplicationMain + 1440
    frame #18: 0x000bf3ae fing`_mh_execute_header + 74670
    frame #19: 0x384d1aae libdyld.dylib`start + 2

untitled