mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-13 02:21:34 +00:00
![pancake](/assets/img/avatar_default.png)
- r_util is now bindable from swig !! - Added test cases for r_util - r_flist has been mirrored in C, to keep API consistent * Rename RIO->seek into RIO->off - There's a method with the same name - Also rename list.h ->next and ->prev into ->n ->n * Apply patch from whats fixing 'r_cmd_str' EOF for stdin (Thanks!!) - Added test program to ensure stdin food works * Allow '-f -' to rasm2 (assemble file from stdin) * Added test case in python using RBin, RAsm and RCC to compile and assemble a code to be injected in the given target program
13 lines
167 B
Python
Executable File
13 lines
167 B
Python
Executable File
#!/usr/bin/python
|
|
|
|
from r_util import *
|
|
|
|
b = RBuffer ()
|
|
print dir(b)
|
|
|
|
|
|
rs = RSystem()
|
|
str = rs.cmd_str ("ls", "")
|
|
#str = RSystem.cmd_str ("ls", "")
|
|
print "((%s))"%str
|