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.
GNU General Public License v2.0
120 stars 15 forks source link

Run r2pipe scripts #10

Open radare opened 9 years ago

radare commented 9 years ago

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

hteso commented 9 years ago

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.