Index: COFFObjectFile.cpp =================================================================== --- COFFObjectFile.cpp +++ COFFObjectFile.cpp @@ -716,9 +716,10 @@ } if ((EC = getObject(DataDirectory, Data, DataDirAddr, DataDirSize))) return; - CurPtr += COFFHeader->SizeOfOptionalHeader; } + CurPtr += COFFHeader->SizeOfOptionalHeader; + if ((EC = getObject(SectionTable, Data, base() + CurPtr, (uint64_t)getNumberOfSections() * sizeof(coff_section)))) return;