Skip to content

Commit

Permalink
Fix assert in aaa when entrypoint is wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Dec 3, 2018
1 parent b143e1b commit a66d255
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libr/core/canal.c
Original file line number Diff line number Diff line change
Expand Up @@ -3415,6 +3415,9 @@ R_API int r_core_anal_all(RCore *core) {
}
if ((list = r_bin_get_entries (core->bin)) != NULL) {
r_list_foreach (list, iter, entry) {
if (entry->paddr == UT64_MAX) {
continue;
}
ut64 addr = r_bin_get_vaddr (core->bin, entry->paddr, entry->vaddr);
r_core_anal_fcn (core, addr, -1, R_ANAL_REF_TYPE_NULL, depth);
}
Expand Down

0 comments on commit a66d255

Please sign in to comment.