diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2017-04-25 22:53:29 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2017-05-01 23:39:09 +0200 |
| commit | af875f2a6ea80bba2e7306d24929a18d85d451ed (patch) | |
| tree | 23cb1017768b53bc843bbce1a7dd411cffbf13b5 /example/ida/utils.py | |
| parent | 968e8fff0b9caef2441d005787897d44efaf860a (diff) | |
| download | miasm-af875f2a6ea80bba2e7306d24929a18d85d451ed.tar.gz miasm-af875f2a6ea80bba2e7306d24929a18d85d451ed.zip | |
Expression: Forbid mix between Expr and int/long
A classic error in Miasm is to confuse ExprInt with int, for example:
ExprId('a') + 3
We could return ExprOp('+', ExprId('a') + ExprInt(3, 32)), but this
may (and often) mask a problem in the source, so we forbid such a
construction (and assert this to clarify the error)
Diffstat (limited to 'example/ida/utils.py')
0 files changed, 0 insertions, 0 deletions