-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
Upon latest build from master
, frida-cycript is failing upon start. To replicate, you need to start fcy#
prompt and start writing something; ie:
./cycript
fcy# choose
[1] 31013 segmentation fault ./cycript
Backtrace dumps on istreambuf iterator:
galaxy@devil. frida-cycript/build/src update-meson-build ∙ lldb cycript
Voltron loaded.
(lldb) target create "cycript"
Current executable set to '/Users/hduraki/dev/frida-cycript/build/src/cycript' (x86_64).
(lldb) r
Process 19773 launched: '/Users/hduraki/dev/frida-cycript/build/src/cycript' (x86_64)
2022-04-06 01:43:39.622959+0200 cycript[19773:41072626] SecTaskLoadEntitlements failed error=22 cs_flags=20, pid=19773
2022-04-06 01:43:39.623537+0200 cycript[19773:41072626] SecTaskCopyDebugDescription: cycript[19773]/0#-1 LF=0
fcy#
fcy# chooseProcess 19773 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x28)
frame #0: 0x00007ff8120498aa libc++.1.dylib` std::__1::istreambuf_iterator<char, std::__1::char_traits<char> > std::__1::num_get<char, std::__1::istreambuf_iterator<char, std::__1::char_traits<char> > >::__do_get_unsigned<unsigned short>(std::__1::istreambuf_iterator<char, std::__1::char_traits<char> >, std::__1::istreambuf_iterator<char, std::__1::char_traits<char> >, std::__1::ios_base&, unsigned int&, unsigned short&) const + 54
libc++.1.dylib`std::__1::num_get<char, std::__1::istreambuf_iterator<char, std::__1::char_traits<char> > >::__do_get_unsigned<unsigned short>:
-> 0x7ff8120498aa <+54>: mov eax, dword ptr [rcx + 0x8]
0x7ff8120498ad <+57>: and eax, 0x4a
0x7ff8120498b0 <+60>: je 0x7ff8120498c4 ; <+80>
0x7ff8120498b2 <+62>: cmp eax, 0x40
0x7ff8120498b5 <+65>: je 0x7ff8120498c9 ; <+85>
0x7ff8120498b7 <+67>: cmp eax, 0x8
0x7ff8120498ba <+70>: jne 0x7ff8120498d1 ; <+93>
0x7ff8120498bc <+72>: mov r15d, 0x10
Target 0: (cycript) stopped.
(lldb)
Metadata
Metadata
Assignees
Labels
No labels