获取当前程序在存储器中的起始位置
# include iostream # include windows.hinta; int main () {a=0x32; hoduleh=getmodulehandle(null; int* pa=a; std:cout '程序开始位置:“h std:endl; std:cout 'a的位置:“pa std:endl; //每次运行程序时打印相同的偏移地址std:cout '的差异。' (int ) pa-(int ) h std:endl; }
获取当前程序在存储器中的起始位置
# include iostream # include windows.hinta; int main () {a=0x32; hoduleh=getmodulehandle(null; int* pa=a; std:cout '程序开始位置:“h std:endl; std:cout 'a的位置:“pa std:endl; //每次运行程序时打印相同的偏移地址std:cout '的差异。' (int ) pa-(int ) h std:endl; }
版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。