| 163 | } |
| 164 | |
| 165 | bool DexFileLoader::IsVersionAndMagicValid(const uint8_t* magic) { |
| 166 | if (StandardDexFile::IsMagicValid(magic)) { |
| 167 | return StandardDexFile::IsVersionValid(magic); |
| 168 | } |
| 169 | if (CompactDexFile::IsMagicValid(magic)) { |
| 170 | return CompactDexFile::IsVersionValid(magic); |
| 171 | } |
| 172 | return false; |
| 173 | } |
| 174 | |
| 175 | bool DexFileLoader::IsMultiDexLocation(const char* location) { |
| 176 | return strrchr(location, kMultiDexSeparator) != nullptr; |
nothing calls this directly
no outgoing calls
no test coverage detected