

def __fix_adler32_checksum(self, dex_file_data):
    if (not dex_file_data):
        raise Exception('The dex file data is null!')
    adler32 = adler32_checksum(dex_file_data[12:])
    return ((dex_file_data[0:8] + struct.pack('i', adler32)) + dex_file_data[12:])

dataset/ETHPy150Open ManyFace/ExtractDexFromOat/oatParser/oat.py DexHeader.__fix_adler32_checksum/original