Lines Matching defs:COFFParser
36 struct COFFParser { struct
37 COFFParser(COFFYAML::Object &Obj, yaml::ErrorHandler EH) in COFFParser() argument
44 bool useBigObj() const { in useBigObj()
49 bool isPE() const { return Obj.OptionalHeader.has_value(); } in isPE()
50 bool is64Bit() const { return COFF::is64Bit(Obj.Header.Machine); } in is64Bit()
52 uint32_t getFileAlignment() const { in getFileAlignment()
56 unsigned getHeaderSize() const { in getHeaderSize()
60 unsigned getSymbolSize() const { in getSymbolSize()
64 bool parseSections() { in parseSections()
99 bool parseSymbols() { in parseSymbols()
119 bool parse() { in parse()
127 unsigned getStringIndex(StringRef Str) { in getStringIndex()
139 COFFYAML::Object &Obj;
141 codeview::StringsAndChecksums StringsAndChecksums;
142 BumpPtrAllocator Allocator;
143 StringMap<unsigned> StringTableMap;
144 std::string StringTable;
145 uint32_t SectionTableStart;
146 uint32_t SectionTableSize;
148 yaml::ErrorHandler ErrHandler;