diff options
| author | Xusheng <xusheng@vector35.com> | 2020-08-24 21:46:36 +0800 |
|---|---|---|
| committer | Xusheng <xusheng@vector35.com> | 2020-09-15 09:29:54 +0800 |
| commit | 75d05ea710f80a0ca2fdc53b638952a7a97e7ad8 (patch) | |
| tree | f8fe2205178cd7942a1e6d45c79dda9d748b526f /linearviewobject.cpp | |
| parent | 33e31719d37deed58cfe709bf475b80fece8c34a (diff) | |
display as in linear view
Diffstat (limited to 'linearviewobject.cpp')
| -rw-r--r-- | linearviewobject.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linearviewobject.cpp b/linearviewobject.cpp index 1a563b9e..3c608b5e 100644 --- a/linearviewobject.cpp +++ b/linearviewobject.cpp @@ -145,6 +145,10 @@ vector<LinearDisassemblyLine> LinearViewObject::GetLines(LinearViewObject* prev, 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); } |
