diff options
| author | serpilliere <devnull@localhost> | 2012-05-09 13:53:30 +0200 |
|---|---|---|
| committer | serpilliere <devnull@localhost> | 2012-05-09 13:53:30 +0200 |
| commit | 6008b0fe75024316529e485500f063cd6c1f6720 (patch) | |
| tree | 06a6ccf819f36512db541f1d2cf71fb2eca56908 /example/expression/manip_expression5.py | |
| parent | 7a4f30ca4eaba66b094d295ca47bf1b4e37a67c9 (diff) | |
| parent | fa759c1f8f527c3ca8e6cce4032aad1efded4618 (diff) | |
| download | miasm-6008b0fe75024316529e485500f063cd6c1f6720.tar.gz miasm-6008b0fe75024316529e485500f063cd6c1f6720.zip | |
merge
Diffstat (limited to '')
| -rw-r--r-- | example/expression/manip_expression5.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/example/expression/manip_expression5.py b/example/expression/manip_expression5.py index cc54515d..165d9eef 100644 --- a/example/expression/manip_expression5.py +++ b/example/expression/manip_expression5.py @@ -61,15 +61,15 @@ print (i2+s).canonize() cc = ExprCond(a, b, c) -o = ExprCompose([ExprSliceTo(a[:8], 8, 16), - ExprSliceTo(a[8:16], 0, 8)]) +o = ExprCompose([(a[:8], 8, 16), + (a[8:16], 0, 8)]) print o print o.canonize() -o = ExprCompose([ExprSliceTo(a[8:16], 0, 8), - ExprSliceTo(a[:8], 8, 16)]) -print o -print o.canonize() +o2 = ExprCompose([(a[8:16], 0, 8), + (a[:8], 8, 16)]) +print o2 +print o2.canonize() print ExprMem(o).canonize() |