diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2017-05-08 21:56:38 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2017-05-09 13:58:23 +0200 |
| commit | 32508138302e608bed354f6c6bf5e105877b4dac (patch) | |
| tree | 1c06ab279571b6075ba8f2c0bab284545d6ac46d /example/ida/utils.py | |
| parent | d37346fda36fff2732a68bcba54b9dd32f0eef75 (diff) | |
| download | miasm-32508138302e608bed354f6c6bf5e105877b4dac.tar.gz miasm-32508138302e608bed354f6c6bf5e105877b4dac.zip | |
Example: fix tipo
Diffstat (limited to 'example/ida/utils.py')
| -rw-r--r-- | example/ida/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ida/utils.py b/example/ida/utils.py index 9af98cc5..a7d2418a 100644 --- a/example/ida/utils.py +++ b/example/ida/utils.py @@ -113,7 +113,7 @@ def expr2colorstr(regs_ids, expr): s += ", ".join(["%s, %s, %s" % (expr2colorstr(regs_ids, subexpr), idaapi.COLSTR(str(idx), idaapi.SCOLOR_RPTCMT), - idaapi.COLSTR(str(idx + expr.size), + idaapi.COLSTR(str(idx + subexpr.size), idaapi.SCOLOR_RPTCMT)) for idx, subexpr in expr.iter_args()]) s += "}" |