文件名称:peformatvisefile
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 75kb
- 下载次数:
- 0次
- 提 供 者:
- r**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
pe文件格式.vc.net
BOOL CpefileDlg::IsPEFile(LPVOID ImageBase)
{
PIMAGE_DOS_HEADER pDH=NULL
PIMAGE_NT_HEADERS pNtH=NULL
if(!ImageBase)
return FALSE
pDH=(PIMAGE_DOS_HEADER)ImageBase
if(pDH->e_magic!=IMAGE_DOS_SIGNATURE)
return FALSE
pNtH=(PIMAGE_NT_HEADERS32)((DWORD)pDH+pDH->e_lfanew)
if (pNtH->Signature != IMAGE_NT_SIGNATURE )
return FALSE
return TRUE
}-pe file formats. Vc.net BOOL CpefileDlg : : IsPEFile (LPVOID ImageBase) (PIMAGE_DOS_HEADER bacteria PIMAGE_NT_HEADERS pNtH = NULL = NULL if (! ImageBase) return FALSE mapping = (PIMAGE_DOS_HEADER) ImageBase if (Endo-gt; e_magic! = IMAGE_DOS_SIGNATURE) return FALSE pNtH = (PIMAGE_NT_HEADERS32) ((DWORD) recombinant plasmid-gt; e_lfanew) if (pNtH- gt; Signature! = IMAGE_NT_SIGNATURE) return FALSE return TRUE)
BOOL CpefileDlg::IsPEFile(LPVOID ImageBase)
{
PIMAGE_DOS_HEADER pDH=NULL
PIMAGE_NT_HEADERS pNtH=NULL
if(!ImageBase)
return FALSE
pDH=(PIMAGE_DOS_HEADER)ImageBase
if(pDH->e_magic!=IMAGE_DOS_SIGNATURE)
return FALSE
pNtH=(PIMAGE_NT_HEADERS32)((DWORD)pDH+pDH->e_lfanew)
if (pNtH->Signature != IMAGE_NT_SIGNATURE )
return FALSE
return TRUE
}-pe file formats. Vc.net BOOL CpefileDlg : : IsPEFile (LPVOID ImageBase) (PIMAGE_DOS_HEADER bacteria PIMAGE_NT_HEADERS pNtH = NULL = NULL if (! ImageBase) return FALSE mapping = (PIMAGE_DOS_HEADER) ImageBase if (Endo-gt; e_magic! = IMAGE_DOS_SIGNATURE) return FALSE pNtH = (PIMAGE_NT_HEADERS32) ((DWORD) recombinant plasmid-gt; e_lfanew) if (pNtH- gt; Signature! = IMAGE_NT_SIGNATURE) return FALSE return TRUE)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
pefile
......\pefile
......\......\CDataDir.cpp
......\......\CDataDir.h
......\......\Export.cpp
......\......\Export.h
......\......\Import.cpp
......\......\Import.h
......\......\pe.cpp
......\......\pe.h
......\......\pefile.aps
......\......\pefile.cpp
......\......\pefile.h
......\......\pefile.rc
......\......\pefile.vcproj
......\......\pefileDlg.cpp
......\......\pefileDlg.h
......\......\ReadMe.txt
......\......\res
......\......\...\pefile.manifest
......\......\...\pefile.rc2
......\......\Resource.h
......\......\SecDlg.cpp
......\......\SecDlg.h
......\......\stdafx.cpp
......\......\stdafx.h
......\pefile.ncb
......\pefile.sln
......\pefile
......\......\CDataDir.cpp
......\......\CDataDir.h
......\......\Export.cpp
......\......\Export.h
......\......\Import.cpp
......\......\Import.h
......\......\pe.cpp
......\......\pe.h
......\......\pefile.aps
......\......\pefile.cpp
......\......\pefile.h
......\......\pefile.rc
......\......\pefile.vcproj
......\......\pefileDlg.cpp
......\......\pefileDlg.h
......\......\ReadMe.txt
......\......\res
......\......\...\pefile.manifest
......\......\...\pefile.rc2
......\......\Resource.h
......\......\SecDlg.cpp
......\......\SecDlg.h
......\......\stdafx.cpp
......\......\stdafx.h
......\pefile.ncb
......\pefile.sln