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?
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)