mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-22 15:21:18 +00:00
Fix #4064 - asm.decode (null) issue
This commit is contained in:
parent
d5decff694
commit
5d7421e355
@ -229,6 +229,9 @@ R_API char *r_anal_op_to_string(RAnal *anal, RAnalOp *op) {
|
||||
char *r0 = r_anal_value_to_string (op->dst);
|
||||
char *a0 = r_anal_value_to_string (op->src[0]);
|
||||
char *a1 = r_anal_value_to_string (op->src[1]);
|
||||
if (!r0) r0 = strdup ("?");
|
||||
if (!a0) a0 = strdup ("?");
|
||||
if (!a1) a1 = strdup ("?");
|
||||
|
||||
switch (op->type) {
|
||||
case R_ANAL_OP_TYPE_MOV:
|
||||
|
@ -112,7 +112,7 @@ R_API void r_slist_optimize(RSList *s) {
|
||||
}
|
||||
}
|
||||
|
||||
eprintf ("MIN %d\nMAX %d\n", (int)min, (int)max);
|
||||
//eprintf ("MIN %d\nMAX %d\n", (int)min, (int)max);
|
||||
|
||||
s->min = min;
|
||||
s->max = max;
|
||||
|
Loading…
x
Reference in New Issue
Block a user