From 32508138302e608bed354f6c6bf5e105877b4dac Mon Sep 17 00:00:00 2001 From: Fabrice Desclaux Date: Mon, 8 May 2017 21:56:38 +0200 Subject: Example: fix tipo --- example/ida/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example') 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 += "}" -- cgit 1.4.1