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
9 lines
193 B
Python
Executable file
9 lines
193 B
Python
Executable file
#!/usr/bin/python
|
|
from r2.r_core import RFlag
|
|
f=RFlag()
|
|
f.set("hello", 10, 20, 0);
|
|
f.set("world", 30, 40, 0);
|
|
f.list(False)
|
|
p=f.get("hello")
|
|
print "name: %s"%p.name
|
|
print "offs: 0x%x"%p.offset
|