summaryrefslogtreecommitdiff
path: root/architecture.cpp
diff options
context:
space:
mode:
authorRyan Snyder <ryan@vector35.com>2024-10-28 12:07:56 -0400
committerRyan Snyder <ryan@vector35.com>2024-10-28 19:36:05 -0400
commitc0e99630986903c6988b7fdbf4f69a3389c71d76 (patch)
treee7753a35634b6b54117aee6489e578921699b642 /architecture.cpp
parentf15994bbbd4b15d2bff354657cbd326b2a512c93 (diff)
arch: fix text token exprIndex init
Diffstat (limited to 'architecture.cpp')
-rw-r--r--architecture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/architecture.cpp b/architecture.cpp
index a86d7256..e0617b93 100644
--- a/architecture.cpp
+++ b/architecture.cpp
@@ -100,7 +100,7 @@ InstructionTextToken::InstructionTextToken(BNInstructionTextTokenType t, BNInstr
InstructionTextToken::InstructionTextToken(const BNInstructionTextToken& token) :
type(token.type), text(token.text), value(token.value), width(token.width), size(token.size),
operand(token.operand), context(token.context), confidence(token.confidence), address(token.address),
- exprIndex(BN_INVALID_EXPR)
+ exprIndex(token.exprIndex)
{
typeNames.reserve(token.namesCount);
for (size_t j = 0; j < token.namesCount; j++)