Fix noreturn issue by grabbing symbol name from the symbols flagspace

This commit is contained in:
pancake 2016-11-23 12:01:07 +01:00
parent 2e040cd386
commit 64d0b60bcd

View File

@ -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;