diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2020-12-26 00:03:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-26 00:03:54 +0100 |
| commit | 1673c3eb29d88cbd7b642419c197fa0993ca5871 (patch) | |
| tree | b5489af2d481c9db7f3c530d3b1634031cfbd4d5 /example/expression/get_read_write.py | |
| parent | 931a7d95bf48ec35b9c69b4e22b890f512164a9b (diff) | |
| parent | 1d95a7febaee8c53df432cdbf1539f6f58a4d5d9 (diff) | |
| download | focaccia-miasm-1673c3eb29d88cbd7b642419c197fa0993ca5871.tar.gz focaccia-miasm-1673c3eb29d88cbd7b642419c197fa0993ca5871.zip | |
Merge pull request #1335 from serpilliere/rename_ir_arch
Rename ir arch
Diffstat (limited to 'example/expression/get_read_write.py')
| -rw-r--r-- | example/expression/get_read_write.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/example/expression/get_read_write.py b/example/expression/get_read_write.py index 752c4272..69bb2aac 100644 --- a/example/expression/get_read_write.py +++ b/example/expression/get_read_write.py @@ -16,11 +16,11 @@ Get read/written registers for a given instruction """) arch = mn_x86 -ir_arch = LifterModelCall_x86_32(loc_db) -ircfg = ir_arch.new_ircfg() +lifter = LifterModelCall_x86_32(loc_db) +ircfg = lifter.new_ircfg() instr = arch.fromstring('LODSB', loc_db, 32) instr.offset, instr.l = 0, 15 -ir_arch.add_instr_to_ircfg(instr, ircfg) +lifter.add_instr_to_ircfg(instr, ircfg) print('*' * 80) for lbl, irblock in viewitems(ircfg.blocks): |