Home | History | Annotate | Download | only in win

Lines Matching refs:PEImage

5 // This file implements PEImage, a generic class to manipulate PE files.
24 PEImage::EnumImportsFunction callback;
48 bool ProcessImportChunk(const PEImage &image, LPCSTR module,
59 bool ProcessDelayImportChunk(const PEImage &image,
72 void PEImage::set_module(HMODULE module) {
76 PIMAGE_DOS_HEADER PEImage::GetDosHeader() const {
80 PIMAGE_NT_HEADERS PEImage::GetNTHeaders() const {
87 PIMAGE_SECTION_HEADER PEImage::GetSectionHeader(UINT section) const {
97 WORD PEImage::GetNumSections() const {
101 DWORD PEImage::GetImageDirectoryEntrySize(UINT directory) const {
107 PVOID PEImage::GetImageDirectoryEntryAddr(UINT directory) const {
114 PIMAGE_SECTION_HEADER PEImage::GetImageSectionFromAddr(PVOID address) const {
121 PEImage::RVAToAddr(section->VirtualAddress));
132 PIMAGE_SECTION_HEADER PEImage::GetImageSectionHeaderByName(
152 PDWORD PEImage::GetExportEntry(LPCSTR name) const {
168 FARPROC PEImage::GetProcAddress(LPCSTR function_name) const {
190 bool PEImage::GetProcOrdinal(LPCSTR function_name, WORD *ordinal) const {
240 bool PEImage::EnumSections(EnumSectionsFunction callback, PVOID cookie) const {
256 bool PEImage::EnumExports(EnumExportsFunction callback, PVOID cookie) const {
310 bool PEImage::EnumRelocs(EnumRelocsFunction callback, PVOID cookie) const {
339 bool PEImage::EnumImportChunks(EnumImportChunksFunction callback,
361 bool PEImage::EnumOneImportChunk(EnumImportsFunction callback,
390 bool PEImage::EnumAllImports(EnumImportsFunction callback, PVOID cookie) const {
395 bool PEImage::EnumDelayImportChunks(EnumDelayImportChunksFunction callback,
450 bool PEImage::EnumOneDelayImportChunk(EnumImportsFunction callback,
495 PEImage::EnumAllDelayImports(EnumImportsFunction callback,
501 bool PEImage::VerifyMagic() const {
522 bool PEImage::ImageRVAToOnDiskOffset(DWORD rva, DWORD *on_disk_offset) const {
527 bool PEImage::ImageAddrToOnDiskOffset(LPVOID address,
542 reinterpret_cast<DWORD>(PEImage::RVAToAddr(
550 PVOID PEImage::RVAToAddr(DWORD rva) const {
561 PVOID in_memory = PEImage::RVAToAddr(rva);
567 return PEImage::RVAToAddr(disk_offset);