直接给内存地址赋值

1 int *p;
2 p=(int*)0xbc010290;
3 *p=3;

其他数据类型方法类似

原文地址:https://www.cnblogs.com/Romi/p/2688949.html