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

Method CheckLoadStringByIdx

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

Source from the content-addressed store, hash-verified

100}
101
102const char* DexFileVerifier::CheckLoadStringByIdx(dex::StringIndex idx, const char* error_string) {
103 if (UNLIKELY(!CheckIndex(idx.index_, dex_file_->NumStringIds(), error_string))) {
104 return nullptr;
105 }
106 return dex_file_->StringDataByIdx(idx);
107}
108
109// Try to find the name of the method with the given index. We do not want to rely on DexFile
110// infrastructure at this point, so do it all by hand. begin and header correspond to begin_ and

Callers

nothing calls this directly

Calls 2

NumStringIdsMethod · 0.80
StringDataByIdxMethod · 0.80

Tested by

no test coverage detected