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

Method CheckLoadFieldId

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

Source from the content-addressed store, hash-verified

175}
176
177const 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
184const DexFile::MethodId* DexFileVerifier::CheckLoadMethodId(uint32_t idx, const char* err_string) {
185 if (UNLIKELY(!CheckIndex(idx, dex_file_->NumMethodIds(), err_string))) {

Callers

nothing calls this directly

Calls 1

NumFieldIdsMethod · 0.80

Tested by

no test coverage detected