diff options
| author | Andrew Lamoureux <andrew@vector35.com> | 2023-10-09 13:58:25 -0400 |
|---|---|---|
| committer | Andrew Lamoureux <andrew@vector35.com> | 2023-10-09 13:58:25 -0400 |
| commit | 9daa1b21ceb4e88868c8ef9be8d745dadef3e9d8 (patch) | |
| tree | c778666046d7c23da89f5bd2dd1328cc434508ca /python | |
| parent | a4cd93909299cb325124e1e9f63dab3f5f07ce3f (diff) | |
Dont filter on platform when enumerating callees, issue #4672
Diffstat (limited to 'python')
| -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 |
