rizin/r2-bindings/awk/io
pancake 7c1e0c85d9 Support for remote raw commands (client/server)
See the '.:' command
Full integration with awk bindings
Add install make target for the awk bindings
Handle as debug mode if io->file->debug
Fix typo quite/quiet in rabin2
Resolve $pc,$bp,$sp,$a0.. in r_core_num
Minor random fixups
2012-11-05 02:00:34 +01:00

12 lines
170 B
Awk
Executable file

#!/usr/bin/awk -f r2.awk -f
BEGIN {
file="/bin/ls"
port=r2open()
if(port) {
print(r2cmd(port, "px"));
r2close(port)
}else{
print("Cannot open r2 server")
}
}