diff options
| author | Josh Ferrell <josh@vector35.com> | 2026-04-15 11:21:40 -0400 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2026-04-15 11:21:44 -0400 |
| commit | b4ccb82ea76b98457d9dc59424632ca412511ed4 (patch) | |
| tree | 2eb4d7875181cee7b05413fa6dcdaea3a1d95981 /python/examples/nds.py | |
| parent | c08cf3f1eaa73a5171c27044100479998104d58a (diff) | |
[Python API] Replace bare "except:" with "except Exception:" to fix signal propagation
Diffstat (limited to 'python/examples/nds.py')
| -rw-r--r-- | python/examples/nds.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/examples/nds.py b/python/examples/nds.py index 7ca04e24..3c108c74 100644 --- a/python/examples/nds.py +++ b/python/examples/nds.py @@ -73,7 +73,7 @@ class DSView(BinaryView): ) self.add_entry_point(Architecture['armv7'].standalone_platform, self.arm_entry_addr) # type: ignore return True - except: + except Exception: log_error(traceback.format_exc()) return False @@ -90,7 +90,7 @@ class DSView(BinaryView): ) self.add_entry_point(Architecture['armv7'].standalone_platform, self.arm_entry_addr) # type: ignore return True - except: + except Exception: log_error(traceback.format_exc()) return False |
