| View previous topic :: View next topic |
| Author |
Message |
n1vX Advanced Cheater
Reputation: 0
Joined: 27 May 2007 Posts: 61
|
Posted: Mon Feb 22, 2016 7:23 pm Post subject: Find Memory Region Address depends on its size |
|
|
Hello,
Can it possible to make a LUA script to find Memory Region Address depends on its size.
Memory Region have dynamic address but the size is unique.
| Description: |
|
| Filesize: |
55.46 KB |
| Viewed: |
3945 Time(s) |

|
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Mon Feb 22, 2016 8:04 pm Post subject: |
|
|
I'm assuming it's not a named module? Not sure how to query memory regions.
| Code: | local t = enumModules()
for i=1,#t do
local n = t[i].Name
local a = getAddress(n)
local s = getModuleSize(n)
print(string.format("%08X - %X - %s\n",a,s,n))
end |
|
|
| Back to top |
|
 |
n1vX Advanced Cheater
Reputation: 0
Joined: 27 May 2007 Posts: 61
|
Posted: Tue Feb 23, 2016 11:18 pm Post subject: |
|
|
| Zanzer wrote: | I'm assuming it's not a named module? Not sure how to query memory regions.
| Code: | local t = enumModules()
for i=1,#t do
local n = t[i].Name
local a = getAddress(n)
local s = getModuleSize(n)
print(string.format("%08X - %X - %s\n",a,s,n))
end |
|
It will only show module with its memory region size.
I want read a specific address of one module which contain memory region size (80A000).
Can someone help me ?
|
|
| Back to top |
|
 |
|