diff options
Diffstat (limited to 'python/function.py')
| -rw-r--r-- | python/function.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/python/function.py b/python/function.py index f558a8e8..b9cafd2e 100644 --- a/python/function.py +++ b/python/function.py @@ -3217,7 +3217,10 @@ class Function: """ called = [] for callee_addr in self.callee_addresses: - func = self.view.get_function_at(callee_addr, self.platform) + # a second argument to get_function_at() can filter callees whose platform matchers caller + # good when two functions with different arch's start at same address (rare polyglot code) + # bad for ARM/Thumb (common) + func = self.view.get_function_at(callee_addr) if func is not None: called.append(func) return called |
