Lines Matching refs:textSection
228 memset(&textSection, 0, sizeof(textSection)); in emit()
229 strcpy((char*)&textSection.Name, ".text"); in emit()
230 textSection.Misc.VirtualSize = pageAlign(codeSize); in emit()
231 textSection.VirtualAddress = codePage; in emit()
232 textSection.SizeOfRawData = fileAlign(codeSize); in emit()
233 …textSection.PointerToRawData = fileAlign(sizeof(DOSheader) + (AMD64 ? sizeof(COFFheader64) : sizeo… in emit()
234 textSection.PointerToRelocations = 0; in emit()
235 textSection.PointerToLinenumbers = 0; in emit()
236 textSection.NumberOfRelocations = 0; in emit()
237 textSection.NumberOfLinenumbers = 0; in emit()
238 textSection.Characteristics = IMAGE_SCN_CNT_CODE | in emit()
247 exportsSection.PointerToRawData = textSection.PointerToRawData + fileAlign(codeSize); in emit()
310 fwrite(&textSection, 1, sizeof(textSection), file); in emit()
311 fwrite(&exportsSection, 1, sizeof(textSection), file); in emit()
335 fseek(file, textSection.PointerToRawData + location, SEEK_SET); in emit()