rizin/r2-bindings/python/test-r_num.py
pancake 1e52015eee Add px[QW], fix segmented io and handle ! pipes
Handle `!` with r_core_cmd_str_pipe
Fix 'afl' output
Add help for 'px' command
Add pxQ and pxW to show one word per line
Fix segmented io with maps and sections
Some test cases got fixed
Add test-r_anal.py
2012-10-25 12:55:28 +02:00

9 lines
171 B
Python
Executable file

try:
from r_util import *
except:
from r2.r_asm import RNum
a = RNum (None, None);
print "The value is: %d"%(a.get("33"))
print "The math is: %d"%(a.math("33+(4*2)"))