Similar thing is available within radare2 [1] too, it is available as a small library for different languages and called r2pipe [2].<p>[1] <a href="https://github.com/radareorg/radare2" rel="nofollow">https://github.com/radareorg/radare2</a><p>[2] <a href="https://radare.gitbooks.io/radare2book/content/" rel="nofollow">https://radare.gitbooks.io/radare2book/content/</a>
nice and easy ! I remember that the piping functionality was discussed in GDB mailing list long ago, but I guess it never got accepted!<p>it would have allowed writing<p><pre><code> (gdb) disas | grep mov
</code></pre>
instead of<p><pre><code> (gdb) shell-pipe disas | grep mov</code></pre>