Lines Matching refs:COFFHeader
98 if (Offset < COFFHeader->PointerToSymbolTable
99 || Offset >= COFFHeader->PointerToSymbolTable
100 + (COFFHeader->NumberOfSymbols * sizeof(coff_symbol)))
103 assert((Offset - COFFHeader->PointerToSymbolTable) % sizeof(coff_symbol)
116 || Addr >= (SectionTable + COFFHeader->NumberOfSections))
400 SymbolTable, *Data, base() + COFFHeader->PointerToSymbolTable,
401 COFFHeader->NumberOfSymbols * sizeof(coff_symbol)))
408 base() + COFFHeader->PointerToSymbolTable +
409 COFFHeader->NumberOfSymbols * sizeof(coff_symbol);
516 : ObjectFile(Binary::ID_COFF, std::move(Object)), COFFHeader(nullptr),
548 if ((EC = getObject(COFFHeader, *Data, base() + CurPtr)))
574 CurPtr += COFFHeader->SizeOfOptionalHeader;
577 if (COFFHeader->isImportLibrary())
581 COFFHeader->NumberOfSections * sizeof(coff_section))))
585 if (COFFHeader->PointerToSymbolTable != 0)
659 int NumSections = COFFHeader->isImportLibrary()
660 ? 0 : COFFHeader->NumberOfSections;
670 switch(COFFHeader->Machine) {
683 switch(COFFHeader->Machine) {
703 Res = COFFHeader;
738 else if (Index > 0 && Index <= COFFHeader->NumberOfSections)
759 if (Index < COFFHeader->NumberOfSymbols)
795 if (Offset < COFFHeader->PointerToSymbolTable
796 || Offset >= COFFHeader->PointerToSymbolTable
797 + (COFFHeader->NumberOfSymbols * sizeof(coff_symbol)))
800 assert((Offset - COFFHeader->PointerToSymbolTable) % sizeof(coff_symbol)
910 switch (COFFHeader->Machine) {