Home | History | Annotate | Download | only in win

Lines Matching refs:pe

200 // Tests that we are able to enumerate stuff from a PE file, and that
206 PEImage pe(module);
208 EXPECT_TRUE(pe.VerifyMagic());
210 DWORD os = pe.GetNTHeaders()->OptionalHeader.MajorOperatingSystemVersion;
211 os = os * 10 + pe.GetNTHeaders()->OptionalHeader.MinorOperatingSystemVersion;
217 pe.EnumSections(SectionsCallback, &count);
221 pe.EnumImportChunks(ImportChunksCallback, &count);
225 pe.EnumDelayImportChunks(DelayImportChunksCallback, &count);
229 pe.EnumExports(ExportsCallback, &count);
234 pe.EnumAllImports(ImportsCallback, &count);
239 pe.EnumAllDelayImports(ImportsCallback, &count);
244 pe.EnumRelocs(RelocsCallback, &count);
256 PEImage pe(module);
259 EXPECT_TRUE(pe.GetProcOrdinal("RegEnumKeyExW", &ordinal));
261 FARPROC address1 = pe.GetProcAddress("RegEnumKeyExW");
262 FARPROC address2 = pe.GetProcAddress(reinterpret_cast<char*>(ordinal));