commit | ba2222f1e114603b42dfdb6dd1d11012d32a2739 | [log] [tgz] |
---|---|---|
author | David Srbecky <dsrbecky@google.com> | Fri Jun 09 16:29:04 2023 +0100 |
committer | David Srbecky <dsrbecky@google.com> | Thu Jul 20 10:44:00 2023 +0000 |
tree | 495b43f04120aaeabd2e8f3c9a97fb23c748cbb3 | |
parent | fb20a36bf38f30e53c26b42f698ee3063228b460 [diff] |
Add DEX SHA1 to oat files. Add SHA1 since it is much more reliable then CRC32/Adler. CHECK that it matches with location checksum comparison. We sill rely on the location checksum, this just ensures that in the very unlikely case of CRC collision we crash, rather than accept the DEX and later mysteriously fail. Test: ./art/test.py -b --host --64 Change-Id: I51af02f63c9ce8b858e4e8b4363bb75f8774d477