Lines Matching refs:elf

185         if (findPath.empty() && elfFile_ == nullptr) { // elf not compressed in hap has been initialized before
186 HLOGW("elf found failed (belong to %s)", filePath_.c_str());
192 HLOGW("elf open failed with '%s'", findPath.c_str());
227 HLOGW("elf found failed (belong to %s)", filePath_.c_str());
235 HLOGD("try create elf from hap");
241 CHECK_TRUE(elfFile_ == nullptr, false, 1, "Failed to create elf file for %s.", elfPath.c_str());
243 CHECK_TRUE(!elfFile_->IsValid(), false, 1, "parser elf file failed.");
245 HLOGD("loaded elf %s", elfPath.c_str());
255 map->elf = elfFile_;
257 map->prevMap->elf = elfFile_;
392 HLOGD("%zu symbols loadded from elf '%s'.", symbols_.size(), elfPath.c_str());
397 HLOGD("buildId not found from elf '%s'.", elfPath.c_str());
399 // buildId not found from elf '/system/bin/ld-musl-arm.so.1'.
403 void AddSymbols(std::vector<DfxSymbol>& symbolsTable, std::shared_ptr<DfxElf> elf, const std::string& filePath)
406 DfxSymbols::ParseSymbols(symbolsTable, elf, filePath);
407 DfxSymbols::AddSymbolsByPlt(symbolsTable, elf, filePath);
418 map->elf = elfFile_;
423 CHECK_TRUE(elfFile_ == nullptr, false, 1, "Failed to create elf file for %s.", elfPath.c_str());
424 HLOGD("loaded elf %s", elfPath.c_str());
426 HLOGD("parser elf file failed.");
473 3. map section offset + map page offset(000c5000) = elf file offset
474 4. elf file offset - exec file offset(000c5000)
476 5. ip offset + exec begin vaddr(2c5000) = virtual ip in elf
479 HLOGM(" ip :0x%016" PRIx64 " -> elf offset :0x%016" PRIx64 " -> vaddr :0x%016" PRIx64 " ",
778 // try elf
858 // this is different with elf
859 // elf use ip - mapStart + mapPageOffset - minExecAddrFileOffset_ + textExecVaddr_
1086 // default is elf, this may be problematic in the future.
1247 // default create elf file. but hap file need special operation.