Avoid assertion in esil traces, speedup some paths (#13300)

This commit is contained in:
radare 2019-03-07 00:42:12 +01:00 committed by GitHub
parent c22f707f0b
commit 6ee5f04694
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,6 +91,10 @@ static int trace_hook_mem_write(RAnalEsil *esil, ut64 addr, const ut8 *buf, int
R_API void r_anal_esil_trace (RAnalEsil *esil, RAnalOp *op) {
const char *expr = r_strbuf_get (&op->esil);
if (R_STR_ISEMPTY (expr)) {
// do nothing
return;
}
int esil_verbose = esil->verbose;
if (ocbs_set) {
eprintf ("cannot call recursively\n");