Home
last modified time | relevance | path

Searched refs:elfShdr (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
H A Ddfx_elf_parser.cpp228 ElfShdr elfShdr; in ParseSectionHeaders() local
229 elfShdr.name = static_cast<uint32_t>(shdr.sh_name); in ParseSectionHeaders()
230 elfShdr.type = static_cast<uint32_t>(shdr.sh_type); in ParseSectionHeaders()
231 elfShdr.flags = static_cast<uint64_t>(shdr.sh_flags); in ParseSectionHeaders()
232 elfShdr.addr = static_cast<uint64_t>(shdr.sh_addr); in ParseSectionHeaders()
233 elfShdr.offset = static_cast<uint64_t>(shdr.sh_offset); in ParseSectionHeaders()
234 elfShdr.size = static_cast<uint64_t>(shdr.sh_size); in ParseSectionHeaders()
235 elfShdr.link = static_cast<uint32_t>(shdr.sh_link); in ParseSectionHeaders()
236 elfShdr.info = static_cast<uint32_t>(shdr.sh_info); in ParseSectionHeaders()
238 elfShdr.entSize = static_cast<uint64_t>(shdr.sh_entsize); in ParseSectionHeaders()
[all …]
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/unwind/
H A Delf_imitate.cpp633 ElfShdr elfShdr; in ParseSectionHeaders() local
634 elfShdr.name = static_cast<uint32_t>(secIndex); in ParseSectionHeaders()
636 elfShdr.type = static_cast<uint32_t>(SHT_SYMTAB); in ParseSectionHeaders()
641 elfShdr.addr = secAddr; in ParseSectionHeaders()
642 elfShdr.offset = secOffset; in ParseSectionHeaders()
643 elfShdr.size = secSize; in ParseSectionHeaders()
644 elfShdr.link = static_cast<uint32_t>(secLink); in ParseSectionHeaders()
645 elfShdr.info = static_cast<uint32_t>(secInfo); in ParseSectionHeaders()
646 elfShdr.addrAlign = secAddrAlign; in ParseSectionHeaders()
647 elfShdr.entSize = secEntSize; in ParseSectionHeaders()
[all …]