关于PE装载节区时候Virtual Size和Size Of Raw Data的关系猜想
2017-12-05 22:16
971 查看
PE装载器首先申请一片内存空间,内存大小为节区VirtualSize按SectionAlignment对齐后的大小,然后判断SizeOfRawData是否大于已经申请的内存空间,如果SizeOfRawData大于申请的内存空间,则从PE文件节区的PointToRawData开始读取数据,当申请的内存空间存满即止。如果SizeOfRawData小于申请的内存空间则从PE文件节区的PointToRawData开始读取长度为SizeOfRawData的数据填入申请的内存空间,并将剩余空间用0填充。
相关文章推荐
- vs2005 warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
- 关于http客户端常见错误"警告:Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
- How To Get The Size of RAW Devices On Linux
- nRF51822 自定义UUID,ble_advdata_set的时候 NRF_ERROR_DATA_SIZE 错误的解决
- vs2005 warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
- 关于android编程遇到java.lang.OutOfMemoryError: bitmap size exceeds VM budget此类问题的原因及解决办法
- 关于http客户端常见错误"警告:Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is rec"
- InnoDB: auto-extending data file ./ibdata1 is of a different size 640 pages (rounded down to MB) than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero) pages!
- PE文件关于虚拟相对地址RVA与基于文件的偏移地址关系
- The size of base data type in Ubuntu-AMD64
- 关于vml group的大小和coordsize的关系
- 关于Size of the Database Buffer Cache与Streams Pool
- 分答项目_知识点:php://input $POST $HTTP_RAW_POST_DATA三者之间的关系
- mysql5.7.12/13在安装新实例时报错:InnoDB: auto-extending data file ./ibdata1 is of a different size 640 pages (rounded down to MB) than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero
- 关于innodb_flush_log_at_trx_commit、innodb_flush_method、innodb_log_block_size和fsync()、O_DIRECT、iops、云盘的关系与总结
- AVPicture结构中data和linesize关系
- PHP的"php://input"和$HTTP_RAW_POST_DATA 和$_POST的关系
- php 上传文件|图片 时候报错 Allowed memory size of 20971520
- 关于Jmeter测试数据库压力的时候抛出内存溢出outofmemory的解决方法
- maximum data file size of Oracle Databa