memory address list?

04/19/2010 14:38 Frenkle#1
Hi.

I have a script that can read a value from memory address. Script works fine.

Problem=> Memory address is constantly changing, but If I can scan all memory addresses used by my program for value between 500 & 999, & then for a value that is constantly decreasing. Eventually there will be only 1 address left.

How can I get the list of all addresses used by an executable?

[Only registered and activated users can see links. Click Here To Register...]

PHP Code:
#include <NomadMemory.au3>

    
$iv_Pid      ProcessExists "firefox.exe" )
    
$MemoryOpen _MemoryOpen($iv_Pid)
    
    while 
1        
        $Mem_Read     
_MemoryRead('0x08D19A0C'$MemoryOpen)
        
        If 
$Mem_Read == 1 then ExitLoop
        
        ConsoleWrite
($Mem_Read & @CRLF
        
Sleep(1000)
    
WEnd

_MemoryClose
($MemoryOpen
04/20/2010 16:11 iDunnoi#2
You should download a programm named "Cheat Engine". With this prog you can sinply scan for memory adresses, just google it
04/20/2010 17:02 .nAno#3
i guess there are UDFs (includeable Scripts, like NomadMemory.au3) for doing this ;)
try to find some by using google...
I think these UDFs will call a function from a .dll, so you might get "Cheat Engine" and simply call the function on your own if you are not able to find a Script...

Besides you could try to find the so called "Pointer", it's Addresse will nerver change, you could find a Tutorial right [Only registered and activated users can see links. Click Here To Register...] ;)