diff options
| author | Florent <florent.monjalet@gmail.com> | 2015-10-29 15:47:55 +0100 |
|---|---|---|
| committer | Florent <florent.monjalet@gmail.com> | 2015-10-29 15:47:55 +0100 |
| commit | fefb609f7ed8267815e3ab4b7467a8fada7040b8 (patch) | |
| tree | 03b82bcf93d36fa36f7cdee28b36eba3c7d59d40 /miasm2/arch/arm/arch.py | |
| parent | 967be0c4e0f8d32f6bf3e8aa9f85d0abc9ab95da (diff) | |
| parent | c4e4273c2d4e459eddc96c8ef0af0e5eff9c3f7e (diff) | |
| download | miasm-fefb609f7ed8267815e3ab4b7467a8fada7040b8.tar.gz miasm-fefb609f7ed8267815e3ab4b7467a8fada7040b8.zip | |
Merge pull request #250 from serpilliere/ExprInt_api
Expression: normalize ExprInt api
Diffstat (limited to 'miasm2/arch/arm/arch.py')
| -rw-r--r-- | miasm2/arch/arm/arch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/arch/arm/arch.py b/miasm2/arch/arm/arch.py index 41c99d4d..23ce170c 100644 --- a/miasm2/arch/arm/arch.py +++ b/miasm2/arch/arm/arch.py @@ -783,7 +783,7 @@ class arm_offs(arm_imm): def int2expr(self, v): if v & ~self.intmask != 0: return None - return ExprInt_fromsize(self.intsize, v) + return ExprInt(v, self.intsize) def decodeval(self, v): v <<= 2 |