mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-27 07:00:30 +00:00
Fix many zero cases in some jump table analysis ##anal
This commit is contained in:
parent
ca261127fa
commit
207e6f91b1
@ -19,7 +19,8 @@ static void apply_case(RAnal *anal, RAnalBlock *block, ut64 switch_addr, ut64 of
|
||||
}
|
||||
if (anal->flb.set) {
|
||||
char flagname[0x30];
|
||||
snprintf (flagname, sizeof (flagname), "case.0x%"PFMT64x ".%d", (ut64)switch_addr, (int)id);
|
||||
int iid = R_ABS((int)id);
|
||||
snprintf (flagname, sizeof (flagname), "case.0x%"PFMT64x ".%d", (ut64)switch_addr, iid);
|
||||
anal->flb.set (anal->flb.f, flagname, case_addr, 1);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user