diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2016-10-03 13:33:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-03 13:33:56 +0200 |
| commit | 664cd60430c535931e2a10c5fbe18235756fba0c (patch) | |
| tree | a90abf03c7495779b12549f0a6d7a443b5b96def /miasm2/expression/stp.py | |
| parent | 9bc007e7350851d1d97e426f4d1ae369facdb721 (diff) | |
| parent | c86e781f38e4b3688392d726bdd6fcbc2e6d377b (diff) | |
| download | miasm-664cd60430c535931e2a10c5fbe18235756fba0c.tar.gz miasm-664cd60430c535931e2a10c5fbe18235756fba0c.zip | |
Merge pull request #430 from commial/feature/int_ExprInt
Feature/int expr int
Diffstat (limited to 'miasm2/expression/stp.py')
| -rw-r--r-- | miasm2/expression/stp.py | 2 |
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 |