summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2021-09-28 16:31:10 -0400
committerPeter LaFosse <peter@vector35.com>2021-09-28 16:31:10 -0400
commitd175f296e164df461f004f5844297c60f0de8650 (patch)
treed2d4cf96effff179e2a6e08860564b7c794059af /python
parent063d89726bacc15477401c40a80897bcc6f6b95d (diff)
Fix _LinearDisassemblyLine_convertor
Diffstat (limited to 'python')
-rw-r--r--python/binaryview.py2
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)