| 34 | } |
| 35 | |
| 36 | bool CompactDexFile::IsMagicValid(const uint8_t* magic) { |
| 37 | return (memcmp(magic, kDexMagic, sizeof(kDexMagic)) == 0); |
| 38 | } |
| 39 | |
| 40 | bool CompactDexFile::IsVersionValid(const uint8_t* magic) { |
| 41 | const uint8_t* version = &magic[sizeof(kDexMagic)]; |
nothing calls this directly
no outgoing calls
no test coverage detected