diff options
| author | Josh Ferrell <josh@vector35.com> | 2024-05-02 20:01:47 -0400 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2024-05-02 20:01:47 -0400 |
| commit | 03d9ad3c271671dc538f494604b12b04ea943a58 (patch) | |
| tree | d45bf8493501f8a0a252ad7af8e1fe83f1da3dd5 /python/binaryview.py | |
| parent | 0911568293968626737281193706755773769970 (diff) | |
Fix get_functions_by_name when platform is passed
Diffstat (limited to 'python/binaryview.py')
| -rw-r--r-- | python/binaryview.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/binaryview.py b/python/binaryview.py index dbf26456..68eedc54 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -4473,7 +4473,7 @@ class BinaryView: for address in addresses: for fn in self.get_functions_at(address): if fn.start == address: - if plat is not None and fn.platform == plat: + if plat is not None and fn.platform != plat: continue fns.append(fn) return fns |
