about summary refs log tree commit diff stats
path: root/miasm2/expression/stp.py
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2016-10-03 13:33:56 +0200
committerGitHub <noreply@github.com>2016-10-03 13:33:56 +0200
commit664cd60430c535931e2a10c5fbe18235756fba0c (patch)
treea90abf03c7495779b12549f0a6d7a443b5b96def /miasm2/expression/stp.py
parent9bc007e7350851d1d97e426f4d1ae369facdb721 (diff)
parentc86e781f38e4b3688392d726bdd6fcbc2e6d377b (diff)
downloadmiasm-664cd60430c535931e2a10c5fbe18235756fba0c.tar.gz
miasm-664cd60430c535931e2a10c5fbe18235756fba0c.zip
Merge pull request #430 from commial/feature/int_ExprInt
Feature/int expr int
Diffstat (limited to '')
-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