diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2020-07-21 22:40:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-21 22:40:52 +0200 |
| commit | a1c2dcbf6c4f3191984a781119d131c7c7f8d9ad (patch) | |
| tree | e90ca108dd1c130d015a3960051276d2c58d233a /example/ida/graph_ir.py | |
| parent | 6ccbedd2928d52aff605ede73adbdfadb6152582 (diff) | |
| parent | 82c5d696eb97b5816a276cbf9708d0b3602d7055 (diff) | |
| download | miasm-a1c2dcbf6c4f3191984a781119d131c7c7f8d9ad.tar.gz miasm-a1c2dcbf6c4f3191984a781119d131c7c7f8d9ad.zip | |
Merge pull request #1267 from serpilliere/int_expr_arg
Int expr arg
Diffstat (limited to 'example/ida/graph_ir.py')
| -rw-r--r-- | example/ida/graph_ir.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/example/ida/graph_ir.py b/example/ida/graph_ir.py index 7e8c616f..dee4e281 100644 --- a/example/ida/graph_ir.py +++ b/example/ida/graph_ir.py @@ -11,7 +11,6 @@ import idc import ida_funcs import idautils -from miasm.core.asmblock import is_int from miasm.core.bin_stream_ida import bin_stream_ida from miasm.expression.simplifications import expr_simp from miasm.ir.ir import IRBlock, AssignBlock @@ -83,7 +82,7 @@ Options: def label_init(self, name="", offset=None): self.fixedblocs = False - if is_int(name): + if isinstance(name, int_types): name = "loc_%X" % (int(name) & 0xFFFFFFFFFFFFFFFF) self.name = name self.attrib = None |