MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / CheckLoadMethodId

Method CheckLoadMethodId

Bcore/src/main/cpp/dex/dex_file_verifier.cc:184–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184const 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
191const DexFile::ProtoId* DexFileVerifier::CheckLoadProtoId(uint32_t idx, const char* err_string) {
192 if (UNLIKELY(!CheckIndex(idx, dex_file_->NumProtoIds(), err_string))) {

Callers

nothing calls this directly

Calls 1

NumMethodIdsMethod · 0.45

Tested by

no test coverage detected