about summary refs log tree commit diff stats
path: root/miasm2/expression/stp.py
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2016-09-15 17:46:32 +0200
committerAjax <commial@gmail.com>2016-09-16 08:16:17 +0200
commitc86e781f38e4b3688392d726bdd6fcbc2e6d377b (patch)
tree1e2283aa841316cfabb21c9c2d4ac6e116f97dab /miasm2/expression/stp.py
parenteffb612334d88ce2f52c728e542bda2902bd35ed (diff)
downloadmiasm-c86e781f38e4b3688392d726bdd6fcbc2e6d377b.tar.gz
miasm-c86e781f38e4b3688392d726bdd6fcbc2e6d377b.zip
Update int(XX.arg) -> int(XX)
Diffstat (limited to 'miasm2/expression/stp.py')
-rw-r--r--miasm2/expression/stp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/expression/stp.py b/miasm2/expression/stp.py
index 7ef96166..c9b76e4c 100644
--- a/miasm2/expression/stp.py
+++ b/miasm2/expression/stp.py
@@ -8,7 +8,7 @@ TODO XXX: finish
 
 
 def ExprInt_strcst(self):
-    b = bin(int(self.arg))[2::][::-1]
+    b = bin(int(self))[2::][::-1]
     b += "0" * self.size
     b = b[:self.size][::-1]
     return "0bin" + b