Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run r2pipe scripts #10

Open
radare opened this issue May 13, 2015 · 1 comment
Open

Run r2pipe scripts #10

radare opened this issue May 13, 2015 · 1 comment
Assignees

Comments

@radare
Copy link

radare commented May 13, 2015

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 hteso self-assigned this May 13, 2015
@hteso
Copy link
Contributor

hteso commented May 13, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants