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
.