diff options
| author | Ajax <commial@gmail.com> | 2018-02-15 14:16:08 +0100 |
|---|---|---|
| committer | Ajax <commial@gmail.com> | 2018-02-15 15:45:24 +0100 |
| commit | 2420df074cd2f3bb8b1e343a5bce6b83fffa9d80 (patch) | |
| tree | b97a1b5d0dbd6b686b12a0f01e32df5e63b07725 /example/expression/expr_reduce.py | |
| parent | e71a3def7f936f5738d6988755d853601e84d184 (diff) | |
| download | focaccia-miasm-2420df074cd2f3bb8b1e343a5bce6b83fffa9d80.tar.gz focaccia-miasm-2420df074cd2f3bb8b1e343a5bce6b83fffa9d80.zip | |
Remove the default size of ExprMem expressions
Diffstat (limited to 'example/expression/expr_reduce.py')
| -rw-r--r-- | example/expression/expr_reduce.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/example/expression/expr_reduce.py b/example/expression/expr_reduce.py index 7c6e0c4c..0f575e57 100644 --- a/example/expression/expr_reduce.py +++ b/example/expression/expr_reduce.py @@ -81,8 +81,8 @@ def test(): (ptr, StructLookup.FIELD_A_PTR), (ptr + int4, StructLookup.FIELD_A_PTR), (ptr + int4 * int4, StructLookup.FIELD_A_PTR), - (ExprMem(ptr), StructLookup.FIELD_A), - (ExprMem(ptr + int4 * int4), StructLookup.FIELD_A), + (ExprMem(ptr, 32), StructLookup.FIELD_A), + (ExprMem(ptr + int4 * int4, 32), StructLookup.FIELD_A), ] for expr_in, result in tests: |