Home
last modified time | relevance | path

Searched refs:elf (Results 1 - 25 of 26) sorted by relevance

12

/developtools/integration_verification/tools/deps_guard/elf_file_mgr/module_info/
H A Dcompile_info_loader.py33 elf = load_mgr.get_elf_by_path(item["name"])
34 if not elf:
38 elf[k] = item[k]
41 for elf in load_mgr.get_all():
42 if "componentName" not in elf:
43 print("%s does not match in module info file" % (elf["path"]))
45 unknown["name"] = elf["path"]
46 unknown["fileName"] = elf["name"]
48 elf[k] = default_info[k]
50 elif elf["componentNam
[all...]
/developtools/integration_verification/tools/deps_guard/elf_file_mgr/
H A Delf_file_mgr.py124 def add_elf_file(self, elf):
126 elf["id"] = self._elf_idx
128 self._elf_files.append(elf)
131 self._path_dict[elf["path"]] = elf
134 if elf["name"] in self._basename_dict:
135 self._basename_dict[elf["name"]].append(elf)
137 self._basename_dict[elf["name"]] = [elf]
275 elf = mgr.get_elf_by_path("system/lib/libskia_ohos.z.so") global() variable in ElfFileMgr
[all...]
H A Delf_file.py104 elf = ElfFile(f, elfFiles.get_product_images_path())
/developtools/integration_verification/tools/deps_guard/elf_file_mgr/innerapi/
H A Dinnerapi.py35 for elf in mgr.get_all():
36 if elf["labelPath"] in innerapis:
37 elf["innerapi_declared"] = True
/developtools/integration_verification/tools/deps_guard/elf_file_mgr/hdi/
H A Dhdi_parser.py69 for elf in mgr.get_all():
70 if elf["name"] in modules:
71 elf["hdiType"] = "hdi_service"
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/elf/
H A DElfDefine.java16 package com.ohos.hapsigntool.codesigning.elf;
25 * 32-bit elf file
30 * 64-bit elf file
45 * 32-bit elf file's program header length
50 * 64-bit elf file's program header length
55 * elf header e_ident length
60 * 32-bit elf header length
65 * 64-bit elf header length
H A DElfFile.java16 package com.ohos.hapsigntool.codesigning.elf;
41 * @throws ElfFormatException elf file format error
H A DElfProgramHeader.java16 package com.ohos.hapsigntool.codesigning.elf;
79 * @throws ElfFormatException elf file format error
H A DElfHeader.java16 package com.ohos.hapsigntool.codesigning.elf;
50 * elf version
124 * @throws ElfFormatException elf file format error
201 * elf file start with [0x7F 0x45 0x4C 0x46]
/developtools/hiperf/src/
H A Dvirtual_thread.cpp224 if (map->elf == nullptr) { in ReadRoMemory()
229 map->elf = symFile->GetElfFile(); in ReadRoMemory()
231 if (map->elf != nullptr) { in ReadRoMemory()
233 uint64_t foff = vaddr - map->begin + map->offset - map->elf->GetBaseOffset(); in ReadRoMemory()
234 if (map->elf->Read(foff, data, size)) { in ReadRoMemory()
H A Dsymbols_file.cpp185 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
403 AddSymbols(std::vector<DfxSymbol>& symbolsTable, std::shared_ptr<DfxElf> elf, const std::string& filePath) AddSymbols() argument
[all...]
H A Dcallstack.cpp117 all the rti addr is offset of the elf file in fillUDI()
118 begin - page offset = elf file base addr in vaddr user space in fillUDI()
119 begin - page offset + elf offset = vaddr in real word.(for this thread) in fillUDI()
724 auto elf = symbolsFile->GetElfFile(); in FillUnwindTable() local
725 if (elf == nullptr) { in FillUnwindTable()
728 if (elf->FindUnwindTableInfo(pc, map, uti) == 0) { in FillUnwindTable()
H A Dsubcommand_dump.cpp82 if (!Option::GetOptionValue(args, "--elf", elfFileName_)) { in ParseOption()
83 HLOGD("get option --elf failed"); in ParseOption()
199 printf("dump elf: '%s'\n", elfFileName_.c_str()); in DumpElfFile()
200 auto elf = SymbolsFile::CreateSymbolsFile(elfFileName_); in DumpElfFile() local
201 if (!elf->LoadSymbols(nullptr, "")) { in DumpElfFile()
202 printf("load elf failed.\n"); in DumpElfFile()
205 printf("load elf succeed.\n"); in DumpElfFile()
/developtools/profiler/device/plugins/native_daemon/src/
H A Dvirtual_thread.cpp202 map->elf = symbolsFile->GetElfFile(); in ReadRoMemory()
203 if (map->elf != nullptr) { in ReadRoMemory()
205 fileOffset -= map->elf->GetBaseOffset(); in ReadRoMemory()
206 map->elf->Read(fileOffset, data, size); in ReadRoMemory()
H A Dcall_stack.cpp113 all the rti addr is offset of the elf file in fillUDI()
114 begin - page offset = elf file base addr in vaddr user space in fillUDI()
115 begin - page offset + elf offset = vaddr in real word.(for this thread) in fillUDI()
574 auto elf = symbolsFile->GetElfFile(); in FillUnwindTable() local
575 if (elf == nullptr) { in FillUnwindTable()
578 if (elf->FindUnwindTableInfo(pc, map, uti) == 0) { in FillUnwindTable()
H A Dsymbols_file.cpp176 UNWIND_CHECK_TRUE(!findPath.empty(), false, "elf found failed (belong to %s)", filePath_.c_str());
180 HLOGW("elf open failed with '%s'", findPath.c_str());
200 UNWIND_CHECK_TRUE(!elfPath.empty(), false, "elf found failed (belong to %s)", filePath_.c_str());
204 map->elf = elfFile_;
211 HLOGE("Failed to create elf file for %s.", elfPath.c_str());
216 HLOGE("parse elf file failed.");
220 HLOGD("loaded elf %s", elfPath.c_str());
226 map->elf = elfFile_;
228 map->prevMap->elf = elfFile_;
353 HLOGD("%zu symbols loadded from elf ' in UpdateSymbols()
[all...]
/developtools/hapsigner/hapsigntool_cpp/codesigning/sign/src/
H A Dverify_code_signature.cpp54 SIGNATURE_TOOLS_LOGI("Not elf file, skip code signing verify, file type: %s", fileFormat.c_str()); in VerifyElf()
78 std::ifstream elf(file, std::ios::binary); in VerifyElf()
79 bool verifySingleFileFlag = VerifySingleFile(elf, elfSignBlock.GetDataSize(), elfSignBlock.GetSignature(), in VerifyElf()
82 SIGNATURE_TOOLS_LOGE("verify elf file data failed"); in VerifyElf()
83 elf.close(); in VerifyElf()
86 elf.close(); in VerifyElf()
94 SIGNATURE_TOOLS_LOGE("elf check owner id failed"); in VerifyElf()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/sign/
H A DPageInfoGenerator.java20 import com.ohos.hapsigntool.codesigning.elf.ElfFile;
21 import com.ohos.hapsigntool.codesigning.elf.ElfProgramHeader;
160 * abc or elf
H A DCodeSigning.java25 import com.ohos.hapsigntool.codesigning.elf.ElfHeader;
74 * Only elf file supports bin code signing
76 public static final String SUPPORT_BIN_FILE_FORM = "elf";
101 * Sign the given elf file, and pack all signature into output file
106 * @param profileContent profile of the elf
111 * @throws ProfileException profile of elf is invalid
147 LOGGER.info("Sign elf successfully."); in getElfCodeSignBlock()
299 LOGGER.debug("{} elf num : {}", hnp.getName(), elfEntries.size()); in signHnpLibs()
/developtools/smartperf_host/trace_streamer/src/parser/ebpf_parser/
H A Debpf_splitter.h21 #include <elf.h>
H A Debpf_data_reader.h21 #include <elf.h>
H A Debpf_data_structure.h20 #include <elf.h>
/developtools/integration_verification/tools/rom_ram_analyzer/standard/
H A Dram_analyzer.py96 # 从rom的分析结果中将需要的elf信息重组
184 parse the relationship between process and elf file
206 全局查找进程的相关elf文件
208 evaluator:评估elf文件的从phone下面开始的路径与service_name的关系,评判如何才是找到了
209 returns: 是否查找到,elf文件名,部件名,size
247 for elf_name, elf_size in process_info["elf"].items():
248 process_info["elf"][elf_name] = unit_adaptive(elf_size)
268 def result_process1(cls, result_dict, process_name, process_size, elf, size):
273 result_dict[process_name]["startup"]["init"][elf if len(
274 elf) !
[all...]
/developtools/smartperf_host/trace_streamer/src/filter/hook_filter/
H A Doffline_symbolization_filter.h22 #include <elf.h>
/developtools/profiler/hiebpf/include/
H A Delf_file.h28 #include <elf.h>

Completed in 15 milliseconds

12