| 47 | } |
| 48 | |
| 49 | bool StandardDexFile::IsMagicValid(const uint8_t* magic) { |
| 50 | return (memcmp(magic, kDexMagic, sizeof(kDexMagic)) == 0); |
| 51 | } |
| 52 | |
| 53 | bool StandardDexFile::IsVersionValid(const uint8_t* magic) { |
| 54 | const uint8_t* version = &magic[sizeof(kDexMagic)]; |
nothing calls this directly
no outgoing calls
no test coverage detected