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/depgraph.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 '')
| -rw-r--r-- | test/analysis/depgraph.py | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/test/analysis/depgraph.py b/test/analysis/depgraph.py index 24095c7b..005ab32c 100644 --- a/test/analysis/depgraph.py +++ b/test/analysis/depgraph.py @@ -1,6 +1,5 @@ """Regression test module for DependencyGraph""" -from miasm2.expression.expression import ExprId, ExprInt32, ExprAff, ExprCond, \ - ExprInt +from miasm2.expression.expression import ExprId, ExprInt, ExprAff, ExprCond from miasm2.core.asmblock import AsmLabel from miasm2.ir.analysis import ira from miasm2.ir.ir import IRBlock, AssignBlock @@ -31,16 +30,16 @@ D_INIT = ExprId("d_init") PC = ExprId("pc") SP = ExprId("sp") -CST0 = ExprInt32(0x0) -CST1 = ExprInt32(0x1) -CST2 = ExprInt32(0x2) -CST3 = ExprInt32(0x3) -CST22 = ExprInt32(0x22) -CST23 = ExprInt32(0x23) -CST24 = ExprInt32(0x24) -CST33 = ExprInt32(0x33) -CST35 = ExprInt32(0x35) -CST37 = ExprInt32(0x37) +CST0 = ExprInt(0x0, 32) +CST1 = ExprInt(0x1, 32) +CST2 = ExprInt(0x2, 32) +CST3 = ExprInt(0x3, 32) +CST22 = ExprInt(0x22, 32) +CST23 = ExprInt(0x23, 32) +CST24 = ExprInt(0x24, 32) +CST33 = ExprInt(0x33, 32) +CST35 = ExprInt(0x35, 32) +CST37 = ExprInt(0x37, 32) LBL0 = AsmLabel("lbl0") LBL1 = AsmLabel("lbl1") |