diff options
author | David Srbecky <dsrbecky@google.com> | 2018-06-05 13:20:48 +0100 |
---|---|---|
committer | David Srbecky <dsrbecky@google.com> | 2018-06-06 12:39:35 +0100 |
commit | b16e4a3c7563f83df0d6fd10c0aa4f1d36be8079 (patch) | |
tree | 70de3e001d3da8904bc1983037495ae1f36ef16e /compiler/optimizing/codegen_test_utils.h | |
parent | 0366f3251c3078a0161d178e3b0afd5efc4c84c0 (diff) |
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
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions