diff options
| author | Rusty Wagner <rusty@vector35.com> | 2017-01-17 18:44:51 -0500 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2017-01-17 18:44:51 -0500 |
| commit | ded271158000d7fa509f513b425d95390a7f2058 (patch) | |
| tree | 5c1ad94da47d42d0f36f2dcb7f22f6beb521bb28 /python/basicblock.py | |
| parent | 1f6c09e54ab53403fe0236c46f69b896713abddc (diff) | |
Add missing Python APIs
Diffstat (limited to 'python/basicblock.py')
| -rw-r--r-- | python/basicblock.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/python/basicblock.py b/python/basicblock.py index ae9889fc..ffbcd217 100644 --- a/python/basicblock.py +++ b/python/basicblock.py @@ -200,7 +200,9 @@ class BasicBlock(object): value = lines[i].tokens[j].value size = lines[i].tokens[j].size operand = lines[i].tokens[j].operand - tokens.append(function.InstructionTextToken(token_type, text, value, size, operand)) + context = lines[i].tokens[j].context + address = lines[i].tokens[j].address + tokens.append(function.InstructionTextToken(token_type, text, value, size, operand, context, address)) result.append(function.DisassemblyTextLine(addr, tokens)) core.BNFreeDisassemblyTextLines(lines, count.value) return result |
