Searched refs:ElfParser (Results 1 – 4 of 4) sorted by relevance
44 bool ElfParser::Read(uintptr_t pos, void *buf, size_t size) in Read()52 size_t ElfParser::MmapSize() in MmapSize()57 uint64_t ElfParser::GetElfSize() in GetElfSize()63 bool ElfParser::ParseAllHeaders() in ParseAllHeaders()88 bool ElfParser::ParseElfHeaders(const EhdrType& ehdr) in ParseElfHeaders()113 bool ElfParser::ParseProgramHeaders(const EhdrType& ehdr) in ParseProgramHeaders()172 bool ElfParser::ParseSectionHeaders(const EhdrType& ehdr) in ParseSectionHeaders()246 bool ElfParser::ParseElfDynamic() in ParseElfDynamic()273 bool ElfParser::ParseElfName() in ParseElfName()291 bool ElfParser::IsFunc(const SymType sym) in IsFunc()[all …]
268 elfParse_ = std::unique_ptr<ElfParser>(new ElfParser32(mmap_)); in InitHeaders()270 elfParse_ = std::unique_ptr<ElfParser>(new ElfParser64(mmap_)); in InitHeaders()
43 class ElfParser {45 ElfParser(const std::shared_ptr<DfxMmap>& mmap) : mmap_(mmap) {} in ElfParser() function46 virtual ~ElfParser() = default;116 class ElfParser32 : public ElfParser {118 ElfParser32(const std::shared_ptr<DfxMmap>& mmap) : ElfParser(mmap) {} in ElfParser32()127 class ElfParser64 : public ElfParser {129 ElfParser64(const std::shared_ptr<DfxMmap>& mmap) : ElfParser(mmap) {} in ElfParser64()
108 std::unique_ptr<ElfParser> elfParse_ = nullptr;