[C++] Memory Retrieval(内存检索)
2024-09-26 21:04:52
Traverse the memory by (char*) , because every time it will increase by 1byte
when i want get the int value , i need convert (char*) to (int*) , after that ,
it will get the value from continuous 4 bytes .
void *p = (void*)0x00C5FBF8;
void *q = (void*)0x00C5FFFF; for (char* c = (char*)p; c != q ; c++)
{
int k = *((int*)c);
printf("%d\n", k);
}
最新文章
- 如何根据执行计划,判断Mysql语句是否走索引
- Microsoft.Web.Redis.RedisSessionStateProvider
- 基于 REST 的 Web 服务:基础
- IOS- 堆和栈 详解
- eclipse code templates 设置(eclipse注释模版配置)
- [Everyday Mathematics]20150221
- FusionCharts Free 注意事项
- BZOJ_1609_[Usaco2008_Feb]_Eating_Together_麻烦的聚餐_(动态规划,LIS)
- wiki 的捐款呼吁有感而发
- String类扩展
- 深入理解JavaWeb技术内幕之中文编码
- RHEL 6.3使用CentOS yum源 (redhat yum安装失败)
- IWebBrowser隐藏滚动条
- 移动端https抓包那些事--初级篇
- mysql必知必会
- 【USACO Feb 2014】Cow Decathlon
- arcEngine开发之查询的相关接口
- http跳转htts的htaccess文件设置
- 解题(DirGraCheckPath--有向图的遍历(深度搜索))
- mysql 热备份