Searched refs:cur_offset (Results 1 – 2 of 2) sorted by relevance
1308 bool MethodVerifier::CheckArrayData(uint32_t cur_offset) { in CheckArrayData() argument1310 const uint16_t* insns = code_item_->insns_ + cur_offset; in CheckArrayData()1314 DCHECK_LT(cur_offset, insn_count); in CheckArrayData()1317 if (static_cast<int32_t>(cur_offset) + array_data_offset < 0 || in CheckArrayData()1318 cur_offset + array_data_offset + 2 >= insn_count) { in CheckArrayData()1319 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "invalid array data start: at " << cur_offset in CheckArrayData()1328 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "unaligned array data table: at " << cur_offset in CheckArrayData()1334 if (!GetInstructionFlags(cur_offset + array_data_offset).IsOpcode()) { in CheckArrayData()1335 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "array data table at " << cur_offset in CheckArrayData()1345 if (cur_offset + array_data_offset + table_size > insn_count) { in CheckArrayData()[all …]
484 bool CheckArrayData(uint32_t cur_offset);491 bool CheckBranchTarget(uint32_t cur_offset);495 bool CheckSwitchTargets(uint32_t cur_offset);512 bool GetBranchOffset(uint32_t cur_offset, int32_t* pOffset, bool* pConditional,