diff options
| author | Ryan Snyder <ryan@vector35.com> | 2024-10-28 12:07:56 -0400 |
|---|---|---|
| committer | Ryan Snyder <ryan@vector35.com> | 2024-10-28 19:36:05 -0400 |
| commit | c0e99630986903c6988b7fdbf4f69a3389c71d76 (patch) | |
| tree | e7753a35634b6b54117aee6489e578921699b642 /architecture.cpp | |
| parent | f15994bbbd4b15d2bff354657cbd326b2a512c93 (diff) | |
arch: fix text token exprIndex init
Diffstat (limited to 'architecture.cpp')
| -rw-r--r-- | architecture.cpp | 2 |
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++) |
