diff options
| author | Camille Mougey <commial@gmail.com> | 2018-09-28 09:30:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-28 09:30:23 +0200 |
| commit | 9c8596646ba6150694deb984f25aaad73d2c7125 (patch) | |
| tree | 35e52073cea394d3e66dfa89a53d81987869abe9 /miasm2/analysis/data_flow.py | |
| parent | a5ab3c338e09da5c3e2fe871f1f13e6e37464fa1 (diff) | |
| parent | 846d316efab8b8b654eee58b952cdf1ba2d3eb42 (diff) | |
| download | miasm-9c8596646ba6150694deb984f25aaad73d2c7125.tar.gz miasm-9c8596646ba6150694deb984f25aaad73d2c7125.zip | |
Merge pull request #852 from serpilliere/fix_lgtm_2
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) |