| 182 | } |
| 183 | |
| 184 | const DexFile::MethodId* DexFileVerifier::CheckLoadMethodId(uint32_t idx, const char* err_string) { |
| 185 | if (UNLIKELY(!CheckIndex(idx, dex_file_->NumMethodIds(), err_string))) { |
| 186 | return nullptr; |
| 187 | } |
| 188 | return &dex_file_->GetMethodId(idx); |
| 189 | } |
| 190 | |
| 191 | const DexFile::ProtoId* DexFileVerifier::CheckLoadProtoId(uint32_t idx, const char* err_string) { |
| 192 | if (UNLIKELY(!CheckIndex(idx, dex_file_->NumProtoIds(), err_string))) { |
nothing calls this directly
no test coverage detected