Posted: Wed Mar 11, 2015 7:42 pm Post subject: Re-scanning a pointerscan with a string as the target
I've conducted a pointerscan on a certain address (which is the location of a string), and now I'd like to filter out values that are no longer point to that string. However, there are multiple instances of the string (11). How can I rescan with a string as the value to find?
I have a couple ideas, but I'd like your input on which I should use:
1. Convert the first 4 (or 8 if I use a double) bytes to an integer and search for that value, as it's probably fairly unique. However, this does leave the possibility of "fragmented" strings that have just been partially overwritten and therefore deallocated.
2. Use lua and have CE pass all the values to a function. I would prefer to go with this method, but I couldn't find any docs on how it works. Could anybody inform me as to how to use this? I am experienced in lua.
Or if you have any other ideas, just let me know!
Thanks! _________________
Joined: 09 May 2003 Posts: 25900 Location: The netherlands
Posted: Wed Mar 11, 2015 7:55 pm Post subject:
both are an option (but don't use double, rounding is an issue)
1: If you use the first 4 bytes of the string you will be left with pointers that currently point to a valid memory location where the first 4 bytes match that string.
Sure, you can get some garbage, but a few restarts later and that's cleared up
2:
first execute this lua function:
Code:
function yourfunction(base, offsets, target)
return readString(target, 6)=="blabla"
end
and then in the field "Lua filter" in rescan fill in "yourfunction" _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum