MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / IsZipMagic

Function IsZipMagic

Bcore/src/main/cpp/dex/dex_file_loader.cc:151–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149};
150
151static bool IsZipMagic(uint32_t magic) {
152 return (('P' == ((magic >> 0) & 0xff)) &&
153 ('K' == ((magic >> 8) & 0xff)));
154}
155
156bool DexFileLoader::IsMagicValid(uint32_t magic) {
157 return IsMagicValid(reinterpret_cast<uint8_t*>(&magic));

Callers 1

OpenAllMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected