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 /example/ida/depgraph.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 'example/ida/depgraph.py')
| -rw-r--r-- | example/ida/depgraph.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ida/depgraph.py b/example/ida/depgraph.py index 3c57e51b..002075ee 100644 --- a/example/ida/depgraph.py +++ b/example/ida/depgraph.py @@ -167,7 +167,7 @@ for irb in ir_arch.blocs.values(): fix_stack = irb.label.offset is not None and settings.unalias_stack for i, assignblk in enumerate(irb.irs): if fix_stack: - stk_high = m2_expr.ExprInt_from(ir_arch.sp, GetSpd(irb.lines[i].offset)) + stk_high = m2_expr.ExprInt(GetSpd(irb.lines[i].offset), ir_arch.sp.size) fix_dct = {ir_arch.sp: mn.regs.regs_init[ir_arch.sp] + stk_high} for dst, src in assignblk.items(): |