Re-enable ranal2 build
This commit is contained in:
parent
c96a05227e
commit
587642619b
|
@ -10,7 +10,7 @@ PFX=$(call rmdblslash,${DESTDIR}/${PREFIX})
|
|||
BFX=$(call rmdblslash,${DESTDIR}/${BINDIR})
|
||||
LFX=$(call rmdblslash,${DESTDIR}/${LIBDIR})
|
||||
|
||||
BINS=rax2 rasm2 rabin2 rahash2 radiff2 radare2 rafind2 rarun2 ragg2 r2agent
|
||||
BINS=rax2 rasm2 rabin2 rahash2 radiff2 radare2 rafind2 rarun2 ragg2 r2agent ranal2
|
||||
|
||||
all: preload
|
||||
@for a in ${BINS} ; do (cd $$a && ${MAKE} all) || exit 1; done
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
/* radare - LGPL - Copyright 2009-2014 - pancake */
|
||||
|
||||
#include <r_types.h>
|
||||
#include <r_anal.h>
|
||||
#include <r_lib.h>
|
||||
|
@ -82,6 +84,7 @@ static int analyze(RAnal *anal, RAnalOp *op, ut64 offset, ut8* buf, int len) {
|
|||
if (op->val != -1LL)
|
||||
printf ("value: 0x%08"PFMT64x"\n", op->val);
|
||||
printf ("stackop: %s\n", stackop);
|
||||
printf ("esil: %s\n", r_strbuf_get (&op->esil));
|
||||
printf ("stackptr: %"PFMT64d"\n", op->stackptr);
|
||||
printf ("decode str: %s\n", r_anal_op_to_string (anal, op));
|
||||
printf ("--\n");
|
||||
|
|
|
@ -94,6 +94,7 @@ R_API int r_strbuf_appendf(RStrBuf *sb, const char *fmt, ...) {
|
|||
return ret;
|
||||
}
|
||||
|
||||
// TODO: rename to tostring()
|
||||
R_API char *r_strbuf_get(RStrBuf *sb) {
|
||||
if (sb) {
|
||||
if (sb->ptr)
|
||||
|
|
Loading…
Reference in New Issue