使用MapAndLoad来看可执行文件的段结构
来源:互联网 发布:兄弟连php pdf 编辑:程序博客网 时间:2024/05/24 04:12
最近研究文件的装载与执行原理, 正好看到这个函数可以加载可执行文件并且使用PLOADED_IMAGE结构来保存内容.\
MapAndLoad
The MapAndLoad function maps an image and preloads data from the mapped file.
最近研究文件的装载与执行原理, 正好看到这个函数可以加载可执行文件并且使用PLOADED_IMAGE结构来保存内容.\
MapAndLoad
The MapAndLoad function maps an image and preloads data from the mapped file.
BOOL MapAndLoad( PSTR ImageName, PSTR DllPath, PLOADED_IMAGE LoadedImage, BOOL DotDll, BOOL ReadOnly);
Parameters
- ImageName
- [in] Pointer to a null-terminated string that specifies the name of the image that is loaded.
- DllPath
- [in] Pointer to a null-terminated string that specifies the path used to locate the image if the name provided cannot be found. If NULL is used, then the search path rules set forth in theSearchPath function apply.
- LoadedImage
- [out] Pointer to a LOADED_IMAGE structure that receives information about the image after it is loaded.
- DotDll
- [in] Default extension to be used if the image name does not contain a file extension. If the value is TRUE, a .DLL extension is used. If the value is FALSE, then an .EXE extension is used.
- ReadOnly
- [in] Access mode. If this value is TRUE, the file is mapped for read-access only. If the value is FALSE, the file is mapped for read and write access.
Return Values
If the function succeeds, the return value is TRUE.
If the function fails, the return value is FALSE. To retrieve extended error information, callGetLastError.
- 使用MapAndLoad来看可执行文件的段结构
- 可执行文件的段
- 可执行文件的结构和加载
- 可执行文件的结构和加载
- 存储段的结构
- 段寄存器的结构
- C语言结构体中位域(位段)的使用
- 共用体和结构体位段的使用
- 共用体和结构体位段的使用
- 可执行文件中和动态链接有关的段section
- 可执行文件、代码段和数据段
- 站在使用的角度来看ContentProvider
- 结构体的定义和使用和位段的使用
- 囫囵C语言(一):可执行文件的结构和加载
- (转)C语言:可执行文件的结构和加载
- 使用Myeclipse生成可执行文件的方法
- 大家来看看我写的这段程序,关于socket传输文件的问题
- 段描述符与段选择子的结构
- hibernate配置文件hibernate.cfg.xml
- __attribute__ ((cleanup(xxx))) -- gcc extension
- 存储过程(一)-----格式框架
- svn 命令
- svn 命令及其示例
- 使用MapAndLoad来看可执行文件的段结构
- Plugin file and functions
- ural 1020 Rope
- linux修改计算机名
- 在Spring DM中使用Annotations发布和引用服务
- SVN服务器几种备份策略----------重点svnsync备份
- 2011年年终总结
- php编辑器
- .Net Framework 数据提供程序错误