Lines Matching refs:method_id

103         const panda_file::File::EntityId method_id = panda_file::File::EntityId(id);
104 panda_file::MethodDataAccessor method_accessor {*file_, method_id};
209 bool Verifier::CheckConstantPoolActions(const verifier::ActionType type, panda_file::File::EntityId method_id)
213 return CheckConstantPoolMethodContent(method_id);
216 all_method_ids_.push_back(method_id.GetOffset());
217 return CollectIdInInstructions(method_id);
225 bool Verifier::CollectIdInInstructions(const panda_file::File::EntityId &method_id)
227 panda_file::MethodDataAccessor method_accessor(*file_, method_id);
246 const auto literal_id = file_->ResolveMethodIndex(method_id, arg_literal_idx);
251 const auto arg_method_id = file_->ResolveMethodIndex(method_id, arg_method_idx);
256 const auto string_id = file_->ResolveOffsetByIndex(method_id, arg_string_idx);
365 bool Verifier::VerifyMethodId(const uint32_t &method_id) const
367 auto iter = std::find(constant_pool_ids_.begin(), constant_pool_ids_.end(), method_id);
369 (std::find(literal_ids_.begin(), literal_ids_.end(), method_id) != literal_ids_.end()) ||
370 ins_string_ids_.count(method_id)) {
371 LOG(ERROR, VERIFIER) << "Fail to verify method id. method_id(0x" << std::hex << method_id << ")!";
435 const auto method_id = panda_file::File::EntityId(id).GetOffset();
436 auto iter = std::find(all_method_ids_.begin(), all_method_ids_.end(), method_id);
766 const panda_file::File::EntityId &method_id)
778 LOG(ERROR, VERIFIER) << "Slot number has been falsified in method 0x" << method_id;
804 auto method_id = infos.method_id;
815 << method_id
824 << method_id
848 bool Verifier::CheckConstantPoolMethodContent(const panda_file::File::EntityId &method_id)
850 panda_file::MethodDataAccessor method_accessor(*file_, method_id);
865 MethodInfos infos = {bc_ins_init, bc_ins, bc_ins_last, method_accessor, method_id,