| 323 | } |
| 324 | |
| 325 | bool DexFileVerifier::CheckIndex(uint32_t field, uint32_t limit, const char* label) { |
| 326 | if (UNLIKELY(field >= limit)) { |
| 327 | ErrorStringPrintf("Bad index for %s: %x >= %x", label, field, limit); |
| 328 | return false; |
| 329 | } |
| 330 | return true; |
| 331 | } |
| 332 | |
| 333 | bool DexFileVerifier::CheckValidOffsetAndSize(uint32_t offset, |
| 334 | uint32_t size, |
nothing calls this directly
no outgoing calls
no test coverage detected