diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2017-04-14 23:04:46 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2017-04-20 12:36:51 +0200 |
| commit | 4d511eab15845e519e5a8b0d9f742a550768b709 (patch) | |
| tree | 418429f7a3cdedf5efdf074126bc76dbd04f9657 /example/expression | |
| parent | a9b3d7f1a9014336b46c6dca20332a6deaccfc6d (diff) | |
| download | miasm-4d511eab15845e519e5a8b0d9f742a550768b709.tar.gz miasm-4d511eab15845e519e5a8b0d9f742a550768b709.zip | |
IRBlock: move lines in AssignBlock
Diffstat (limited to 'example/expression')
| -rw-r--r-- | example/expression/access_c.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/example/expression/access_c.py b/example/expression/access_c.py index eabc3770..923a3331 100644 --- a/example/expression/access_c.py +++ b/example/expression/access_c.py @@ -109,8 +109,8 @@ def get_funcs_arg0(ctx, ira, lbl_head): element = ira.arch.regs.RSI for irb, index in find_call(ira): - line = irb.lines[index] - print 'Analysing references from:', hex(line.offset), line + instr = irb.irs[index].instr + print 'Analysing references from:', hex(instr.offset), instr g_list = g_dep.get(irb.label, set([element]), index, set([lbl_head])) for dep in g_list: emul_result = dep.emul(ctx) |