summaryrefslogtreecommitdiff
path: root/linearviewcursor.cpp
diff options
context:
space:
mode:
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);
}