Lines Matching full:method_id
103 const panda_file::File::EntityId method_id = panda_file::File::EntityId(id); in VerifyRegisterIndex() local
104 panda_file::MethodDataAccessor method_accessor {*file_, method_id}; in VerifyRegisterIndex()
209 …er::CheckConstantPoolActions(const verifier::ActionType type, panda_file::File::EntityId method_id) in CheckConstantPoolActions() argument
213 return CheckConstantPoolMethodContent(method_id); in CheckConstantPoolActions()
216 all_method_ids_.push_back(method_id.GetOffset()); in CheckConstantPoolActions()
217 return CollectIdInInstructions(method_id); in CheckConstantPoolActions()
225 bool Verifier::CollectIdInInstructions(const panda_file::File::EntityId &method_id) in CollectIdInInstructions() argument
227 panda_file::MethodDataAccessor method_accessor(*file_, method_id); in CollectIdInInstructions()
248 const auto literal_id = file_->ResolveMethodIndex(method_id, arg_literal_idx); in CollectIdInInstructions()
251 if (bc_ins.HasFlag(BytecodeInstruction::Flags::METHOD_ID)) { in CollectIdInInstructions()
253 const auto arg_method_id = file_->ResolveMethodIndex(method_id, arg_method_idx); in CollectIdInInstructions()
258 const auto string_id = file_->ResolveOffsetByIndex(method_id, arg_string_idx); in CollectIdInInstructions()
367 bool Verifier::VerifyMethodId(const uint32_t &method_id) const in VerifyMethodId()
369 auto iter = std::find(constant_pool_ids_.begin(), constant_pool_ids_.end(), method_id); in VerifyMethodId()
371 (std::find(literal_ids_.begin(), literal_ids_.end(), method_id) != literal_ids_.end()) || in VerifyMethodId()
372 ins_string_ids_.count(method_id)) { in VerifyMethodId()
373 … LOG(ERROR, VERIFIER) << "Fail to verify method id. method_id(0x" << std::hex << method_id << ")!"; in VerifyMethodId()
437 const auto method_id = panda_file::File::EntityId(id).GetOffset(); in VerifyMethodIdInLiteralArray() local
438 auto iter = std::find(all_method_ids_.begin(), all_method_ids_.end(), method_id); in VerifyMethodIdInLiteralArray()
768 const panda_file::File::EntityId &method_id) in VerifySlotNumber() argument
780 LOG(ERROR, VERIFIER) << "Slot number has been falsified in method 0x" << method_id; in VerifySlotNumber()
806 auto method_id = infos.method_id; in VerifyMethodInstructions() local
817 << method_id in VerifyMethodInstructions()
826 << method_id in VerifyMethodInstructions()
850 bool Verifier::CheckConstantPoolMethodContent(const panda_file::File::EntityId &method_id) in CheckConstantPoolMethodContent() argument
852 panda_file::MethodDataAccessor method_accessor(*file_, method_id); in CheckConstantPoolMethodContent()
867 MethodInfos infos = {bc_ins_init, bc_ins, bc_ins_last, method_accessor, method_id, in CheckConstantPoolMethodContent()