diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2017-03-30 16:24:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-30 16:24:26 +0200 |
| commit | 7947f33a61118c35a6b24aaac29337e2739216b4 (patch) | |
| tree | 6c281f7fc4efd326fb95151173b7847026a94f05 /test/analysis/data_flow.py | |
| parent | cedf19e7d73ca8d603f2e1ed7f5306db27678e65 (diff) | |
| parent | e8916cf8cc44a0cc375af762b38798cb378b986c (diff) | |
| download | miasm-7947f33a61118c35a6b24aaac29337e2739216b4.tar.gz miasm-7947f33a61118c35a6b24aaac29337e2739216b4.zip | |
Merge pull request #509 from commial/fix/int-singleton
Fix/int singleton
Diffstat (limited to 'test/analysis/data_flow.py')
| -rw-r--r-- | test/analysis/data_flow.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/analysis/data_flow.py b/test/analysis/data_flow.py index a40d000a..1784f87f 100644 --- a/test/analysis/data_flow.py +++ b/test/analysis/data_flow.py @@ -1,5 +1,5 @@ """ Test cases for dead code elimination""" -from miasm2.expression.expression import ExprId, ExprInt32, ExprAff, ExprMem +from miasm2.expression.expression import ExprId, ExprInt, ExprAff, ExprMem from miasm2.core.asmblock import AsmLabel from miasm2.analysis.data_flow import * from miasm2.ir.analysis import ira @@ -20,9 +20,9 @@ r_init = ExprId("r_init") # Return register pc = ExprId("pc") sp = ExprId("sp") -CST1 = ExprInt32(0x11) -CST2 = ExprInt32(0x12) -CST3 = ExprInt32(0x13) +CST1 = ExprInt(0x11, 32) +CST2 = ExprInt(0x12, 32) +CST3 = ExprInt(0x13, 32) LBL0 = AsmLabel("lbl0") LBL1 = AsmLabel("lbl1") |