/developtools/integration_verification/tools/deps_guard/elf_file_mgr/module_info/ |
H A D | compile_info_loader.py | 33 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 D | elf_file_mgr.py | 124 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 D | elf_file.py | 104 elf = ElfFile(f, elfFiles.get_product_images_path())
|
/developtools/integration_verification/tools/deps_guard/elf_file_mgr/innerapi/ |
H A D | innerapi.py | 35 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 D | hdi_parser.py | 69 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 D | ElfDefine.java | 16 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 D | ElfFile.java | 16 package com.ohos.hapsigntool.codesigning.elf; 41 * @throws ElfFormatException elf file format error
|
H A D | ElfProgramHeader.java | 16 package com.ohos.hapsigntool.codesigning.elf; 79 * @throws ElfFormatException elf file format error
|
H A D | ElfHeader.java | 16 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 D | virtual_thread.cpp | 224 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 D | symbols_file.cpp | 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 403 AddSymbols(std::vector<DfxSymbol>& symbolsTable, std::shared_ptr<DfxElf> elf, const std::string& filePath) AddSymbols() argument [all...] |
H A D | callstack.cpp | 117 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 D | subcommand_dump.cpp | 82 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 D | virtual_thread.cpp | 202 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 D | call_stack.cpp | 113 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 D | symbols_file.cpp | 176 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 D | verify_code_signature.cpp | 54 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 D | PageInfoGenerator.java | 20 import com.ohos.hapsigntool.codesigning.elf.ElfFile; 21 import com.ohos.hapsigntool.codesigning.elf.ElfProgramHeader; 160 * abc or elf
|
H A D | CodeSigning.java | 25 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 D | ebpf_splitter.h | 21 #include <elf.h>
|
H A D | ebpf_data_reader.h | 21 #include <elf.h>
|
H A D | ebpf_data_structure.h | 20 #include <elf.h>
|
/developtools/integration_verification/tools/rom_ram_analyzer/standard/ |
H A D | ram_analyzer.py | 96 # 从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 D | offline_symbolization_filter.h | 22 #include <elf.h>
|
/developtools/profiler/hiebpf/include/ |
H A D | elf_file.h | 28 #include <elf.h>
|