Commit b16e4a3c authored by David Srbecky's avatar David Srbecky
Browse files

Add check to CheckImageIdenticalToOriginalExceptForRelocation

Add defensive check which fails gracefully if the
relocation offset is larger than the image size.

Add tests.

Bug: 109677607
Test: test-art-host-gtest-patchoat_test SANITIZE_HOST=address
Change-Id: Ic989d5b7c77fd66e77b9e8ba90df1bf490a46e43
parent 0366f325
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment