如何以编程方式找到内存地址? [英] How do I find a memory address programmatically...?

查看:84
本文介绍了如何以编程方式找到内存地址?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个内存地址的问题。
我知道如果软件被关闭并重新打开,内存地址总是会改变。



如何完成我的程序总是找到正确的内存地址?
我想读一个确切的值这是我的计划。



请帮助一个例子(源代码)。

解决方案

您可以读取另一个进程内存为这里描述



但首先你应该找到一些指向地址的指针,永远不要改变地址。您可以使用欺诈引擎(指针扫描)或 OllyDbg (读/写断点和分析反汇编的代码)来做到这一点。



然后,您可以从此指针中读取您需要的实际地址值。


I have a problem with a memory address. I know that the memory addresses always changes if the software is closed and re-opened.

How do I accomplish that my program always find the right memory address? I wanna read an exact value this is my plan.

Please help with an example (source code).

解决方案

You can read another process memory as described here.

But first you should find some pointer to address of your value with never changing address. You can use something like Cheat Engine (pointer scan) or OllyDbg (read/write breakpoints and analyzing disassembled code) to do this.

Then you can read actual address of value that you needed from this pointer.

这篇关于如何以编程方式找到内存地址?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆