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

Method GetLocationChecksum

Bcore/src/main/cpp/dex/dex_file.h:440–442  ·  view source on GitHub ↗

For DexFiles directly from .dex files, this is the checksum from the DexFile::Header. For DexFiles opened from a zip files, this will be the ZipEntry CRC32 of classes.dex.

Source from the content-addressed store, hash-verified

438 // For DexFiles directly from .dex files, this is the checksum from the DexFile::Header.
439 // For DexFiles opened from a zip files, this will be the ZipEntry CRC32 of classes.dex.
440 uint32_t GetLocationChecksum() const {
441 return location_checksum_;
442 }
443
444 const Header& GetHeader() const {
445 DCHECK(header_ != nullptr) << GetLocation();

Callers 1

dex_file.ccFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected