| 901 | } |
| 902 | |
| 903 | bool 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 | |
| 915 | bool DexFileVerifier::CheckEncodedAnnotation() { |
| 916 | DECODE_UNSIGNED_CHECKED_FROM(ptr_, anno_idx); |
nothing calls this directly
no test coverage detected