Searched refs:nthdr (Results 1 – 2 of 2) sorted by relevance
314 auto nthdr = cast(IMAGE_NT_HEADERS*)(cast(void*)doshdr + doshdr.e_lfanew); in findImageSection() local315 …auto sections = cast(IMAGE_SECTION_HEADER*)(cast(void*)nthdr + IMAGE_NT_HEADERS.sizeof + nthdr.Fil… in findImageSection()316 for (ushort i = 0; i < nthdr.FileHeader.NumberOfSections; i++) in findImageSection()
680 auto nthdr = getNTHeader(handle); in version() local681 auto import_entry = nthdr.OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_IMPORT]; in version()818 if (auto nthdr = getNTHeader(handle)) in getSectionHeader() local820 const void* opthdr = &nthdr.OptionalHeader; in getSectionHeader()821 const offset = nthdr.FileHeader.SizeOfOptionalHeader; in getSectionHeader()822 const length = nthdr.FileHeader.NumberOfSections; in getSectionHeader()