diff options
author | 2021-10-12 14:13:25 +0100 | |
---|---|---|
committer | 2021-10-20 07:59:43 +0000 | |
commit | 327cfcf2dfe281de4ac8178da69e1e562881870d (patch) | |
tree | 7655b166c3b46d38077ef84f02234e3a122eb403 /libartbase/base/file_utils.h | |
parent | 685d0ef479966811ec103340ef9696f056649285 (diff) |
Use the .dm file at runtime for verification.
Bug: 112284845
Test: 674-HelloWorld-Dm
Change-Id: Icd07f86cfb2b5428186a4c086f042890eaad249b
Diffstat (limited to 'libartbase/base/file_utils.h')
-rw-r--r-- | libartbase/base/file_utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libartbase/base/file_utils.h b/libartbase/base/file_utils.h index 33ea2e9e4a..c3a8c9c096 100644 --- a/libartbase/base/file_utils.h +++ b/libartbase/base/file_utils.h @@ -126,6 +126,9 @@ std::string GetSystemImageFilename(const char* location, InstructionSet isa); // Returns the vdex filename for the given oat filename. std::string GetVdexFilename(const std::string& oat_filename); +// Returns the dm filename for the given dex location. +std::string GetDmFilename(const std::string& dex_location); + // Returns the odex location on /system for a DEX file on /apex. The caller must make sure that // `location` is on /apex. std::string GetSystemOdexFilenameForApex(std::string_view location, InstructionSet isa); |