diff options
| author | Peter LaFosse <peter@vector35.com> | 2021-09-28 16:31:10 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2021-09-28 16:31:10 -0400 |
| commit | d175f296e164df461f004f5844297c60f0de8650 (patch) | |
| tree | d2d4cf96effff179e2a6e08860564b7c794059af /python | |
| parent | 063d89726bacc15477401c40a80897bcc6f6b95d (diff) | |
Fix _LinearDisassemblyLine_convertor
Diffstat (limited to 'python')
| -rw-r--r-- | python/binaryview.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/binaryview.py b/python/binaryview.py index f029c09f..76794c9d 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -6400,7 +6400,7 @@ class BinaryView: assert block_handle is not None, "core.BNNewBasicBlockReference returned None" block = basicblock.BasicBlock(block_handle, self) color = highlight.HighlightColor._from_core_struct(line.contents.highlight) - addr = line.contents.address + addr = line.contents.addr tokens = _function.InstructionTextToken._from_core_struct(line.contents.tokens, line.contents.count) contents = _function.DisassemblyTextLine(tokens, addr, color = color) return lineardisassembly.LinearDisassemblyLine(line.type, func, block, contents) |
