From c0e99630986903c6988b7fdbf4f69a3389c71d76 Mon Sep 17 00:00:00 2001 From: Ryan Snyder Date: Mon, 28 Oct 2024 12:07:56 -0400 Subject: arch: fix text token exprIndex init --- architecture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'architecture.cpp') 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++) -- cgit v1.3.1