diff options
| author | serpilliere <devnull@localhost> | 2014-06-03 10:18:48 +0200 |
|---|---|---|
| committer | serpilliere <devnull@localhost> | 2014-06-03 10:18:48 +0200 |
| commit | a183e1ebd525453710306695daa8c410fd0cb2af (patch) | |
| tree | cd99281474ea3999ccc6e5399c2cb95349981cfb /example/expression/manip_expression1.py | |
| parent | cecdf0da2ed0221c203af9157add30e2bff7dd8c (diff) | |
| download | miasm-a183e1ebd525453710306695daa8c410fd0cb2af.tar.gz miasm-a183e1ebd525453710306695daa8c410fd0cb2af.zip | |
Send miasm v1 to hell
Diffstat (limited to 'example/expression/manip_expression1.py')
| -rw-r--r-- | example/expression/manip_expression1.py | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/example/expression/manip_expression1.py b/example/expression/manip_expression1.py deleted file mode 100644 index 7c6c8965..00000000 --- a/example/expression/manip_expression1.py +++ /dev/null @@ -1,28 +0,0 @@ -from miasm.expression.expression import * - -print 'simple expression manipulation demo' -# define 2 ID -a = ExprId('eax', 32) -b = ExprId('ebx', 32) -print a, b -# eax ebx - -# add those ID -c = ExprOp('+', a, b) -print c -# (eax + ebx) - -# + automaticaly generates ExprOp('+', a, b) -c = a + b -print c -# (eax + ebx) - -# ax is a slice of eax -ax = a[:16] -print ax -# eax[0:16] - -#memory deref -d = ExprMem(c, 32) -print d -# @32[(eax + ebx)] |