Giter VIP home page Giter VIP logo

Comments (10)

thestr4ng3r avatar thestr4ng3r commented on August 16, 2024 1

On unix systems, _IN and _OUT are simply file descriptors that the parent process (rizin) creates and child (rz-pipe) can read/write from/to:
https://github.com/rizinorg/rizin/blob/a4b2a942c9a398a1d6f0c62b2c60cdcecfc0bd49/librz/lang/p/pipe.c#L159-L160

On Windows it's a bit different, there it uses a named pipe and the _PATH var:
https://github.com/rizinorg/rizin/blob/a4b2a942c9a398a1d6f0c62b2c60cdcecfc0bd49/librz/lang/p/pipe.c#L238-L242

from rz-pipe.

ITAYC0HEN avatar ITAYC0HEN commented on August 16, 2024 1

@4thel00z

How does one join the rizinorg btw, I will try to contribute semi-regularly as I am interested in the project

We will be more than happy to have you in Rizin :) You can jump into our Mattermost server and check out the different channels, including Rizin dev: https://im.rizin.re/
Other platforms available here: https://rizin.re/community/

See you in there! :)

from rz-pipe.

4thel00z avatar 4thel00z commented on August 16, 2024

Hi @XVilka can give me some details what is needed here? I would like to contribute that

from rz-pipe.

XVilka avatar XVilka commented on August 16, 2024

@4thel00z for example, implement a set of tests for rz-pipe.py with pytest framework.

from rz-pipe.

4thel00z avatar 4thel00z commented on August 16, 2024

ok, I can do that

from rz-pipe.

4thel00z avatar 4thel00z commented on August 16, 2024

I will refactor it too, it is really not easy to follow along

from rz-pipe.

4thel00z avatar 4thel00z commented on August 16, 2024

@XVilka what can you tell me about RZ_PIPE_IN, RZ_PIPE_OUT / RZ_PIPE_PATH? What is the path where rizin usually creates these

from rz-pipe.

wargio avatar wargio commented on August 16, 2024

they are environment variables. i think the varnames are RZPIPE_*. there is no default path. actually they need to be defined

from rz-pipe.

wargio avatar wargio commented on August 16, 2024

rzpipe_path is the path to a unix file pipe

from rz-pipe.

4thel00z avatar 4thel00z commented on August 16, 2024

@wargio @XVilka @officialcjunior
How does one join the rizinorg btw, I will try to contribute semi-regularly as I am interested in the project

@wargio
I see that these are env vars from the rzpipe code, but I need to know to what these need to point to, so I can mock them in the test
I will just try to read through some rizin code to understand what's happening

from rz-pipe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.