summaryrefslogtreecommitdiff
path: root/linearviewcursor.cpp
diff options
context:
space:
mode:
authorXusheng <xusheng@vector35.com>2020-08-24 21:46:36 +0800
committerXusheng <xusheng@vector35.com>2020-09-15 09:29:54 +0800
commit75d05ea710f80a0ca2fdc53b638952a7a97e7ad8 (patch)
treef8fe2205178cd7942a1e6d45c79dda9d748b526f /linearviewcursor.cpp
parent33e31719d37deed58cfe709bf475b80fece8c34a (diff)
display as in linear view
Diffstat (limited to 'linearviewcursor.cpp')
-rw-r--r--linearviewcursor.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/linearviewcursor.cpp b/linearviewcursor.cpp
index 41356c47..7be2a96b 100644
--- a/linearviewcursor.cpp
+++ b/linearviewcursor.cpp
@@ -208,6 +208,10 @@ vector<LinearDisassemblyLine> LinearViewCursor::GetLines()
line.contents.highlight = lines[i].contents.highlight;
line.contents.tokens = InstructionTextToken::ConvertInstructionTextTokenList(lines[i].contents.tokens, lines[i].contents.count);
line.contents.tags = Tag::ConvertTagList(lines[i].contents.tags, lines[i].contents.tagCount);
+ line.contents.typeInfo.hasTypeInfo = lines[i].contents.typeInfo.hasTypeInfo;
+ line.contents.typeInfo.fieldIndex = lines[i].contents.typeInfo.fieldIndex;
+ line.contents.typeInfo.parentType = lines[i].contents.typeInfo.parentType ?
+ new Type(BNNewTypeReference(lines[i].contents.typeInfo.parentType)) : nullptr;
result.push_back(line);
}