mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-25 06:09:50 +00:00
Fix noreturn issue by grabbing symbol name from the symbols flagspace
This commit is contained in:
parent
2e040cd386
commit
64d0b60bcd
@ -554,7 +554,10 @@ R_API bool r_anal_noreturn_at(RAnal *anal, ut64 addr) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
int oss = anal->flb.f->space_strict;
|
||||
anal->flb.set_fs (anal->flb.f, "symbols");
|
||||
RFlagItem *fi = anal->flb.get_at (anal->flb.f, addr);
|
||||
anal->flb.f->space_strict = oss;
|
||||
if (fi) {
|
||||
if (r_anal_noreturn_at_name (anal, fi->name)) {
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user