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_expression3.py | |
| parent | 7a4f30ca4eaba66b094d295ca47bf1b4e37a67c9 (diff) | |
| parent | fa759c1f8f527c3ca8e6cce4032aad1efded4618 (diff) | |
| download | miasm-6008b0fe75024316529e485500f063cd6c1f6720.tar.gz miasm-6008b0fe75024316529e485500f063cd6c1f6720.zip | |
merge
Diffstat (limited to 'example/expression/manip_expression3.py')
| -rw-r--r-- | example/expression/manip_expression3.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/example/expression/manip_expression3.py b/example/expression/manip_expression3.py index 06b3f77a..ed3123bb 100644 --- a/example/expression/manip_expression3.py +++ b/example/expression/manip_expression3.py @@ -18,3 +18,8 @@ print e # ((0x12 + 0x30) - eax) print "=>", expr_simp(e) # (0x42 - eax) + +o = ExprCompose([(a[:8], 0, 8), + (a[8:16], 8, 16)]) +print o +print expr_simp(o) |