diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2020-12-24 20:29:39 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-24 20:29:39 +0100 |
| commit | 53735e8cd23aa4bc1eed641264de3b9d18692103 (patch) | |
| tree | d00eca211174dcef32971e271f307721a1217a40 /example/expression/get_read_write.py | |
| parent | 40d150d0089494d07dd5e10bc7625df41fbf3f68 (diff) | |
| parent | 73e54732e50b405762c64e0faa032e5ae0fcd1ed (diff) | |
| download | miasm-53735e8cd23aa4bc1eed641264de3b9d18692103.tar.gz miasm-53735e8cd23aa4bc1eed641264de3b9d18692103.zip | |
Merge pull request #1326 from serpilliere/rename_lifter
Rename lifter
Diffstat (limited to 'example/expression/get_read_write.py')
| -rw-r--r-- | example/expression/get_read_write.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/example/expression/get_read_write.py b/example/expression/get_read_write.py index cf333d0c..752c4272 100644 --- a/example/expression/get_read_write.py +++ b/example/expression/get_read_write.py @@ -4,7 +4,7 @@ from future.utils import viewitems from miasm.arch.x86.arch import mn_x86 from miasm.expression.expression import get_rw -from miasm.arch.x86.ira import ir_a_x86_32 +from miasm.arch.x86.lifter_model_call import LifterModelCall_x86_32 from miasm.core.locationdb import LocationDB loc_db = LocationDB() @@ -16,7 +16,7 @@ Get read/written registers for a given instruction """) arch = mn_x86 -ir_arch = ir_a_x86_32(loc_db) +ir_arch = LifterModelCall_x86_32(loc_db) ircfg = ir_arch.new_ircfg() instr = arch.fromstring('LODSB', loc_db, 32) instr.offset, instr.l = 0, 15 |