Skip to content

Commit

Permalink
[Core] Fix wrong initialization of opcode seq
Browse files Browse the repository at this point in the history
  • Loading branch information
teble committed Apr 16, 2024
1 parent 14a8f21 commit a365d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/dexkit/dex_item.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++);
Expand Down

0 comments on commit a365d51

Please sign in to comment.