radareorg / radare2

UNIX-like reverse engineering framework and command-line toolset
https://www.radare.org/
GNU Lesser General Public License v3.0
20.61k stars 3k forks source link

Rethink r2 pipes #15435

Open XVilka opened 4 years ago

XVilka commented 4 years ago

Support more advanced ways of piping, a la PowerShell or https://blogs.gnome.org/alexl/2012/08/10/rethinking-the-shell-pipeline/. See also https://docs.microsoft.com/en-us/powershell/scripting/learn/understanding-the-powershell-pipeline?view=powershell-6

Idea is to pass JSON "objects" in some pipe cases without the hassle of handling them manually. We should make it a first-class citizen.

radare commented 4 years ago

We can implement the { command for this

On 8 Nov 2019, at 06:29, Anton Kochkov notifications@github.com wrote:

 Support more advanced ways of piping, a la PowerShell or https://blogs.gnome.org/alexl/2012/08/10/rethinking-the-shell-pipeline/. See also https://docs.microsoft.com/en-us/powershell/scripting/learn/understanding-the-powershell-pipeline?view=powershell-6

Idea is to pass JSON "objects" in some pipe cases without the hassle of handling them manually. We should make it a first-class citizen.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

XVilka commented 4 years ago

I propose a better one: |>, not a problem with the upcoming proper parser anyway.

radare commented 4 years ago

Wat

On 8 Nov 2019, at 09:26, Anton Kochkov notifications@github.com wrote:

 I propose a better one: |>, not a problem with the upcoming proper parser anyway.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

ret2libc commented 4 years ago

Nice-to-have feature, not a priority for me at the moment.