mirror of
https://github.com/radareorg/radare2-r2pipe.git
synced 2026-11-09 17:48:12 -10:00
12 lines
317 B
Python
12 lines
317 B
Python
import r2pipe
|
|
import sys
|
|
|
|
# _pipe = r2pipe.open("ccall://" + sys.argv[1], flags=["-2", "-S"])
|
|
_pipe = r2pipe.open(sys.argv[1], flags=["-2"]) #, "-S"])
|
|
res = _pipe.cmdj('iIj')
|
|
if res is None:
|
|
print("{} - FAIL".format(sys.argv[1]))
|
|
res = _pipe.cmdj('iIj')
|
|
if res is None:
|
|
print("{} - FAIL".format(sys.argv[1]))
|