| 175 | } |
| 176 | |
| 177 | const DexFile::FieldId* DexFileVerifier::CheckLoadFieldId(uint32_t idx, const char* error_string) { |
| 178 | if (UNLIKELY(!CheckIndex(idx, dex_file_->NumFieldIds(), error_string))) { |
| 179 | return nullptr; |
| 180 | } |
| 181 | return &dex_file_->GetFieldId(idx); |
| 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))) { |
nothing calls this directly
no test coverage detected