mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-10 08:14:35 +00:00
bugfix
This commit is contained in:
parent
34022329d8
commit
eed20d3bca
@ -645,8 +645,10 @@ repeat:
|
||||
case R_ANAL_OP_TYPE_UJMP:
|
||||
// switch statement
|
||||
if (anal->opt.jmptbl) {
|
||||
RAnalRef *last_ref = fcn->refs->tail->data;
|
||||
last_ref->type = R_ANAL_REF_TYPE_NULL;
|
||||
if (fcn->refs->tail) {
|
||||
RAnalRef *last_ref = fcn->refs->tail->data;
|
||||
last_ref->type = R_ANAL_REF_TYPE_NULL;
|
||||
}
|
||||
if (op.ptr != UT64_MAX) { // direct jump
|
||||
ret = try_walkthrough_jmptbl(anal, fcn, depth, addr + idx, op.ptr, ret);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user