reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
361 if (S.Header.Characteristics & COFF::IMAGE_SCN_CNT_CODE) 362 SizeOfCode += S.Header.SizeOfRawData; 363 if (S.Header.Characteristics & COFF::IMAGE_SCN_CNT_INITIALIZED_DATA) 364 SizeOfInitializedData += S.Header.SizeOfRawData; 365 if (S.Header.Characteristics & COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA) 366 SizeOfUninitializedData += S.Header.SizeOfRawData; 367 if (S.Name.equals(".text")) 368 Header->BaseOfCode = S.Header.VirtualAddress; // RVA 369 else if (S.Name.equals(".data")) 370 BaseOfData = S.Header.VirtualAddress; // RVA 371 if (S.Header.VirtualAddress) 372 SizeOfImage += alignTo(S.Header.VirtualSize, Header->SectionAlignment);