about summary refs log tree commit diff stats
path: root/miasm2/ir/symbexec.py
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2015-11-17 10:13:09 +0100
committerAjax <commial@gmail.com>2015-11-17 10:39:42 +0100
commitb56bafa0e4723ad42eecbdc7d26e17fdec5d9041 (patch)
treeffa24a17eafaaf598d0b85aa1b5479669b87155b /miasm2/ir/symbexec.py
parentf2bf75cfd3ce105735b802458978779c887d1885 (diff)
downloadmiasm-b56bafa0e4723ad42eecbdc7d26e17fdec5d9041.tar.gz
miasm-b56bafa0e4723ad42eecbdc7d26e17fdec5d9041.zip
Symbexec: func_write callback doesn't need anymore last arg
It was used as a destination cache
Diffstat (limited to '')
-rw-r--r--miasm2/ir/symbexec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/ir/symbexec.py b/miasm2/ir/symbexec.py
index 162f566c..9ac79b1f 100644
--- a/miasm2/ir/symbexec.py
+++ b/miasm2/ir/symbexec.py
@@ -410,7 +410,7 @@ class symbexec(object):
             self.symbols[dst] = src_o
             if isinstance(dst, m2_expr.ExprMem):
                 if self.func_write and isinstance(dst.arg, m2_expr.ExprInt):
-                    self.func_write(self, dst, src_o, {})
+                    self.func_write(self, dst, src_o)
                     del self.symbols[dst]
                 mem_dst.append(dst)
         return mem_dst