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

Method CheckEncodedArray

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

Source from the content-addressed store, hash-verified

901}
902
903bool DexFileVerifier::CheckEncodedArray() {
904 DECODE_UNSIGNED_CHECKED_FROM(ptr_, size);
905
906 while (size--) {
907 if (!CheckEncodedValue()) {
908 failure_reason_ = StringPrintf("Bad encoded_array value: %s", failure_reason_.c_str());
909 return false;
910 }
911 }
912 return true;
913}
914
915bool DexFileVerifier::CheckEncodedAnnotation() {
916 DECODE_UNSIGNED_CHECKED_FROM(ptr_, anno_idx);

Callers

nothing calls this directly

Calls 2

StringPrintfFunction · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected