summaryrefslogtreecommitdiff
path: root/lowlevelil.cpp
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2017-01-03 18:04:31 -0500
committerRusty Wagner <rusty@vector35.com>2017-01-03 18:04:31 -0500
commitd9455e8b6319ccb766a3a9f274244a54d159e7f4 (patch)
tree1dfe0f26200f41e72ea1bbe6333678ccf6b27a20 /lowlevelil.cpp
parent990cface5a0b9b814f423e45449a7d5f3cb6c19d (diff)
Tokenize types
Diffstat (limited to 'lowlevelil.cpp')
-rw-r--r--lowlevelil.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/lowlevelil.cpp b/lowlevelil.cpp
index a312bbd6..bf3b980e 100644
--- a/lowlevelil.cpp
+++ b/lowlevelil.cpp
@@ -579,6 +579,10 @@ bool LowLevelILFunction::GetExprText(Architecture* arch, ExprId expr, vector<Ins
token.type = list[i].type;
token.text = list[i].text;
token.value = list[i].value;
+ token.size = list[i].size;
+ token.operand = list[i].operand;
+ token.context = list[i].context;
+ token.address = list[i].address;
tokens.push_back(token);
}
@@ -603,6 +607,10 @@ bool LowLevelILFunction::GetInstructionText(Function* func, Architecture* arch,
token.type = list[i].type;
token.text = list[i].text;
token.value = list[i].value;
+ token.size = list[i].size;
+ token.operand = list[i].operand;
+ token.context = list[i].context;
+ token.address = list[i].address;
tokens.push_back(token);
}