rizin/r2-bindings/awk/bin
pancake 07929b169d Add Quiet and JSON in RCoreBin, more awk, fix rafind2
Use rabin2 -j flag to get JSON output
You can also get those jsons using the i?j command
Better awk bindings and added some examples
rabin2 -v (without any other arg) shows version
Fix some segfaults in rafind2 and use RList
Add quite output mode for rabin2 (activated with -q)
2012-11-02 03:35:50 +01:00

8 lines
145 B
Awk
Executable file

#!/usr/bin/awk -f r2.awk -f
BEGIN {
file="/bin/ls"
arch="x86"
offset=chop(entries())
print("entrypoint: "offset)
print(dis(read(e,"64")))
}