From 038d192dfb3f73a268447d890cccf27926d35941 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Fri, 29 Jul 2016 22:12:59 -0400 Subject: Add API to set display type of integers --- binaryview.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'binaryview.cpp') diff --git a/binaryview.cpp b/binaryview.cpp index d97051c7..192b9b37 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -1289,6 +1289,8 @@ vector 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 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); -- cgit v1.3.1