diff options
| author | 2018-01-26 02:05:22 +0000 | |
|---|---|---|
| committer | 2018-01-26 02:05:22 +0000 | |
| commit | b9b438f8b3689431c8d2492fce3eb28844d5036c (patch) | |
| tree | 0ea32c5e832a9c4d860637682a999104142f8fe5 /patchoat/patchoat.h | |
| parent | 42a6c3ba423c10b28587a34ea1cf9d7849e170d6 (diff) | |
| parent | 754b7575e65f0e0cc8b080b268378daf54881c65 (diff) | |
Merge "patchoat: add ability to verify relocated .art files"
Diffstat (limited to 'patchoat/patchoat.h')
| -rw-r--r-- | patchoat/patchoat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/patchoat/patchoat.h b/patchoat/patchoat.h index 1033a2e5e1..ba59d570a7 100644 --- a/patchoat/patchoat.h +++ b/patchoat/patchoat.h @@ -53,6 +53,10 @@ class PatchOat { const std::string& output_image_relocation_directory, InstructionSet isa, TimingLogger* timings); + static bool Verify(const std::string& image_location, + const std::string& output_image_filename, + InstructionSet isa, + TimingLogger* timings); // Generates a patch which can be used to efficiently relocate the original file or to check that // a relocated file matches the original. The patch is generated from the difference of the |