OSDN Git Service

Combine checksum of all boot images.
authorJeff Hao <jeffhao@google.com>
Thu, 7 Apr 2016 22:40:54 +0000 (15:40 -0700)
committerJeff Hao <jeffhao@google.com>
Fri, 8 Apr 2016 00:33:25 +0000 (17:33 -0700)
commit4f351aae00f43dd4e3290976f249d3664cc47091
treecb1b91d3e5cc075177c886c1145bb0294caad691
parent08305325d3468d5ef413eb0b36b1ea1b3746a6c4
Combine checksum of all boot images.

Allows a change to be detected in more than just the first image.
Combines checksums of all boot images using xor. A better hash is left
as TODO.

Bug: 28054110
Change-Id: Ifbdd6cbb0104c95e8926ba4f8a207cc72dbb7f79
dex2oat/dex2oat.cc
runtime/oat_file_assistant.cc
runtime/oat_file_assistant.h
runtime/oat_file_assistant_test.cc