diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2020-04-13 19:15:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-13 19:15:29 +0200 |
| commit | 69d03f48c902e7e686efecb3a6b6d37ea3265fb8 (patch) | |
| tree | de7e5ad4caaf57c7cb1b3fac6e89408edc91118b | |
| parent | 9f052f39ca4c72c1b6146d445f7764c57876013a (diff) | |
| parent | a32a4e1d03a74271090cbcc4a03bba8f60afd92e (diff) | |
| download | miasm-69d03f48c902e7e686efecb3a6b6d37ea3265fb8.tar.gz miasm-69d03f48c902e7e686efecb3a6b6d37ea3265fb8.zip | |
Merge pull request #1182 from icecr4ck/fix_type_error_dse
Type Error when using the DSE with Python3
| -rw-r--r-- | miasm/analysis/dse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/analysis/dse.py b/miasm/analysis/dse.py index ec76e60b..9cc342c7 100644 --- a/miasm/analysis/dse.py +++ b/miasm/analysis/dse.py @@ -258,7 +258,7 @@ class DSEEngine(object): # lambda cannot contain statement def default_func(dse): - fname = b"%s_symb" % libimp.fad2cname[dse.jitter.pc] + fname = b"%s_symb" % force_bytes(libimp.fad2cname[dse.jitter.pc]) raise RuntimeError("Symbolic stub '%s' not found" % fname) for addr, fname in viewitems(libimp.fad2cname): |