diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-09-11 08:33:18 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-09-20 07:44:31 +0200 |
| commit | 846d316efab8b8b654eee58b952cdf1ba2d3eb42 (patch) | |
| tree | 217e8f5b825ad11c224d016a6d54b9224337b5f6 /miasm2/analysis/data_flow.py | |
| parent | 2f9139cbc737978d7308496bb8249a99431320e7 (diff) | |
| download | miasm-846d316efab8b8b654eee58b952cdf1ba2d3eb42.tar.gz miasm-846d316efab8b8b654eee58b952cdf1ba2d3eb42.zip | |
Code cleaning: lgtm.com
Diffstat (limited to 'miasm2/analysis/data_flow.py')
| -rw-r--r-- | miasm2/analysis/data_flow.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/analysis/data_flow.py b/miasm2/analysis/data_flow.py index f3881df9..83dae92d 100644 --- a/miasm2/analysis/data_flow.py +++ b/miasm2/analysis/data_flow.py @@ -957,7 +957,7 @@ def read_mem(bs, expr): var_bytes = bs.getbytes(ptr, expr.size / 8)[::-1] try: value = int(var_bytes.encode('hex'), 16) - except: + except ValueError: return expr return ExprInt(value, expr.size) |