diff options
| author | Camille Mougey <commial@gmail.com> | 2016-12-23 17:47:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-23 17:47:46 +0100 |
| commit | da74f9672cd53999b3b0aecd80108a85e7b5dec4 (patch) | |
| tree | 470685abcee2084efbde7a41277d50c92ec46a40 /test/arch/msp430/sem.py | |
| parent | 336081ceab4c81502dfe9092acdc7fadb8eb0811 (diff) | |
| parent | 494ba6e2b3711b519d7f99f2867e293b0f1650eb (diff) | |
| download | miasm-da74f9672cd53999b3b0aecd80108a85e7b5dec4.tar.gz miasm-da74f9672cd53999b3b0aecd80108a85e7b5dec4.zip | |
Merge pull request #463 from serpilliere/add_expr_type_access
Add expr type access
Diffstat (limited to 'test/arch/msp430/sem.py')
| -rw-r--r-- | test/arch/msp430/sem.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/arch/msp430/sem.py b/test/arch/msp430/sem.py index 515b4c53..4d39d357 100644 --- a/test/arch/msp430/sem.py +++ b/test/arch/msp430/sem.py @@ -19,7 +19,7 @@ def M(addr): def compute(asm, inputstate={}, debug=False): sympool = dict(regs_init) - sympool.update({k: ExprInt_from(k, v) for k, v in inputstate.iteritems()}) + sympool.update({k: ExprInt(v, k.size) for k, v in inputstate.iteritems()}) interm = ir_arch() symexec = symbexec(interm, sympool) instr = mn.fromstring(asm, mode) |