diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2022-03-03 14:45:54 -0500 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2022-03-03 14:45:54 -0500 |
| commit | 4cee71891ef9cd4d4bb2aa69b960da84c9c0aa6d (patch) | |
| tree | 386f3c163de6853f7c8739bfc12346568eafa322 | |
| parent | 0cba894f4fbc4c6b7a4d9dedf4529a555de9e8ce (diff) | |
flowgraph block iter fixed, resolves #3001
| -rw-r--r-- | python/flowgraph.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/flowgraph.py b/python/flowgraph.py index 165dd2b7..b1a30dbb 100644 --- a/python/flowgraph.py +++ b/python/flowgraph.py @@ -134,7 +134,7 @@ class FlowGraphNode: addr = lines[i].addr if (lines[i].instrIndex != 0xffffffffffffffff) and (block is not None) and hasattr(block, 'il_function'): - il_instr = block.__dict__['il_function'][lines[i].instrIndex] + il_instr = block.il_function[lines[i].instrIndex] else: il_instr = None tokens = function.InstructionTextToken._from_core_struct(lines[i].tokens, lines[i].count) @@ -219,7 +219,7 @@ class FlowGraphNode: for i in range(0, count.value): addr = lines[i].addr if (lines[i].instrIndex != 0xffffffffffffffff) and (block is not None) and hasattr(block, 'il_function'): - il_instr = block.__dict__['il_function'][lines[i].instrIndex] + il_instr = block.il_function[lines[i].instrIndex] else: il_instr = None color = highlight.HighlightColor._from_core_struct(lines[i].highlight) |
