diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2015-02-09 14:54:32 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2015-02-10 10:46:49 +0100 |
| commit | 4bee82c7ccd8b8f9f08df977dd1b3f8c51e73462 (patch) | |
| tree | babb6b27432c89773c03db686f541ff454662579 | |
| parent | a3900fe1a46b585771a576478ce47bc94e35537f (diff) | |
| download | focaccia-miasm-4bee82c7ccd8b8f9f08df977dd1b3f8c51e73462.tar.gz focaccia-miasm-4bee82c7ccd8b8f9f08df977dd1b3f8c51e73462.zip | |
Symbexec: fix eval_exprmem int cast
| -rw-r--r-- | miasm2/ir/symbexec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/ir/symbexec.py b/miasm2/ir/symbexec.py index 5bdcac2f..26eff2f6 100644 --- a/miasm2/ir/symbexec.py +++ b/miasm2/ir/symbexec.py @@ -153,7 +153,7 @@ class symbexec(object): if out: missing_slice = self.rest_slice(out, 0, a.size) for sa, sb in missing_slice: - ptr = self.expr_simp(a_val + ExprInt32(sa / 8)) + ptr = self.expr_simp(a_val + ExprInt_from(a_val, sa / 8)) mm = ExprMem(ptr, size=sb - sa) mm.is_term = True mm.is_simp = True |