nowsecure / r2frida

Radare2 and Frida better together.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ms crash

trufae opened this issue · comments

0$ lldb -- r2 frida://0
r
(lldb) target create "r2"
Current executable set to '/usr/local/bin/r2' (arm64).
(lldb) settings set -- target.run-args  "frida://0"
(lldb) r
Process 13034 launched: '/usr/local/bin/r2' (arm64)
INFO: Mounted io on /r2f at 0x0
 -- Good morning, pal *<:-)
[0x100003640]> ms
[/]> cd r2f
[/r2f]> ls
Process 13034 stopped
* thread #24, name = 'gum-js-loop', stop reason = EXC_BAD_ACCESS (code=1, address=0x20ead0779b60)
    frame #0: 0x000000018fffbed8 libobjc.A.dylib`objc_release + 16
libobjc.A.dylib`objc_release:
->  0x18fffbed8 <+16>: ldr    x17, [x2, #0x20]
    0x18fffbedc <+20>: tbz    w17, #0x2, 0x18fffbf3c    ; <+116>
    0x18fffbee0 <+24>: tbz    w16, #0x0, 0x18fffbf58    ; <+144>
    0x18fffbee4 <+28>: lsr    x17, x16, #55
Target 0: (r2) stopped.
(lldb)
(lldb) bt
* thread #24, name = 'gum-js-loop', stop reason = EXC_BAD_ACCESS (code=1, address=0x20ead0779b60)
  * frame #0: 0x000000018fffbed8 libobjc.A.dylib`objc_release + 16
    frame #1: 0x0000000190003418 libobjc.A.dylib`AutoreleasePoolPage::releaseUntil(objc_object**) + 196
    frame #2: 0x000000018ffffaf0 libobjc.A.dylib`objc_autoreleasePoolPop + 260
    frame #3: 0x00000001904605d4 CoreFoundation`_CFAutoreleasePoolPop + 32
    frame #4: 0x000000019156a5f4 Foundation`-[NSAutoreleasePool release] + 144
    frame #5: 0x00000001268d804c frida-agent.dylib`___lldb_unnamed_symbol11460 + 76
    frame #6: 0x00000001268d7060 frida-agent.dylib`___lldb_unnamed_symbol11445 + 772
    frame #7: 0x00000001269acbd4 frida-agent.dylib`___lldb_unnamed_symbol19402 + 1276

this is a macOS specific crash, it works well on linux