| 217 | } |
| 218 | |
| 219 | std::unique_ptr<const DexFile> DexFileLoader::Open(const uint8_t* base, |
| 220 | size_t size, |
| 221 | const std::string& location, |
| 222 | uint32_t location_checksum, |
| 223 | const OatDexFile* oat_dex_file, |
| 224 | bool verify, |
| 225 | bool verify_checksum, |
| 226 | std::string* error_msg) const { |
| 227 | return OpenCommon(base, |
| 228 | size, |
| 229 | /*data_base*/ nullptr, |
| 230 | /*data_size*/ 0, |
| 231 | location, |
| 232 | location_checksum, |
| 233 | oat_dex_file, |
| 234 | verify, |
| 235 | verify_checksum, |
| 236 | error_msg, |
| 237 | /*container*/ nullptr, |
| 238 | /*verify_result*/ nullptr); |
| 239 | } |
| 240 | |
| 241 | std::unique_ptr<const DexFile> DexFileLoader::OpenWithDataSection( |
| 242 | const uint8_t* base, |