inguma / bokken

Dear user: This is a git mirror of our Mercurial repository in https://bokken.inguma.eu that you can use if you prefer to use pull requests. For instructions, latest updates and such visit our main site at http://www.bokken.re and our blog http://ingumadev.blogspot.com.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run r2pipe scripts

radare opened this issue · comments

just core.cmd(". "+file) or just do core.cmd("#!pipe python "+scriptpy) or core.cmd("#!pipe node "+scriptjs)

the script will block main thread until execution is finished. i have started to add support for scripting r2 plugins, which run async in parallel and will not block main execution, but this is just wip and this will not be deprecated. See r2pipe documentation to understand how it works and which langauges are supported. But more or less.. any language will work

Check for the presence of other scripting languages prior to execution: ruby, node, etc...

Add some sample scripts; use the sample ones from radare2 source at r2b/r2pipe.