Closed Svenito closed 7 years ago
CLI still outputs to stdout by default, but using -o buff will output to buffer
-o buff
If compiled outside of r2 use
make CFLAGS="-DSPP_STRBUF=1"
to use the strbuf included with spp. For debug, and to print out the buffer contents:
make CFLAGS="-DSPP_STRBUF=1 -DDEBUG"
Also fixes code to match r2 style
Looks good! probably better if indentation and new feature came in separate commits.. but meh
yeah, but I cleaned up as I went to make it more readable. The lack of spaces choke
CLI still outputs to stdout by default, but using
-o buff
will output to bufferIf compiled outside of r2 use
make CFLAGS="-DSPP_STRBUF=1"
to use the strbuf included with spp. For debug, and to print out the buffer contents:
make CFLAGS="-DSPP_STRBUF=1 -DDEBUG"
Also fixes code to match r2 style