diff options
| author | Rusty Wagner <rusty@vector35.com> | 2016-07-29 22:12:59 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2016-07-29 22:12:59 -0400 |
| commit | 038d192dfb3f73a268447d890cccf27926d35941 (patch) | |
| tree | 87065866c86fd7416e520124b8a688d3da16883e /binaryview.cpp | |
| parent | 508584830e65fc08ea3a756dfa651670c9e01217 (diff) | |
Add API to set display type of integers
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 d97051c7..192b9b37 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -1289,6 +1289,8 @@ vector<LinearDisassemblyLine> BinaryView::GetPreviousLinearDisassemblyLines(Line token.type = lines[i].contents.tokens[j].type; token.text = lines[i].contents.tokens[j].text; token.value = lines[i].contents.tokens[j].value; + token.size = lines[i].contents.tokens[j].size; + token.operand = lines[i].contents.tokens[j].operand; line.contents.tokens.push_back(token); } result.push_back(line); @@ -1330,6 +1332,8 @@ vector<LinearDisassemblyLine> BinaryView::GetNextLinearDisassemblyLines(LinearDi token.type = lines[i].contents.tokens[j].type; token.text = lines[i].contents.tokens[j].text; token.value = lines[i].contents.tokens[j].value; + token.size = lines[i].contents.tokens[j].size; + token.operand = lines[i].contents.tokens[j].operand; line.contents.tokens.push_back(token); } result.push_back(line); |
