radare2-r2pipe icon indicating copy to clipboard operation
radare2-r2pipe copied to clipboard

Examples of using r2pipe to write plugins?

Open tko opened this issue 7 years ago • 3 comments

From README:

In addition, r2pipe scripts can be used to write plugins for radare2 or extend current functionalities:

  • Assembler/Disassembler plugin for RAsm
  • RIO plugin to abstract read/write/system operations
  • Syscall handler for the ESIL emulator
  • ...

Are there examples of how to actually do any of these things? I couldn't find any, the closest thing seemed to be using r2lang instead.

tko avatar Jun 10 '18 16:06 tko

Yes. A bunch of them. See the r2b repo

On 10 Jun 2018, at 18:44, Tommi Komulainen [email protected] wrote:

From README:

In addition, r2pipe scripts can be used to write plugins for radare2 or extend current functionalities:

Assembler/Disassembler plugin for RAsm RIO plugin to abstract read/write/system operations Syscall handler for the ESIL emulator ... Are there examples of how to actually do any of these things? I couldn't find any, the closest thing seemed to be using r2lang instead.

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

radare avatar Jun 11 '18 07:06 radare

Could you be more specific? Both https://github.com/radare/r2b and https://github.com/radareorg/r2b are 404 and radare2-bindings/r2pipe only seems to make use of cmd('/bin/ls') basically.

tko avatar Jun 11 '18 12:06 tko

in r2land when we speak about r2b we talk about radare2-bindings

r2r = radare2-regressions r2pm = radare2-pm ...

On 11 Jun 2018, at 14:13, Tommi Komulainen [email protected] wrote:

Could you be more specific? Both https://github.com/radare/r2b https://github.com/radare/r2b and https://github.com/radareorg/r2b https://github.com/radareorg/r2b are 404 and radare2-bindings/r2pipe only seems to make use of cmd('/bin/ls') basically.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/radare/radare2-r2pipe/issues/61#issuecomment-396222602, or mute the thread https://github.com/notifications/unsubscribe-auth/AA3-lkkVgBKb_TyyX-sTVS-8vrDtVHfGks5t7l7xgaJpZM4UhyOw.

radare avatar Jun 11 '18 12:06 radare