diff options
| author | Rusty Wagner <rusty@vector35.com> | 2017-01-03 18:04:31 -0500 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2017-01-03 18:04:31 -0500 |
| commit | d9455e8b6319ccb766a3a9f274244a54d159e7f4 (patch) | |
| tree | 1dfe0f26200f41e72ea1bbe6333678ccf6b27a20 /binaryview.cpp | |
| parent | 990cface5a0b9b814f423e45449a7d5f3cb6c19d (diff) | |
Tokenize types
Diffstat (limited to 'binaryview.cpp')
| -rw-r--r-- | binaryview.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/binaryview.cpp b/binaryview.cpp index 16a270fc..154dfcf5 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -1386,6 +1386,8 @@ vector<LinearDisassemblyLine> BinaryView::GetPreviousLinearDisassemblyLines(Line token.value = lines[i].contents.tokens[j].value; token.size = lines[i].contents.tokens[j].size; token.operand = lines[i].contents.tokens[j].operand; + token.context = lines[i].contents.tokens[j].context; + token.address = lines[i].contents.tokens[j].address; line.contents.tokens.push_back(token); } result.push_back(line); @@ -1429,6 +1431,8 @@ vector<LinearDisassemblyLine> BinaryView::GetNextLinearDisassemblyLines(LinearDi token.value = lines[i].contents.tokens[j].value; token.size = lines[i].contents.tokens[j].size; token.operand = lines[i].contents.tokens[j].operand; + token.context = lines[i].contents.tokens[j].context; + token.address = lines[i].contents.tokens[j].address; line.contents.tokens.push_back(token); } result.push_back(line); |
