-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Commands r2 frida://0 and r2 'frida://?' Unresponsive in Command Prompt; Control+C Fails to Terminate Script #593
Comments
Are you using latest r2 release or did u built r2 from source? The last release for windows had a bug and behaves like this. I will do a new release this week to address that. But not sure if its another issue what you are refering to |
I have tried both latest release (5.9.0) and built from source from the latest repo (git cloned) and both are having same problem. |
See #444 (its known that r2frida got broken on windows since frida16) but you can help to debug it by setting R2_DEBUG=1 env var |
Will upload debug logs once I reach home |
@trufae, This is what I get after setting
|
Try again with latest r2 and r2frida please (5.9.2) |
|
Thanks a ton @trufae for fixing this issue. I grateful. v5.9.2 works on windows. I have made a PR for updated configure.bat. The initial had some issues. Fixed those. |
Happy to hear the confirmation of windows support fixed finally! |
This is the output of
Some sections of this output seem to be important warnings. Those parts are:
and
I'm not very aware of these warnings, and I'm not sure whether they are impactful or meaningful. Can you please take a look @trufae? |
I am also getting the error |
@samuelnunoo can you open a separate issue for that? this seems to be a bug in r2 not in r2frida and it's a windows specific problem. need a smaller reproducer to do a proper fix |
@mriamnobody i'm reopening this ticket as it seems to be an issue related to the initialization callback on the agent script only affecting windows.. the ConsPipe error is also windows specific but i think its unrelated you can try loading it without an agent script or loading a separate agent script for that. can you try running with |
Platform details and Tool versions
OS: Windows 11
Visual Studio 2022 Community edition
Python v3.10.7
Build Environment: x64
r2frida: v5.9.0
radare2: v5.9.0
Issue
I have successfully built
r2frida
from source and also tried using the pre-builtr2frida
from the release section, but both versions exhibit a similar issue. When I run the commandr2 frida://0
orr2 'frida://?'
in the command prompt, nothing happens—the text cursor just keeps blinking. If I attempt to terminate the process usingControl+C
, I receive the message{ctrl+c} pressed
, but the script neither terminates nor functions correctly.The text was updated successfully, but these errors were encountered: