From a365d51b12096e22e2fadbbc4442de02191efdeb Mon Sep 17 00:00:00 2001 From: teble Date: Wed, 17 Apr 2024 00:32:20 +0800 Subject: [PATCH] [Core] Fix wrong initialization of opcode seq --- Core/dexkit/dex_item.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/dexkit/dex_item.cpp b/Core/dexkit/dex_item.cpp index 8ee10d9a..8505521c 100644 --- a/Core/dexkit/dex_item.cpp +++ b/Core/dexkit/dex_item.cpp @@ -333,7 +333,7 @@ void DexItem::InitCache(uint32_t init_flags) { while (p < end_p) { auto op = (uint8_t) *p; if (need_op_seq) { - op_seq_ptr->emplace(op); + op_seq_ptr->value().emplace_back(op); } auto ptr = p; auto width = GetBytecodeWidth(ptr++);