Open huan opened 3 years ago
WeChat: Version 3.2.1 (19797)
$ pip3 install --upgrade frida
$ frida --version
15.1.11
┌ huan@Huans-MacBook-Air.local:~ [00:41:02] tty:[ttys000] jobs:[0]
└ $ frida WeChat
____
/ _ | Frida 15.1.11 - A world-class dynamic instrumentation toolkit
| (_| |
> _ | Commands:
/_/ |_| help -> Displays the help system
. . . . object? -> Display information about 'object'
. . . . exit/quit -> Exit
. . . .
. . . . More info at https://frida.re/docs/home/
[Local::WeChat]->
Hey guys,
This is interesting:
frida --version 15.1.14
if we attach to process running under apple silicon, it's working.
if we attach to process running under intel, process is dead
:
frida 阿里云盘
/ | Frida 15.1.14 - A world-class dynamic instrumentation toolkit | (| | | Commands: // |_| help -> Displays the help system . . . . object? -> Display information about 'object' . . . . exit/quit -> Exit . . . . . . . . More info at https://frida.re/docs/home/ Failed to attach: process is dead
So, I guess we should use Intel version of frida, which means that frida running under Intel/Rosetta, to attach to Intel processes.
Haven't tested yet.
Ye same here with me. Thought to play with frida and one offline game, but it will just exit '''
/ _ | Frida 15.1.17 - A world-class dynamic instrumentation toolkit
| (_| |
| Commands: // |_| help -> Displays the help system . . . . object? -> Display information about 'object' . . . . exit/quit -> Exit . . . . . . . . More info at https://frida.re/docs/home/ . . . . . . . . Connected to Local System (id=local) Failed to attach: process is dead '''
Tried both with and without rosetta. The result is the same. Game does run under rosetta.
My SIP is disabled
A bit sand that can't tinker with it
I ran into frida/frida#1578 this week with M1 and frida 14.2.18, and the 14.2.2
Update 1:
disable SIP
After reading Frida 12.11 Released, I did a disable SIP, I got the following error messages:
Failed to attach: unexpected error while starting thread (set_thread_state returned '(os/kern) protection failure')
Failed to attach: failed to open file “/usr/lib/libSystem.B.dylib”: open() failed: No such file or directory
Update 2:
add a boot argument
After reading Frida 12.11 Released, I did a add a boot argument, after reboot, I got the following error messages:
Failed to attach: process is dead
withSpotify
Update 3:
I confirm that I can run the following C code with frida, from frida/frida#1581 @chrisliu529
So what we are facing is the same issue as https://github.com/frida/frida/issues/1728 now.