Home
last modified time | relevance | path

Searched refs:secName (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
H A Ddfx_elf_parser.cpp205 std::string secName; in ParseSectionHeaders() local
206 if (!GetSectionNameByIndex(secName, shdr.sh_name)) { in ParseSectionHeaders()
211 if (shdr.sh_size != 0 && secName == GNU_DEBUGDATA) { in ParseSectionHeaders()
222 shdrInfoPairs_.emplace(std::make_pair(i, secName), shdrInfo); in ParseSectionHeaders()
442 bool ElfParser::GetSectionInfo(ShdrInfo& shdr, const std::string& secName) in GetSectionInfo() argument
446 if (tmpPair.second == secName) { in GetSectionInfo()
454 bool ElfParser::GetSectionData(unsigned char *buf, uint64_t size, std::string secName) in GetSectionData() argument
457 if (GetSectionInfo(shdr, secName)) { in GetSectionData()
462 LOGE("Failed to get data from secName %s", secName.c_str()); in GetSectionData()
H A Ddfx_elf.cpp526 bool DfxElf::GetSectionInfo(ShdrInfo& shdr, const std::string secName) in GetSectionInfo() argument
531 return elfParse_->GetSectionInfo(shdr, secName); in GetSectionInfo()
534 bool DfxElf::GetSectionData(unsigned char *buf, uint64_t size, std::string secName) in GetSectionData() argument
539 return elfParse_->GetSectionData(buf, size, secName); in GetSectionData()
842 bool DfxElf::FindSection(struct dl_phdr_info *info, const std::string secName, ShdrInfo& shdr) in FindSection() argument
857 return elf->GetSectionInfo(shdr, secName); in FindSection()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/lumeassetcompiler/src/
H A Dmain.cpp518 std::string secName = "rofs"; local
625secName = obj32Name = obj64Name = o32Name = o64Name = x32Name = x64Name = macName = argv[baseArg +…
654 WriteObj(obj32Name, secName, sizeOfData, data.get(), false);
657 WriteObj(obj64Name, secName, sizeOfData, data.get(), true);
673 WriteElf(o32, EM_ARM, o32Name, secName, sizeOfData, data.get());
676 WriteElf(o64, EM_AARCH64, o64Name, secName, sizeOfData, data.get());
679 WriteElf(o32, EM_386, x32Name, secName, sizeOfData, data.get());
682 WriteElf(o64, EM_X86_64, x64Name, secName, sizeOfData, data.get());
687 WriteMacho(macName, secName, sizeOfData, data.get());
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/
H A Ddfx_elf.h73 bool GetSectionInfo(ShdrInfo& shdr, const std::string secName);
74 bool GetSectionData(unsigned char *buf, uint64_t size, std::string secName);
89 static bool FindSection(struct dl_phdr_info *info, const std::string secName, ShdrInfo& shdr);
H A Ddfx_elf_parser.h59 virtual bool GetSectionInfo(ShdrInfo& shdr, const std::string& secName);
60 virtual bool GetSectionData(unsigned char *buf, uint64_t size, std::string secName);
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/unwind/
H A Delf_imitate.cpp616 std::string secName = strVec[0]; in ParseSectionHeaders() local
630 shdrInfoPairs_.emplace(std::make_pair(secIndex, secName), shdrInfo); in ParseSectionHeaders()
648 symShdrs_.emplace(secName, elfShdr); in ParseSectionHeaders()
784 bool ElfImitate::GetSectionInfo(ShdrInfo& shdr, const std::string secName) in GetSectionInfo() argument
788 if (tmpPair.second == secName) { in GetSectionInfo()
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/unwind/include/
H A Delf_imitate.h67 bool GetSectionInfo(ShdrInfo& shdr, const std::string secName);