Skip to content
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

Windows port #9

Open
radare opened this issue Sep 22, 2015 · 4 comments
Open

Windows port #9

radare opened this issue Sep 22, 2015 · 4 comments

Comments

@radare
Copy link
Collaborator

radare commented Sep 22, 2015

Requires using named pipes and such

@XVilka
Copy link
Contributor

XVilka commented Jun 3, 2016

cargo : C:\Users\appveyor\.cargo\git\checkouts\r2pipe.rs-c72b596428d291cd\master\src\r2pipe.rs:5:5: 5:33 error: unresolved import `std::os::unix::io::FromRawFd`. Could not find `unix` in `std::os` [E0432]
At line:1 char:1
+ cargo build
+ ~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (C:\Users\appvey...td::os` [E0432]:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

C:\Users\appveyor\.cargo\git\checkouts\r2pipe.rs-c72b596428d291cd\master\src\r2pipe.rs
:5 use std::os::unix::io::FromRawFd;
                                                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\appveyor\.cargo\git\checkouts\r2pipe.rs-c72b596428d291cd\master\src\r2pipe.rs:5:5: 5:33 help: run `rustc --explain E0432` to see a detailed explanation

C:\Users\appveyor\.cargo\git\checkouts\r2pipe.rs-c72b596428d291cd\master\src\r2pipe.rs:86:38: 86:55
 error: no associated item named `from_raw_fd` found for type `std::fs::File` in the current scope
C:\Users\appveyor\.cargo\git\checkouts\r2pipe.rs-c72b596428d291cd\master\src\r2pipe.rs:86                 read: BufReader::new(File::from_raw_fd(d_in)),
                                                                                                                               ^~~~~~~~~~~~~~~~~

C:\Users\appveyor\.cargo\git\checkouts\r2pipe.rs-c72b596428d291cd\master\src\r2pipe.rs:87:24: 87:41
 error: no associated item named `from_raw_fd` found for type `std::fs::File` in the current scope
C:\Users\appveyor\.cargo\git\checkouts\r2pipe.rs-c72b596428d291cd\master\src\r2pipe.rs:87                 write: File::from_raw_fd(d_out),
                                                                                                                 ^~~~~~~~~~~~~~~~~

error
: aborting due to 2 previous errors

output from AppVeyor.

@sushant94
Copy link
Collaborator

Ya, we should do something about windows cause r2pipe is the only blocker. Both radeco and radeco-lib work just fine. I'll take a look this weekend if I have sometime, shouldn't be too hard.

@radare
Copy link
Collaborator Author

radare commented Jun 3, 2016

Its just using windows named pipe instead of yhe unix ones. You can check the python, c#, node bindings..

On 03 Jun 2016, at 16:58, Sushant Dinesh notifications@github.com wrote:

Ya, we should do something about windows cause r2pipe is the only blocker. Both radeco and radeco-lib work just fine. I'll take a look this weekend if I have sometime, shouldn't be too hard.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@radare radare added this to the 0.3 milestone Jun 6, 2016
@radare
Copy link
Collaborator Author

radare commented Jun 6, 2016

@radare radare modified the milestones: 0.4, 0.3 Jun 8, 2016
ZhangZhuoSJTU pushed a commit to ZhangZhuoSJTU/r2pipe.rs that referenced this issue May 23, 2018
* Code refactor

* Debugger implementation

r.debugger.start()
r.debugger.at("main").setBreakpoint()
r.debugger.cont()
r.debugger.CPU.rip

* Backtrace
* Add continue until {call,unknownCall,ret}

d = r.debugger
d.start()
 Continue until ret
d.untilRet().cont()

* Add easy way to write to registers

d.CPU.rax = 0x100

* Files and IOmaps

* Create a Function class
* Create a file class, and list files in R2Api
* Create a IOMap class, and list maps in file

* Reviewed code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants